blob: 4411b84f9833e3e20eb9d9b5009af8c037484cef [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)f6aba622019-04-30 14:28:15 -040024 <version>0.5.0-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 Santh1f6fd932019-02-27 20:47:17 -050032 <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
33 <spring.version>5.1.5.RELEASE</spring.version>
34 <kotlin.version>1.3.21</kotlin.version>
35 <kotlin.maven.version>1.3.21</kotlin.maven.version>
Muthuramalingam, Brinda Santheda5e9c2019-01-25 20:17:35 -050036 <kotlin.couroutines.version>1.1.1</kotlin.couroutines.version>
Muthuramalingam, Brinda Santhc5da0362019-01-23 11:42:13 -050037 <grpc.version>1.18.0</grpc.version>
Muthuramalingam, Brinda Santh(bs2796)0948a5a2018-12-07 16:37:03 -050038 <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000039 <eelf.version>1.0.0</eelf.version>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -050040 <guava.version>27.0.1-jre</guava.version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000041 <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
42 <h2database.version>1.4.197</h2database.version>
Timoney, Dan (dt5972)6f870c22018-10-25 10:34:51 -040043 <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
Alexis de Talhouët47a0cd92019-01-09 16:57:48 -050044 <mockk.version>1.9</mockk.version>
Steve Siani49552ce2019-07-08 12:33:43 -040045 <velocity.version>1.7</velocity.version>
46 <jinja.version>2.5.1</jinja.version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000047 </properties>
48 <dependencyManagement>
49 <dependencies>
50 <!-- Spring boot -->
51 <dependency>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-dependencies</artifactId>
54 <version>${spring.boot.version}</version>
55 <type>pom</type>
56 <scope>import</scope>
57 </dependency>
58
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000059 <!--Swagger Dependencies -->
60 <dependency>
61 <groupId>io.springfox</groupId>
62 <artifactId>springfox-swagger2</artifactId>
63 <version>${springfox.swagger2.version}</version>
Alexis de Talhouëtc4efe032019-03-28 15:43:40 -040064 <exclusions>
65 <exclusion>
66 <groupId>org.slf4j</groupId>
67 <artifactId>slf4j-api</artifactId>
68 </exclusion>
69 </exclusions>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000070 </dependency>
71 <dependency>
72 <groupId>io.springfox</groupId>
73 <artifactId>springfox-swagger-ui</artifactId>
74 <version>${springfox.swagger2.version}</version>
75 </dependency>
76
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -050077 <!-- Common Utils Dependencies -->
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000078 <dependency>
79 <groupId>org.apache.commons</groupId>
80 <artifactId>commons-lang3</artifactId>
81 <version>3.2.1</version>
82 </dependency>
83 <dependency>
84 <groupId>commons-collections</groupId>
85 <artifactId>commons-collections</artifactId>
86 <version>3.2.2</version>
87 </dependency>
88 <dependency>
89 <groupId>commons-io</groupId>
90 <artifactId>commons-io</artifactId>
91 <version>2.6</version>
92 </dependency>
93 <dependency>
Muthuramalingam, Brinda Santh(bs2796)6cba7f82018-12-04 10:25:44 -050094 <groupId>org.apache.commons</groupId>
95 <artifactId>commons-compress</artifactId>
96 <version>1.15</version>
97 </dependency>
98 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +000099 <groupId>org.apache.velocity</groupId>
100 <artifactId>velocity</artifactId>
Steve Siani49552ce2019-07-08 12:33:43 -0400101 <version>${velocity.version}</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000102 </dependency>
103 <dependency>
104 <groupId>com.google.guava</groupId>
105 <artifactId>guava</artifactId>
106 <version>${guava.version}</version>
107 </dependency>
Steve Siani49552ce2019-07-08 12:33:43 -0400108 <dependency>
109 <groupId>com.hubspot.jinjava</groupId>
110 <artifactId>jinjava</artifactId>
111 <version>${jinja.version}</version>
112 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000113
114 <!-- Kotlin Dependencies -->
115 <dependency>
116 <groupId>org.jetbrains.kotlin</groupId>
117 <artifactId>kotlin-stdlib</artifactId>
118 <version>${kotlin.version}</version>
119 </dependency>
120 <dependency>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500121 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santhc5da0362019-01-23 11:42:13 -0500122 <artifactId>kotlin-stdlib-common</artifactId>
123 <version>${kotlin.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500127 <artifactId>kotlin-scripting-jvm-host</artifactId>
128 <version>${kotlin.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>org.jetbrains.kotlin</groupId>
132 <artifactId>kotlin-compiler-embeddable</artifactId>
133 <version>${kotlin.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.jetbrains.kotlin</groupId>
137 <artifactId>kotlin-script-util</artifactId>
138 <version>${kotlin.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>org.jetbrains.kotlin</groupId>
142 <artifactId>kotlin-script-runtime</artifactId>
143 <version>${kotlin.version}</version>
144 </dependency>
145 <dependency>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500146 <groupId>org.jetbrains.kotlinx</groupId>
147 <artifactId>kotlinx-coroutines-core</artifactId>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500148 <version>${kotlin.couroutines.version}</version>
149 </dependency>
150 <dependency>
Muthuramalingam, Brinda Santh(bs2796)df390dc2018-12-20 11:16:31 -0500151 <groupId>org.jetbrains.kotlinx</groupId>
152 <artifactId>kotlinx-coroutines-reactor</artifactId>
153 <version>${kotlin.couroutines.version}</version>
154 </dependency>
155 <dependency>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500156 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000157 <artifactId>kotlin-reflect</artifactId>
158 <version>${kotlin.version}</version>
159 </dependency>
160 <dependency>
161 <groupId>org.jetbrains.kotlin</groupId>
162 <artifactId>kotlin-stdlib-jdk8</artifactId>
163 <version>${kotlin.version}</version>
164 </dependency>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500165 <dependency>
166 <groupId>org.jetbrains.kotlin</groupId>
167 <artifactId>kotlin-stdlib-jdk7</artifactId>
168 <version>${kotlin.version}</version>
169 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000170
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500171 <!-- GRPC Dependencies -->
172 <dependency>
173 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)a4863f42018-12-01 19:54:07 -0500174 <artifactId>grpc-core</artifactId>
175 <version>${grpc.version}</version>
176 </dependency>
177 <dependency>
178 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500179 <artifactId>grpc-netty</artifactId>
180 <version>${grpc.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>io.grpc</groupId>
184 <artifactId>grpc-protobuf</artifactId>
185 <version>${grpc.version}</version>
186 </dependency>
187 <dependency>
188 <groupId>io.grpc</groupId>
189 <artifactId>grpc-stub</artifactId>
190 <version>${grpc.version}</version>
191 </dependency>
Muthuramalingam, Brinda Santh(bs2796)0948a5a2018-12-07 16:37:03 -0500192 <dependency>
193 <groupId>com.google.protobuf</groupId>
194 <artifactId>protobuf-java-util</artifactId>
195 <version>${protobuff.java.utils.version}</version>
196 </dependency>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500197
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000198
199 <!-- Database -->
200 <dependency>
201 <groupId>com.h2database</groupId>
202 <artifactId>h2</artifactId>
203 <version>${h2database.version}</version>
204 </dependency>
205
206
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000207 <!-- Testing Dependencies -->
208 <dependency>
Alexis de Talhouët47a0cd92019-01-09 16:57:48 -0500209 <groupId>io.mockk</groupId>
210 <artifactId>mockk</artifactId>
211 <version>${mockk.version}</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000212 <scope>test</scope>
213 </dependency>
214 <dependency>
215 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500216 <artifactId>kotlin-test-junit</artifactId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000217 <version>${kotlin.version}</version>
218 <scope>test</scope>
219 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a4863f42018-12-01 19:54:07 -0500220 <dependency>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500221 <groupId>org.jetbrains.kotlinx</groupId>
222 <artifactId>kotlinx-coroutines-test</artifactId>
223 <version>${kotlin.couroutines.version}</version>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
Muthuramalingam, Brinda Santh(bs2796)a4863f42018-12-01 19:54:07 -0500227 <groupId>io.grpc</groupId>
228 <artifactId>grpc-testing</artifactId>
229 <version>${grpc.version}</version>
230 <scope>test</scope>
231 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000232 </dependencies>
233 </dependencyManagement>
234
235 <dependencies>
236 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000237 <groupId>org.apache.commons</groupId>
238 <artifactId>commons-lang3</artifactId>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500239 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000240 <dependency>
241 <groupId>commons-collections</groupId>
242 <artifactId>commons-collections</artifactId>
243 </dependency>
244 <dependency>
245 <groupId>commons-io</groupId>
246 <artifactId>commons-io</artifactId>
247 </dependency>
248 <dependency>
Muthuramalingam, Brinda Santh(bs2796)6cba7f82018-12-04 10:25:44 -0500249 <groupId>org.apache.commons</groupId>
250 <artifactId>commons-compress</artifactId>
251 </dependency>
252 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000253 <groupId>com.jayway.jsonpath</groupId>
254 <artifactId>json-path</artifactId>
Alexis de Talhouëtc4efe032019-03-28 15:43:40 -0400255 <exclusions>
256 <exclusion>
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
259 </exclusion>
260 </exclusions>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000261 </dependency>
Muthuramalingam, Brinda Santh(bs2796)c4dcf1a2018-11-10 11:54:05 -0500262 <dependency>
263 <groupId>com.google.guava</groupId>
264 <artifactId>guava</artifactId>
265 </dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000266 <dependency>
267 <groupId>io.springfox</groupId>
268 <artifactId>springfox-swagger2</artifactId>
Alexis de Talhouëtc4efe032019-03-28 15:43:40 -0400269 <exclusions>
270 <exclusion>
271 <groupId>org.slf4j</groupId>
272 <artifactId>slf4j-api</artifactId>
273 </exclusion>
274 </exclusions>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000275 </dependency>
276 <dependency>
277 <groupId>io.springfox</groupId>
278 <artifactId>springfox-swagger-ui</artifactId>
279 </dependency>
280 <dependency>
281 <groupId>org.jetbrains.kotlin</groupId>
282 <artifactId>kotlin-stdlib</artifactId>
283 </dependency>
284 <dependency>
285 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santha3450eb2019-01-11 11:30:40 -0500286 <artifactId>kotlin-script-util</artifactId>
287 </dependency>
288 <dependency>
289 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000290 <artifactId>kotlin-stdlib-jdk8</artifactId>
291 </dependency>
292 <dependency>
Muthuramalingam, Brinda Santh(bs2796)16841972018-11-24 14:25:26 -0500293 <groupId>org.jetbrains.kotlinx</groupId>
294 <artifactId>kotlinx-coroutines-core</artifactId>
295 </dependency>
296 <dependency>
Muthuramalingam, Brinda Santh(bs2796)df390dc2018-12-20 11:16:31 -0500297 <groupId>org.jetbrains.kotlinx</groupId>
298 <artifactId>kotlinx-coroutines-reactor</artifactId>
299 </dependency>
300 <dependency>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000301 <groupId>com.fasterxml.jackson.module</groupId>
302 <artifactId>jackson-module-kotlin</artifactId>
303 </dependency>
Muthuramalingam, Brinda Santh(bs2796)0948a5a2018-12-07 16:37:03 -0500304 <!-- GRPC Dependencies -->
305 <dependency>
306 <groupId>io.grpc</groupId>
307 <artifactId>grpc-netty</artifactId>
308 </dependency>
309 <dependency>
310 <groupId>io.grpc</groupId>
311 <artifactId>grpc-protobuf</artifactId>
312 </dependency>
313 <dependency>
314 <groupId>io.grpc</groupId>
315 <artifactId>grpc-stub</artifactId>
316 </dependency>
317 <dependency>
318 <groupId>com.google.protobuf</groupId>
319 <artifactId>protobuf-java-util</artifactId>
320 </dependency>
321
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000322 </dependencies>
323
324 <build>
325 <plugins>
326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-source-plugin</artifactId>
329 <version>3.0.1</version>
330 <executions>
331 <execution>
332 <id>attach-sources</id>
333 <goals>
334 <goal>jar</goal>
335 </goals>
336 </execution>
337 </executions>
338 </plugin>
339
340 <plugin>
341 <artifactId>kotlin-maven-plugin</artifactId>
342 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)758fde42018-11-15 08:36:28 -0500343 <version>${kotlin.maven.version}</version>
Muthuramalingam, Brinda Santh(bs2796)052b7bd2018-09-04 20:24:35 +0000344 <executions>
345 <execution>
346 <id>compile</id>
347 <goals>
348 <goal>compile</goal>
349 </goals>
350 <configuration>
351 <sourceDirs>
352 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
353 <sourceDir>${project.basedir}/src/main/java</sourceDir>
354 </sourceDirs>
355 </configuration>
356 </execution>
357 <execution>
358 <id>test-compile</id>
359 <goals>
360 <goal>test-compile</goal>
361 </goals>
362 <configuration>
363 <sourceDirs>
364 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
365 <sourceDir>${project.basedir}/src/test/java</sourceDir>
366 </sourceDirs>
367 </configuration>
368 </execution>
369 </executions>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-compiler-plugin</artifactId>
374 <version>3.5.1</version>
375 <configuration>
376 <source>${maven.compiler.source}</source>
377 <target>${maven.compiler.target}</target>
378 </configuration>
379 <executions>
380 <!-- Replacing default-compile as it is treated specially by maven -->
381 <execution>
382 <id>default-compile</id>
383 <phase>none</phase>
384 </execution>
385 <!-- Replacing default-testCompile as it is treated specially by maven -->
386 <execution>
387 <id>default-testCompile</id>
388 <phase>none</phase>
389 </execution>
390 <execution>
391 <id>java-compile</id>
392 <phase>compile</phase>
393 <goals>
394 <goal>compile</goal>
395 </goals>
396 </execution>
397 <execution>
398 <id>java-test-compile</id>
399 <phase>test-compile</phase>
400 <goals>
401 <goal>testCompile</goal>
402 </goals>
403 </execution>
404 </executions>
405 </plugin>
406 </plugins>
407 </build>
408</project>