1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright © 2017-2018 AT&T Intellectual Property.
5 ~ Modifications Copyright © 2018 IBM.
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
11 ~ http://www.apache.org/licenses/LICENSE-2.0
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.
19 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.onap.ccsdk.apps</groupId>
24 <artifactId>components</artifactId>
25 <version>0.4.1-SNAPSHOT</version>
27 <groupId>org.onap.ccsdk.apps.components</groupId>
28 <artifactId>parent</artifactId>
29 <name>Components Parent</name>
30 <packaging>pom</packaging>
32 <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
33 <spring.version>5.1.3.RELEASE</spring.version>
34 <kotlin.version>1.3.11</kotlin.version>
35 <kotlin.maven.version>1.3.11</kotlin.maven.version>
36 <kotlin.couroutines.version>1.1.0</kotlin.couroutines.version>
37 <grpc.version>1.18.0</grpc.version>
38 <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
39 <eelf.version>1.0.0</eelf.version>
40 <guava.version>27.0.1-jre</guava.version>
41 <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
42 <h2database.version>1.4.197</h2database.version>
43 <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
44 <mockk.version>1.9</mockk.version>
46 <dependencyManagement>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-dependencies</artifactId>
52 <version>${spring.boot.version}</version>
58 <groupId>com.att.eelf</groupId>
59 <artifactId>eelf-core</artifactId>
60 <version>${eelf.version}</version>
63 <groupId>org.onap.logging-analytics</groupId>
64 <artifactId>logging-slf4j</artifactId>
65 <version>${onap.logger.slf4j}</version>
68 <!--Swagger Dependencies -->
70 <groupId>io.springfox</groupId>
71 <artifactId>springfox-swagger2</artifactId>
72 <version>${springfox.swagger2.version}</version>
75 <groupId>io.springfox</groupId>
76 <artifactId>springfox-swagger-ui</artifactId>
77 <version>${springfox.swagger2.version}</version>
80 <!-- Common Utils Dependencies -->
82 <groupId>org.apache.commons</groupId>
83 <artifactId>commons-lang3</artifactId>
84 <version>3.2.1</version>
87 <groupId>commons-collections</groupId>
88 <artifactId>commons-collections</artifactId>
89 <version>3.2.2</version>
92 <groupId>commons-io</groupId>
93 <artifactId>commons-io</artifactId>
94 <version>2.6</version>
97 <groupId>org.apache.commons</groupId>
98 <artifactId>commons-compress</artifactId>
99 <version>1.15</version>
102 <groupId>org.apache.velocity</groupId>
103 <artifactId>velocity</artifactId>
104 <version>1.7</version>
107 <groupId>com.google.guava</groupId>
108 <artifactId>guava</artifactId>
109 <version>${guava.version}</version>
112 <!-- Kotlin Dependencies -->
114 <groupId>org.jetbrains.kotlin</groupId>
115 <artifactId>kotlin-stdlib</artifactId>
116 <version>${kotlin.version}</version>
119 <groupId>org.jetbrains.kotlin</groupId>
120 <artifactId>kotlin-stdlib-common</artifactId>
121 <version>${kotlin.version}</version>
124 <groupId>org.jetbrains.kotlin</groupId>
125 <artifactId>kotlin-scripting-jvm-host</artifactId>
126 <version>${kotlin.version}</version>
129 <groupId>org.jetbrains.kotlin</groupId>
130 <artifactId>kotlin-compiler-embeddable</artifactId>
131 <version>${kotlin.version}</version>
134 <groupId>org.jetbrains.kotlin</groupId>
135 <artifactId>kotlin-script-util</artifactId>
136 <version>${kotlin.version}</version>
139 <groupId>org.jetbrains.kotlin</groupId>
140 <artifactId>kotlin-script-runtime</artifactId>
141 <version>${kotlin.version}</version>
144 <groupId>org.jetbrains.kotlinx</groupId>
145 <artifactId>kotlinx-coroutines-core</artifactId>
146 <version>${kotlin.couroutines.version}</version>
149 <groupId>org.jetbrains.kotlinx</groupId>
150 <artifactId>kotlinx-coroutines-reactor</artifactId>
151 <version>${kotlin.couroutines.version}</version>
154 <groupId>org.jetbrains.kotlin</groupId>
155 <artifactId>kotlin-reflect</artifactId>
156 <version>${kotlin.version}</version>
159 <groupId>org.jetbrains.kotlin</groupId>
160 <artifactId>kotlin-stdlib-jdk8</artifactId>
161 <version>${kotlin.version}</version>
164 <groupId>org.jetbrains.kotlin</groupId>
165 <artifactId>kotlin-stdlib-jdk7</artifactId>
166 <version>${kotlin.version}</version>
169 <!-- GRPC Dependencies -->
171 <groupId>io.grpc</groupId>
172 <artifactId>grpc-core</artifactId>
173 <version>${grpc.version}</version>
176 <groupId>io.grpc</groupId>
177 <artifactId>grpc-netty</artifactId>
178 <version>${grpc.version}</version>
181 <groupId>io.grpc</groupId>
182 <artifactId>grpc-protobuf</artifactId>
183 <version>${grpc.version}</version>
186 <groupId>io.grpc</groupId>
187 <artifactId>grpc-stub</artifactId>
188 <version>${grpc.version}</version>
191 <groupId>com.google.protobuf</groupId>
192 <artifactId>protobuf-java-util</artifactId>
193 <version>${protobuff.java.utils.version}</version>
199 <groupId>com.h2database</groupId>
200 <artifactId>h2</artifactId>
201 <version>${h2database.version}</version>
205 <!-- Application Components -->
207 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
208 <artifactId>core</artifactId>
209 <version>${project.version}</version>
212 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
213 <artifactId>resource-dict</artifactId>
214 <version>${project.version}</version>
217 <!-- Testing Dependencies -->
219 <groupId>io.mockk</groupId>
220 <artifactId>mockk</artifactId>
221 <version>${mockk.version}</version>
225 <groupId>org.jetbrains.kotlin</groupId>
226 <artifactId>kotlin-test-junit</artifactId>
227 <version>${kotlin.version}</version>
231 <groupId>org.jetbrains.kotlinx</groupId>
232 <artifactId>kotlinx-coroutines-test</artifactId>
233 <version>${kotlin.couroutines.version}</version>
237 <groupId>io.grpc</groupId>
238 <artifactId>grpc-testing</artifactId>
239 <version>${grpc.version}</version>
243 </dependencyManagement>
247 <groupId>com.att.eelf</groupId>
248 <artifactId>eelf-core</artifactId>
251 <groupId>org.onap.logging-analytics</groupId>
252 <artifactId>logging-slf4j</artifactId>
255 <groupId>org.apache.commons</groupId>
256 <artifactId>commons-lang3</artifactId>
259 <groupId>commons-collections</groupId>
260 <artifactId>commons-collections</artifactId>
263 <groupId>commons-io</groupId>
264 <artifactId>commons-io</artifactId>
267 <groupId>org.apache.commons</groupId>
268 <artifactId>commons-compress</artifactId>
271 <groupId>com.jayway.jsonpath</groupId>
272 <artifactId>json-path</artifactId>
275 <groupId>com.google.guava</groupId>
276 <artifactId>guava</artifactId>
279 <groupId>io.springfox</groupId>
280 <artifactId>springfox-swagger2</artifactId>
283 <groupId>io.springfox</groupId>
284 <artifactId>springfox-swagger-ui</artifactId>
287 <groupId>org.jetbrains.kotlin</groupId>
288 <artifactId>kotlin-stdlib</artifactId>
291 <groupId>org.jetbrains.kotlin</groupId>
292 <artifactId>kotlin-script-util</artifactId>
295 <groupId>org.jetbrains.kotlin</groupId>
296 <artifactId>kotlin-stdlib-jdk8</artifactId>
299 <groupId>org.jetbrains.kotlinx</groupId>
300 <artifactId>kotlinx-coroutines-core</artifactId>
303 <groupId>org.jetbrains.kotlinx</groupId>
304 <artifactId>kotlinx-coroutines-reactor</artifactId>
307 <groupId>com.fasterxml.jackson.module</groupId>
308 <artifactId>jackson-module-kotlin</artifactId>
311 <groupId>org.jetbrains.kotlin</groupId>
312 <artifactId>kotlin-compiler-embeddable</artifactId>
315 <groupId>org.jetbrains.kotlin</groupId>
316 <artifactId>kotlin-scripting-jvm-host</artifactId>
317 <!--Use kotlin-compiler-embeddable as koltin-compiler wrap-->
318 <!--guava dependency creating classpath issues at runtime-->
321 <groupId>org.jetbrains.kotlin</groupId>
322 <artifactId>kotlin-compiler</artifactId>
326 <!-- GRPC Dependencies -->
328 <groupId>io.grpc</groupId>
329 <artifactId>grpc-netty</artifactId>
332 <groupId>io.grpc</groupId>
333 <artifactId>grpc-protobuf</artifactId>
336 <groupId>io.grpc</groupId>
337 <artifactId>grpc-stub</artifactId>
340 <groupId>com.google.protobuf</groupId>
341 <artifactId>protobuf-java-util</artifactId>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-source-plugin</artifactId>
351 <version>3.0.1</version>
354 <id>attach-sources</id>
363 <artifactId>kotlin-maven-plugin</artifactId>
364 <groupId>org.jetbrains.kotlin</groupId>
365 <version>${kotlin.maven.version}</version>
374 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
375 <sourceDir>${project.basedir}/src/main/java</sourceDir>
380 <id>test-compile</id>
382 <goal>test-compile</goal>
386 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
387 <sourceDir>${project.basedir}/src/test/java</sourceDir>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-compiler-plugin</artifactId>
396 <version>3.5.1</version>
398 <source>${maven.compiler.source}</source>
399 <target>${maven.compiler.target}</target>
402 <!-- Replacing default-compile as it is treated specially by maven -->
404 <id>default-compile</id>
407 <!-- Replacing default-testCompile as it is treated specially by maven -->
409 <id>default-testCompile</id>
413 <id>java-compile</id>
414 <phase>compile</phase>
420 <id>java-test-compile</id>
421 <phase>test-compile</phase>
423 <goal>testCompile</goal>