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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.onap.ccsdk.apps</groupId>
23 <artifactId>controllerblueprints</artifactId>
24 <version>0.4.1-SNAPSHOT</version>
26 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
27 <artifactId>parent</artifactId>
28 <name>Controller Blueprints Parent</name>
29 <packaging>pom</packaging>
31 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
32 <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>
36 <kotlin.couroutines.version>1.1.1</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 <powermock.version>1.7.4</powermock.version>
45 <mockk.version>1.9</mockk.version>
47 <dependencyManagement>
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-dependencies</artifactId>
53 <version>${spring.boot.version}</version>
59 <groupId>com.att.eelf</groupId>
60 <artifactId>eelf-core</artifactId>
61 <version>${eelf.version}</version>
64 <groupId>org.onap.logging-analytics</groupId>
65 <artifactId>logging-slf4j</artifactId>
66 <version>${onap.logger.slf4j}</version>
69 <!--Swagger Dependencies -->
71 <groupId>io.springfox</groupId>
72 <artifactId>springfox-swagger2</artifactId>
73 <version>${springfox.swagger2.version}</version>
76 <groupId>io.springfox</groupId>
77 <artifactId>springfox-swagger-ui</artifactId>
78 <version>${springfox.swagger2.version}</version>
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>
123 <!--Use kotlin-compiler-embeddable instead koltin-compiler wrap-->
124 <!--guava dependency inside kotlin-compiler creating classpath issues at runtime-->
126 <groupId>org.jetbrains.kotlin</groupId>
127 <artifactId>kotlin-scripting-jvm-host</artifactId>
128 <version>${kotlin.version}</version>
131 <groupId>org.jetbrains.kotlin</groupId>
132 <artifactId>kotlin-compile</artifactId>
137 <groupId>org.jetbrains.kotlin</groupId>
138 <artifactId>kotlin-compiler-embeddable</artifactId>
139 <version>${kotlin.version}</version>
142 <groupId>org.jetbrains.kotlin</groupId>
143 <artifactId>kotlin-script-util</artifactId>
144 <version>${kotlin.version}</version>
147 <groupId>org.jetbrains.kotlin</groupId>
148 <artifactId>kotlin-script-runtime</artifactId>
149 <version>${kotlin.version}</version>
152 <groupId>org.jetbrains.kotlinx</groupId>
153 <artifactId>kotlinx-coroutines-core</artifactId>
154 <version>${kotlin.couroutines.version}</version>
157 <groupId>org.jetbrains.kotlinx</groupId>
158 <artifactId>kotlinx-coroutines-reactor</artifactId>
159 <version>${kotlin.couroutines.version}</version>
162 <groupId>org.jetbrains.kotlin</groupId>
163 <artifactId>kotlin-reflect</artifactId>
164 <version>${kotlin.version}</version>
167 <groupId>org.jetbrains.kotlin</groupId>
168 <artifactId>kotlin-stdlib-jdk8</artifactId>
169 <version>${kotlin.version}</version>
172 <groupId>org.jetbrains.kotlin</groupId>
173 <artifactId>kotlin-stdlib-jdk7</artifactId>
174 <version>${kotlin.version}</version>
177 <!-- GRPC Dependencies -->
179 <groupId>io.grpc</groupId>
180 <artifactId>grpc-core</artifactId>
181 <version>${grpc.version}</version>
184 <groupId>io.grpc</groupId>
185 <artifactId>grpc-netty</artifactId>
186 <version>${grpc.version}</version>
189 <groupId>io.grpc</groupId>
190 <artifactId>grpc-protobuf</artifactId>
191 <version>${grpc.version}</version>
194 <groupId>io.grpc</groupId>
195 <artifactId>grpc-stub</artifactId>
196 <version>${grpc.version}</version>
199 <groupId>com.google.protobuf</groupId>
200 <artifactId>protobuf-java-util</artifactId>
201 <version>${protobuff.java.utils.version}</version>
206 <groupId>com.h2database</groupId>
207 <artifactId>h2</artifactId>
208 <version>${h2database.version}</version>
212 <!-- Application Components -->
214 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
215 <artifactId>blueprint-core</artifactId>
216 <version>${project.version}</version>
219 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
220 <artifactId>resource-dict</artifactId>
221 <version>${project.version}</version>
224 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
225 <artifactId>db-resources</artifactId>
226 <version>${project.version}</version>
229 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
230 <artifactId>blueprint-validation</artifactId>
231 <version>${project.version}</version>
234 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
235 <artifactId>blueprint-scripts</artifactId>
236 <version>${project.version}</version>
239 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
240 <artifactId>service</artifactId>
241 <version>${project.version}</version>
244 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
245 <artifactId>application</artifactId>
246 <version>${project.version}</version>
249 <!-- Testing Dependencies -->
251 <groupId>io.mockk</groupId>
252 <artifactId>mockk</artifactId>
253 <version>${mockk.version}</version>
257 <groupId>org.powermock</groupId>
258 <artifactId>powermock-api-mockito2</artifactId>
259 <version>${powermock.version}</version>
263 <groupId>org.jetbrains.kotlin</groupId>
264 <artifactId>kotlin-test-junit</artifactId>
265 <version>${kotlin.version}</version>
269 <groupId>org.jetbrains.kotlinx</groupId>
270 <artifactId>kotlinx-coroutines-test</artifactId>
271 <version>${kotlin.couroutines.version}</version>
275 <groupId>io.grpc</groupId>
276 <artifactId>grpc-testing</artifactId>
277 <version>${grpc.version}</version>
281 </dependencyManagement>
285 <groupId>com.att.eelf</groupId>
286 <artifactId>eelf-core</artifactId>
289 <groupId>org.onap.logging-analytics</groupId>
290 <artifactId>logging-slf4j</artifactId>
293 <groupId>org.apache.commons</groupId>
294 <artifactId>commons-lang3</artifactId>
297 <groupId>commons-collections</groupId>
298 <artifactId>commons-collections</artifactId>
301 <groupId>commons-io</groupId>
302 <artifactId>commons-io</artifactId>
305 <groupId>org.apache.commons</groupId>
306 <artifactId>commons-compress</artifactId>
309 <groupId>com.jayway.jsonpath</groupId>
310 <artifactId>json-path</artifactId>
313 <groupId>com.google.guava</groupId>
314 <artifactId>guava</artifactId>
317 <groupId>io.springfox</groupId>
318 <artifactId>springfox-swagger2</artifactId>
321 <groupId>io.springfox</groupId>
322 <artifactId>springfox-swagger-ui</artifactId>
325 <groupId>org.jetbrains.kotlin</groupId>
326 <artifactId>kotlin-stdlib</artifactId>
329 <groupId>org.jetbrains.kotlin</groupId>
330 <artifactId>kotlin-script-util</artifactId>
333 <groupId>org.jetbrains.kotlin</groupId>
334 <artifactId>kotlin-stdlib-jdk8</artifactId>
337 <groupId>org.jetbrains.kotlinx</groupId>
338 <artifactId>kotlinx-coroutines-core</artifactId>
341 <groupId>org.jetbrains.kotlinx</groupId>
342 <artifactId>kotlinx-coroutines-reactor</artifactId>
345 <groupId>com.fasterxml.jackson.module</groupId>
346 <artifactId>jackson-module-kotlin</artifactId>
348 <!-- GRPC Dependencies -->
350 <groupId>io.grpc</groupId>
351 <artifactId>grpc-netty</artifactId>
354 <groupId>io.grpc</groupId>
355 <artifactId>grpc-protobuf</artifactId>
358 <groupId>io.grpc</groupId>
359 <artifactId>grpc-stub</artifactId>
362 <groupId>com.google.protobuf</groupId>
363 <artifactId>protobuf-java-util</artifactId>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-source-plugin</artifactId>
372 <version>3.0.1</version>
375 <id>attach-sources</id>
384 <artifactId>kotlin-maven-plugin</artifactId>
385 <groupId>org.jetbrains.kotlin</groupId>
386 <version>${kotlin.maven.version}</version>
395 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
396 <sourceDir>${project.basedir}/src/main/java</sourceDir>
401 <id>test-compile</id>
403 <goal>test-compile</goal>
407 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
408 <sourceDir>${project.basedir}/src/test/java</sourceDir>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-compiler-plugin</artifactId>
417 <version>3.5.1</version>
419 <source>${maven.compiler.source}</source>
420 <target>${maven.compiler.target}</target>
423 <!-- Replacing default-compile as it is treated specially by maven -->
425 <id>default-compile</id>
428 <!-- Replacing default-testCompile as it is treated specially by maven -->
430 <id>default-testCompile</id>
434 <id>java-compile</id>
435 <phase>compile</phase>
441 <id>java-test-compile</id>
442 <phase>test-compile</phase>
444 <goal>testCompile</goal>