1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright © 2017-2018 AT&T Intellectual Property.
5 ~ Modifications Copyright © 2018 - 2019 IBM, Bell Canada
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.cds</groupId>
23 <artifactId>controllerblueprints</artifactId>
24 <version>0.5.0-SNAPSHOT</version>
26 <groupId>org.onap.ccsdk.cds.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>
46 <jinja.version>2.5.1</jinja.version>
47 <velocity.version>1.7</velocity.version>
49 <dependencyManagement>
53 <groupId>org.springframework.boot</groupId>
54 <artifactId>spring-boot-dependencies</artifactId>
55 <version>${spring.boot.version}</version>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-logging</artifactId>
63 <version>${spring.boot.version}</version>
66 <groupId>org.slf4j</groupId>
67 <artifactId>slf4j-log4j12</artifactId>
72 <!--Swagger Dependencies -->
74 <groupId>io.springfox</groupId>
75 <artifactId>springfox-swagger2</artifactId>
76 <version>${springfox.swagger2.version}</version>
79 <groupId>org.slf4j</groupId>
80 <artifactId>slf4j-api</artifactId>
85 <groupId>io.springfox</groupId>
86 <artifactId>springfox-swagger-ui</artifactId>
87 <version>${springfox.swagger2.version}</version>
91 <groupId>org.apache.commons</groupId>
92 <artifactId>commons-lang3</artifactId>
93 <version>3.2.1</version>
96 <groupId>commons-collections</groupId>
97 <artifactId>commons-collections</artifactId>
98 <version>3.2.2</version>
101 <groupId>commons-io</groupId>
102 <artifactId>commons-io</artifactId>
103 <version>2.6</version>
106 <groupId>org.apache.commons</groupId>
107 <artifactId>commons-compress</artifactId>
108 <version>1.15</version>
111 <groupId>org.apache.velocity</groupId>
112 <artifactId>velocity</artifactId>
113 <version>${velocity.version}</version>
116 <groupId>com.hubspot.jinjava</groupId>
117 <artifactId>jinjava</artifactId>
118 <version>${jinja.version}</version>
121 <groupId>com.google.guava</groupId>
122 <artifactId>guava</artifactId>
123 <version>${guava.version}</version>
126 <!-- Kotlin Dependencies -->
128 <groupId>org.jetbrains.kotlin</groupId>
129 <artifactId>kotlin-stdlib</artifactId>
130 <version>${kotlin.version}</version>
133 <groupId>org.jetbrains.kotlin</groupId>
134 <artifactId>kotlin-stdlib-common</artifactId>
135 <version>${kotlin.version}</version>
137 <!--Use kotlin-compiler-embeddable instead koltin-compiler wrap-->
138 <!--guava dependency inside kotlin-compiler creating classpath issues at runtime-->
140 <groupId>org.jetbrains.kotlin</groupId>
141 <artifactId>kotlin-scripting-jvm-host</artifactId>
142 <version>${kotlin.version}</version>
145 <groupId>org.jetbrains.kotlin</groupId>
146 <artifactId>kotlin-compile</artifactId>
151 <groupId>org.jetbrains.kotlin</groupId>
152 <artifactId>kotlin-compiler-embeddable</artifactId>
153 <version>${kotlin.version}</version>
156 <groupId>org.jetbrains.kotlin</groupId>
157 <artifactId>kotlin-script-util</artifactId>
158 <version>${kotlin.version}</version>
161 <groupId>org.jetbrains.kotlin</groupId>
162 <artifactId>kotlin-script-runtime</artifactId>
163 <version>${kotlin.version}</version>
166 <groupId>org.jetbrains.kotlinx</groupId>
167 <artifactId>kotlinx-coroutines-core</artifactId>
168 <version>${kotlin.couroutines.version}</version>
171 <groupId>org.jetbrains.kotlinx</groupId>
172 <artifactId>kotlinx-coroutines-reactor</artifactId>
173 <version>${kotlin.couroutines.version}</version>
176 <groupId>org.jetbrains.kotlin</groupId>
177 <artifactId>kotlin-reflect</artifactId>
178 <version>${kotlin.version}</version>
181 <groupId>org.jetbrains.kotlin</groupId>
182 <artifactId>kotlin-stdlib-jdk8</artifactId>
183 <version>${kotlin.version}</version>
186 <groupId>org.jetbrains.kotlin</groupId>
187 <artifactId>kotlin-stdlib-jdk7</artifactId>
188 <version>${kotlin.version}</version>
191 <!-- GRPC Dependencies -->
193 <groupId>io.grpc</groupId>
194 <artifactId>grpc-core</artifactId>
195 <version>${grpc.version}</version>
198 <groupId>io.grpc</groupId>
199 <artifactId>grpc-netty</artifactId>
200 <version>${grpc.version}</version>
203 <groupId>io.grpc</groupId>
204 <artifactId>grpc-protobuf</artifactId>
205 <version>${grpc.version}</version>
208 <groupId>io.grpc</groupId>
209 <artifactId>grpc-stub</artifactId>
210 <version>${grpc.version}</version>
213 <groupId>com.google.protobuf</groupId>
214 <artifactId>protobuf-java-util</artifactId>
215 <version>${protobuff.java.utils.version}</version>
220 <groupId>com.h2database</groupId>
221 <artifactId>h2</artifactId>
222 <version>${h2database.version}</version>
226 <!-- Application Components -->
228 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
229 <artifactId>blueprint-core</artifactId>
230 <version>${project.version}</version>
233 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
234 <artifactId>resource-dict</artifactId>
235 <version>${project.version}</version>
238 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
239 <artifactId>db-resources</artifactId>
240 <version>${project.version}</version>
243 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
244 <artifactId>blueprint-validation</artifactId>
245 <version>${project.version}</version>
248 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
249 <artifactId>service</artifactId>
250 <version>${project.version}</version>
253 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
254 <artifactId>application</artifactId>
255 <version>${project.version}</version>
258 <!-- Testing Dependencies -->
260 <groupId>io.mockk</groupId>
261 <artifactId>mockk</artifactId>
262 <version>${mockk.version}</version>
266 <groupId>org.powermock</groupId>
267 <artifactId>powermock-api-mockito2</artifactId>
268 <version>${powermock.version}</version>
272 <groupId>org.jetbrains.kotlin</groupId>
273 <artifactId>kotlin-test-junit</artifactId>
274 <version>${kotlin.version}</version>
278 <groupId>org.jetbrains.kotlinx</groupId>
279 <artifactId>kotlinx-coroutines-test</artifactId>
280 <version>${kotlin.couroutines.version}</version>
284 <groupId>io.grpc</groupId>
285 <artifactId>grpc-testing</artifactId>
286 <version>${grpc.version}</version>
290 </dependencyManagement>
294 <groupId>org.apache.commons</groupId>
295 <artifactId>commons-lang3</artifactId>
298 <groupId>commons-collections</groupId>
299 <artifactId>commons-collections</artifactId>
302 <groupId>commons-io</groupId>
303 <artifactId>commons-io</artifactId>
306 <groupId>org.apache.commons</groupId>
307 <artifactId>commons-compress</artifactId>
310 <groupId>com.jayway.jsonpath</groupId>
311 <artifactId>json-path</artifactId>
314 <groupId>org.slf4j</groupId>
315 <artifactId>slf4j-api</artifactId>
320 <groupId>com.google.guava</groupId>
321 <artifactId>guava</artifactId>
324 <groupId>io.springfox</groupId>
325 <artifactId>springfox-swagger2</artifactId>
328 <groupId>org.slf4j</groupId>
329 <artifactId>slf4j-api</artifactId>
334 <groupId>io.springfox</groupId>
335 <artifactId>springfox-swagger-ui</artifactId>
338 <groupId>org.jetbrains.kotlin</groupId>
339 <artifactId>kotlin-stdlib</artifactId>
342 <groupId>org.jetbrains.kotlin</groupId>
343 <artifactId>kotlin-script-util</artifactId>
346 <groupId>org.jetbrains.kotlin</groupId>
347 <artifactId>kotlin-stdlib-jdk8</artifactId>
350 <groupId>org.jetbrains.kotlinx</groupId>
351 <artifactId>kotlinx-coroutines-core</artifactId>
354 <groupId>org.jetbrains.kotlinx</groupId>
355 <artifactId>kotlinx-coroutines-reactor</artifactId>
358 <groupId>com.fasterxml.jackson.module</groupId>
359 <artifactId>jackson-module-kotlin</artifactId>
361 <!-- GRPC Dependencies -->
363 <groupId>io.grpc</groupId>
364 <artifactId>grpc-netty</artifactId>
367 <groupId>io.grpc</groupId>
368 <artifactId>grpc-protobuf</artifactId>
371 <groupId>io.grpc</groupId>
372 <artifactId>grpc-stub</artifactId>
375 <groupId>com.google.protobuf</groupId>
376 <artifactId>protobuf-java-util</artifactId>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-source-plugin</artifactId>
385 <version>3.0.1</version>
388 <id>attach-sources</id>
397 <artifactId>kotlin-maven-plugin</artifactId>
398 <groupId>org.jetbrains.kotlin</groupId>
399 <version>${kotlin.maven.version}</version>
408 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
409 <sourceDir>${project.basedir}/src/main/java</sourceDir>
414 <id>test-compile</id>
416 <goal>test-compile</goal>
420 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
421 <sourceDir>${project.basedir}/src/test/java</sourceDir>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-compiler-plugin</artifactId>
430 <version>3.5.1</version>
432 <source>${maven.compiler.source}</source>
433 <target>${maven.compiler.target}</target>
436 <!-- Replacing default-compile as it is treated specially by maven -->
438 <id>default-compile</id>
441 <!-- Replacing default-testCompile as it is treated specially by maven -->
443 <id>default-testCompile</id>
447 <id>java-compile</id>
448 <phase>compile</phase>
454 <id>java-test-compile</id>
455 <phase>test-compile</phase>
457 <goal>testCompile</goal>