blob: 21e0afa744eed7b0a4487fb3f2bc73ca50ec2954 [file] [log] [blame]
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright © 2017-2018 AT&T Intellectual Property.
4 ~
5 ~ Modifications Copyright © 2018 IBM.
6 ~
7 ~ Licensed under the Apache License, Version 2.0 (the "License");
8 ~ you may not use this file except in compliance with the License.
9 ~ You may obtain a copy of the License at
10 ~
11 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~
13 ~ Unless required by applicable law or agreed to in writing, software
14 ~ distributed under the License is distributed on an "AS IS" BASIS,
15 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ~ See the License for the specific language governing permissions and
17 ~ limitations under the License.
18 -->
Timoney, Dan (dt5972)6afa8a42019-03-14 13:55:01 -040019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000020 <modelVersion>4.0.0</modelVersion>
21 <parent>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040022 <groupId>org.onap.ccsdk.cds</groupId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000023 <artifactId>components</artifactId>
Timoney, Dan (dt5972)45bdf842019-08-06 10:19:48 -040024 <version>0.5.1-SNAPSHOT</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000025 </parent>
Alexis de Talhouëtc90edac2019-03-25 13:04:18 -040026 <groupId>org.onap.ccsdk.cds.components</groupId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000027 <artifactId>parent</artifactId>
Alexis de Talhouëtb7fee462019-01-03 16:53:40 -050028 <name>Components Parent</name>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000029 <packaging>pom</packaging>
30 <properties>
Muthuramalingam, Brinda Santhe0f31982019-02-18 15:10:25 -050031 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
Muthuramalingam, Brinda Santhc5da0362019-01-23 11:42:13 -050032 <grpc.version>1.18.0</grpc.version>
Muthuramalingam, Brinda Santh(bs2796)0948a5a2018-12-07 16:37:03 -050033 <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000034 <eelf.version>1.0.0</eelf.version>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -050035 <guava.version>27.0.1-jre</guava.version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000036 <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
37 <h2database.version>1.4.197</h2database.version>
Timoney, Dan (dt5972)6f870c22018-10-25 10:34:51 -040038 <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
Alexis de Talhouët47a0cd92019-01-09 16:57:48 -050039 <mockk.version>1.9</mockk.version>
Steve Siani49552ce2019-07-08 12:33:43 -040040 <velocity.version>1.7</velocity.version>
41 <jinja.version>2.5.1</jinja.version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000042 </properties>
43 <dependencyManagement>
44 <dependencies>
45 <!-- Spring boot -->
46 <dependency>
47 <groupId>org.springframework.boot</groupId>
48 <artifactId>spring-boot-dependencies</artifactId>
49 <version>${spring.boot.version}</version>
50 <type>pom</type>
51 <scope>import</scope>
52 </dependency>
53
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000054 <!--Swagger Dependencies -->
55 <dependency>
56 <groupId>io.springfox</groupId>
57 <artifactId>springfox-swagger2</artifactId>
58 <version>${springfox.swagger2.version}</version>
Alexis de Talhouëtc4efe032019-03-28 15:43:40 -040059 <exclusions>
60 <exclusion>
61 <groupId>org.slf4j</groupId>
62 <artifactId>slf4j-api</artifactId>
63 </exclusion>
64 </exclusions>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000065 </dependency>
66 <dependency>
67 <groupId>io.springfox</groupId>
68 <artifactId>springfox-swagger-ui</artifactId>
69 <version>${springfox.swagger2.version}</version>
70 </dependency>
71
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -050072 <!-- Common Utils Dependencies -->
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000073 <dependency>
74 <groupId>org.apache.commons</groupId>
75 <artifactId>commons-lang3</artifactId>
76 <version>3.2.1</version>
77 </dependency>
78 <dependency>
79 <groupId>commons-collections</groupId>
80 <artifactId>commons-collections</artifactId>
81 <version>3.2.2</version>
82 </dependency>
83 <dependency>
84 <groupId>commons-io</groupId>
85 <artifactId>commons-io</artifactId>
86 <version>2.6</version>
87 </dependency>
88 <dependency>
Muthuramalingam, Brinda Santh(bs2796)6cba7f82018-12-04 10:25:44 -050089 <groupId>org.apache.commons</groupId>
90 <artifactId>commons-compress</artifactId>
91 <version>1.15</version>
92 </dependency>
93 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000094 <groupId>org.apache.velocity</groupId>
95 <artifactId>velocity</artifactId>
Steve Siani49552ce2019-07-08 12:33:43 -040096 <version>${velocity.version}</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000097 </dependency>
98 <dependency>
99 <groupId>com.google.guava</groupId>
100 <artifactId>guava</artifactId>
101 <version>${guava.version}</version>
102 </dependency>
Steve Siani49552ce2019-07-08 12:33:43 -0400103 <dependency>
104 <groupId>com.hubspot.jinjava</groupId>
105 <artifactId>jinjava</artifactId>
106 <version>${jinja.version}</version>
107 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000108
109 <!-- Kotlin Dependencies -->
110 <dependency>
111 <groupId>org.jetbrains.kotlin</groupId>
112 <artifactId>kotlin-stdlib</artifactId>
113 <version>${kotlin.version}</version>
114 </dependency>
115 <dependency>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500116 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santhc5da0362019-01-23 11:42:13 -0500117 <artifactId>kotlin-stdlib-common</artifactId>
118 <version>${kotlin.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500122 <artifactId>kotlin-scripting-jvm-host</artifactId>
123 <version>${kotlin.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>org.jetbrains.kotlin</groupId>
127 <artifactId>kotlin-compiler-embeddable</artifactId>
128 <version>${kotlin.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>org.jetbrains.kotlin</groupId>
132 <artifactId>kotlin-script-util</artifactId>
133 <version>${kotlin.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.jetbrains.kotlin</groupId>
137 <artifactId>kotlin-script-runtime</artifactId>
138 <version>${kotlin.version}</version>
139 </dependency>
140 <dependency>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500141 <groupId>org.jetbrains.kotlinx</groupId>
142 <artifactId>kotlinx-coroutines-core</artifactId>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500143 <version>${kotlin.couroutines.version}</version>
144 </dependency>
145 <dependency>
Muthuramalingam, Brinda Santh(bs2796)df390dc2018-12-20 11:16:31 -0500146 <groupId>org.jetbrains.kotlinx</groupId>
147 <artifactId>kotlinx-coroutines-reactor</artifactId>
148 <version>${kotlin.couroutines.version}</version>
149 </dependency>
150 <dependency>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500151 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000152 <artifactId>kotlin-reflect</artifactId>
153 <version>${kotlin.version}</version>
154 </dependency>
155 <dependency>
156 <groupId>org.jetbrains.kotlin</groupId>
157 <artifactId>kotlin-stdlib-jdk8</artifactId>
158 <version>${kotlin.version}</version>
159 </dependency>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500160 <dependency>
161 <groupId>org.jetbrains.kotlin</groupId>
162 <artifactId>kotlin-stdlib-jdk7</artifactId>
163 <version>${kotlin.version}</version>
164 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000165
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500166 <!-- GRPC Dependencies -->
167 <dependency>
168 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)a4863f42018-12-01 19:54:07 -0500169 <artifactId>grpc-core</artifactId>
170 <version>${grpc.version}</version>
171 </dependency>
172 <dependency>
173 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500174 <artifactId>grpc-netty</artifactId>
175 <version>${grpc.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>io.grpc</groupId>
179 <artifactId>grpc-protobuf</artifactId>
180 <version>${grpc.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>io.grpc</groupId>
184 <artifactId>grpc-stub</artifactId>
185 <version>${grpc.version}</version>
186 </dependency>
Muthuramalingam, Brinda Santh(bs2796)0948a5a2018-12-07 16:37:03 -0500187 <dependency>
188 <groupId>com.google.protobuf</groupId>
189 <artifactId>protobuf-java-util</artifactId>
190 <version>${protobuff.java.utils.version}</version>
191 </dependency>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500192
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000193
194 <!-- Database -->
195 <dependency>
196 <groupId>com.h2database</groupId>
197 <artifactId>h2</artifactId>
198 <version>${h2database.version}</version>
199 </dependency>
200
201
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000202 <!-- Testing Dependencies -->
203 <dependency>
Alexis de Talhouët47a0cd92019-01-09 16:57:48 -0500204 <groupId>io.mockk</groupId>
205 <artifactId>mockk</artifactId>
206 <version>${mockk.version}</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000207 <scope>test</scope>
208 </dependency>
209 <dependency>
210 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500211 <artifactId>kotlin-test-junit</artifactId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000212 <version>${kotlin.version}</version>
213 <scope>test</scope>
214 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a4863f42018-12-01 19:54:07 -0500215 <dependency>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500216 <groupId>org.jetbrains.kotlinx</groupId>
217 <artifactId>kotlinx-coroutines-test</artifactId>
218 <version>${kotlin.couroutines.version}</version>
219 <scope>test</scope>
220 </dependency>
221 <dependency>
Muthuramalingam, Brinda Santh(bs2796)a4863f42018-12-01 19:54:07 -0500222 <groupId>io.grpc</groupId>
223 <artifactId>grpc-testing</artifactId>
224 <version>${grpc.version}</version>
225 <scope>test</scope>
226 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000227 </dependencies>
228 </dependencyManagement>
229
230 <dependencies>
231 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000232 <groupId>org.apache.commons</groupId>
233 <artifactId>commons-lang3</artifactId>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500234 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000235 <dependency>
236 <groupId>commons-collections</groupId>
237 <artifactId>commons-collections</artifactId>
238 </dependency>
239 <dependency>
240 <groupId>commons-io</groupId>
241 <artifactId>commons-io</artifactId>
242 </dependency>
243 <dependency>
Muthuramalingam, Brinda Santh(bs2796)6cba7f82018-12-04 10:25:44 -0500244 <groupId>org.apache.commons</groupId>
245 <artifactId>commons-compress</artifactId>
246 </dependency>
247 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000248 <groupId>com.jayway.jsonpath</groupId>
249 <artifactId>json-path</artifactId>
Alexis de Talhouëtc4efe032019-03-28 15:43:40 -0400250 <exclusions>
251 <exclusion>
252 <groupId>org.slf4j</groupId>
253 <artifactId>slf4j-api</artifactId>
254 </exclusion>
255 </exclusions>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000256 </dependency>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500257 <dependency>
258 <groupId>com.google.guava</groupId>
259 <artifactId>guava</artifactId>
260 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000261 <dependency>
262 <groupId>io.springfox</groupId>
263 <artifactId>springfox-swagger2</artifactId>
Alexis de Talhouëtc4efe032019-03-28 15:43:40 -0400264 <exclusions>
265 <exclusion>
266 <groupId>org.slf4j</groupId>
267 <artifactId>slf4j-api</artifactId>
268 </exclusion>
269 </exclusions>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000270 </dependency>
271 <dependency>
272 <groupId>io.springfox</groupId>
273 <artifactId>springfox-swagger-ui</artifactId>
274 </dependency>
275 <dependency>
276 <groupId>org.jetbrains.kotlin</groupId>
277 <artifactId>kotlin-stdlib</artifactId>
278 </dependency>
279 <dependency>
280 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500281 <artifactId>kotlin-script-util</artifactId>
282 </dependency>
283 <dependency>
284 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000285 <artifactId>kotlin-stdlib-jdk8</artifactId>
286 </dependency>
287 <dependency>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500288 <groupId>org.jetbrains.kotlinx</groupId>
289 <artifactId>kotlinx-coroutines-core</artifactId>
290 </dependency>
291 <dependency>
Muthuramalingam, Brinda Santh(bs2796)df390dc2018-12-20 11:16:31 -0500292 <groupId>org.jetbrains.kotlinx</groupId>
293 <artifactId>kotlinx-coroutines-reactor</artifactId>
294 </dependency>
295 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000296 <groupId>com.fasterxml.jackson.module</groupId>
297 <artifactId>jackson-module-kotlin</artifactId>
298 </dependency>
Muthuramalingam, Brinda Santh(bs2796)0948a5a2018-12-07 16:37:03 -0500299 <!-- GRPC Dependencies -->
300 <dependency>
301 <groupId>io.grpc</groupId>
302 <artifactId>grpc-netty</artifactId>
303 </dependency>
304 <dependency>
305 <groupId>io.grpc</groupId>
306 <artifactId>grpc-protobuf</artifactId>
307 </dependency>
308 <dependency>
309 <groupId>io.grpc</groupId>
310 <artifactId>grpc-stub</artifactId>
311 </dependency>
312 <dependency>
313 <groupId>com.google.protobuf</groupId>
314 <artifactId>protobuf-java-util</artifactId>
315 </dependency>
316
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000317 </dependencies>
318
319 <build>
320 <plugins>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-source-plugin</artifactId>
324 <version>3.0.1</version>
325 <executions>
326 <execution>
327 <id>attach-sources</id>
328 <goals>
329 <goal>jar</goal>
330 </goals>
331 </execution>
332 </executions>
333 </plugin>
334
335 <plugin>
336 <artifactId>kotlin-maven-plugin</artifactId>
337 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)758fde42018-11-15 08:36:28 -0500338 <version>${kotlin.maven.version}</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000339 <executions>
340 <execution>
341 <id>compile</id>
342 <goals>
343 <goal>compile</goal>
344 </goals>
345 <configuration>
346 <sourceDirs>
347 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
348 <sourceDir>${project.basedir}/src/main/java</sourceDir>
349 </sourceDirs>
350 </configuration>
351 </execution>
352 <execution>
353 <id>test-compile</id>
354 <goals>
355 <goal>test-compile</goal>
356 </goals>
357 <configuration>
358 <sourceDirs>
359 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
360 <sourceDir>${project.basedir}/src/test/java</sourceDir>
361 </sourceDirs>
362 </configuration>
363 </execution>
364 </executions>
365 </plugin>
366 <plugin>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-compiler-plugin</artifactId>
369 <version>3.5.1</version>
370 <configuration>
371 <source>${maven.compiler.source}</source>
372 <target>${maven.compiler.target}</target>
373 </configuration>
374 <executions>
375 <!-- Replacing default-compile as it is treated specially by maven -->
376 <execution>
377 <id>default-compile</id>
378 <phase>none</phase>
379 </execution>
380 <!-- Replacing default-testCompile as it is treated specially by maven -->
381 <execution>
382 <id>default-testCompile</id>
383 <phase>none</phase>
384 </execution>
385 <execution>
386 <id>java-compile</id>
387 <phase>compile</phase>
388 <goals>
389 <goal>compile</goal>
390 </goals>
391 </execution>
392 <execution>
393 <id>java-test-compile</id>
394 <phase>test-compile</phase>
395 <goals>
396 <goal>testCompile</goal>
397 </goals>
398 </execution>
399 </executions>
400 </plugin>
401 </plugins>
402 </build>
403</project>