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>
23 <groupId>org.onap.ccsdk.cds</groupId>
24 <artifactId>controllerblueprints</artifactId>
25 <version>0.7.0-SNAPSHOT</version>
28 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
29 <artifactId>parent</artifactId>
30 <packaging>pom</packaging>
32 <name>Controller Blueprints Parent</name>
35 <eelf.version>1.0.0</eelf.version>
36 <guava.version>27.0.1-jre</guava.version>
37 <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
38 <h2database.version>1.4.197</h2database.version>
39 <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
40 <powermock.version>1.7.4</powermock.version>
42 <jinja.version>2.5.1</jinja.version>
43 <velocity.version>1.7</velocity.version>
44 <json-smart.version>2.3</json-smart.version>
45 <commons-io-version>2.6</commons-io-version>
46 <commons-lang3-version>3.2.1</commons-lang3-version>
47 <commons-collections-version>3.2.2</commons-collections-version>
50 <dependencyManagement>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-dependencies</artifactId>
56 <version>${spring.boot.version}</version>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-logging</artifactId>
64 <version>${spring.boot.version}</version>
67 <groupId>org.slf4j</groupId>
68 <artifactId>slf4j-log4j12</artifactId>
73 <!--Swagger Dependencies -->
75 <groupId>io.springfox</groupId>
76 <artifactId>springfox-swagger2</artifactId>
77 <version>${springfox.swagger2.version}</version>
80 <groupId>org.slf4j</groupId>
81 <artifactId>slf4j-api</artifactId>
86 <groupId>io.springfox</groupId>
87 <artifactId>springfox-swagger-ui</artifactId>
88 <version>${springfox.swagger2.version}</version>
92 <groupId>org.apache.commons</groupId>
93 <artifactId>commons-lang3</artifactId>
94 <version>${commons-lang3-version}</version>
97 <groupId>commons-collections</groupId>
98 <artifactId>commons-collections</artifactId>
99 <version>${commons-collections-version}</version>
102 <groupId>commons-io</groupId>
103 <artifactId>commons-io</artifactId>
104 <version>${commons-io-version}</version>
107 <groupId>org.apache.velocity</groupId>
108 <artifactId>velocity</artifactId>
109 <version>${velocity.version}</version>
112 <groupId>com.hubspot.jinjava</groupId>
113 <artifactId>jinjava</artifactId>
114 <version>${jinja.version}</version>
117 <groupId>com.google.guava</groupId>
118 <artifactId>guava</artifactId>
119 <version>${guava.version}</version>
122 <groupId>net.minidev</groupId>
123 <artifactId>json-smart</artifactId>
124 <version>${json-smart.version}</version>
127 <!-- Kotlin Dependencies -->
129 <groupId>org.jetbrains.kotlin</groupId>
130 <artifactId>kotlin-stdlib</artifactId>
131 <version>${kotlin.version}</version>
134 <groupId>org.jetbrains.kotlin</groupId>
135 <artifactId>kotlin-stdlib-common</artifactId>
136 <version>${kotlin.version}</version>
138 <!--Use kotlin-compiler-embeddable instead koltin-compiler wrap-->
139 <!--guava dependency inside kotlin-compiler creating classpath issues at runtime-->
141 <groupId>org.jetbrains.kotlin</groupId>
142 <artifactId>kotlin-scripting-jvm-host</artifactId>
143 <version>${kotlin.version}</version>
146 <groupId>org.jetbrains.kotlin</groupId>
147 <artifactId>kotlin-compile</artifactId>
152 <groupId>org.jetbrains.kotlin</groupId>
153 <artifactId>kotlin-compiler-embeddable</artifactId>
154 <version>${kotlin.version}</version>
157 <groupId>org.jetbrains.kotlin</groupId>
158 <artifactId>kotlin-script-util</artifactId>
159 <version>${kotlin.version}</version>
162 <groupId>org.jetbrains.kotlin</groupId>
163 <artifactId>kotlin-script-runtime</artifactId>
164 <version>${kotlin.version}</version>
167 <groupId>org.jetbrains.kotlinx</groupId>
168 <artifactId>kotlinx-coroutines-core</artifactId>
169 <version>${kotlin.couroutines.version}</version>
172 <groupId>org.jetbrains.kotlinx</groupId>
173 <artifactId>kotlinx-coroutines-reactor</artifactId>
174 <version>${kotlin.couroutines.version}</version>
177 <groupId>org.jetbrains.kotlin</groupId>
178 <artifactId>kotlin-reflect</artifactId>
179 <version>${kotlin.version}</version>
182 <groupId>org.jetbrains.kotlin</groupId>
183 <artifactId>kotlin-stdlib-jdk8</artifactId>
184 <version>${kotlin.version}</version>
187 <groupId>org.jetbrains.kotlin</groupId>
188 <artifactId>kotlin-stdlib-jdk7</artifactId>
189 <version>${kotlin.version}</version>
192 <!-- GRPC Dependencies -->
194 <groupId>io.grpc</groupId>
195 <artifactId>grpc-core</artifactId>
196 <version>${grpc.version}</version>
199 <groupId>io.grpc</groupId>
200 <artifactId>grpc-netty</artifactId>
201 <version>${grpc.version}</version>
204 <groupId>io.grpc</groupId>
205 <artifactId>grpc-protobuf</artifactId>
206 <version>${grpc.version}</version>
209 <groupId>io.grpc</groupId>
210 <artifactId>grpc-stub</artifactId>
211 <version>${grpc.version}</version>
214 <groupId>io.grpc</groupId>
215 <artifactId>grpc-netty-shaded</artifactId>
216 <version>${grpc.version}</version>
219 <groupId>io.grpc</groupId>
220 <artifactId>grpc-grpclb</artifactId>
221 <version>${grpc.version}</version>
224 <groupId>com.google.protobuf</groupId>
225 <artifactId>protobuf-java</artifactId>
226 <version>${protobuff.java.version}</version>
229 <groupId>com.google.protobuf</groupId>
230 <artifactId>protobuf-java-util</artifactId>
231 <version>${protobuff.java.utils.version}</version>
234 <groupId>com.github.marcoferrer.krotoplus</groupId>
235 <artifactId>kroto-plus-coroutines</artifactId>
236 <version>${kroto-plus.version}</version>
241 <groupId>com.h2database</groupId>
242 <artifactId>h2</artifactId>
243 <version>${h2database.version}</version>
246 <!-- Application Components -->
248 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
249 <artifactId>blueprint-core</artifactId>
250 <version>${project.version}</version>
253 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
254 <artifactId>resource-dict</artifactId>
255 <version>${project.version}</version>
258 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
259 <artifactId>blueprint-validation</artifactId>
260 <version>${project.version}</version>
263 <!-- Testing Dependencies -->
265 <groupId>io.mockk</groupId>
266 <artifactId>mockk</artifactId>
267 <version>${mockk.version}</version>
271 <groupId>org.powermock</groupId>
272 <artifactId>powermock-api-mockito2</artifactId>
273 <version>${powermock.version}</version>
277 <groupId>org.jetbrains.kotlin</groupId>
278 <artifactId>kotlin-test-junit</artifactId>
279 <version>${kotlin.version}</version>
283 <groupId>org.jetbrains.kotlinx</groupId>
284 <artifactId>kotlinx-coroutines-test</artifactId>
285 <version>${kotlin.couroutines.version}</version>
289 <groupId>io.grpc</groupId>
290 <artifactId>grpc-testing</artifactId>
291 <version>${grpc.version}</version>
295 </dependencyManagement>
298 <groupId>org.apache.commons</groupId>
299 <artifactId>commons-lang3</artifactId>
302 <groupId>commons-collections</groupId>
303 <artifactId>commons-collections</artifactId>
306 <groupId>commons-io</groupId>
307 <artifactId>commons-io</artifactId>
310 <groupId>com.jayway.jsonpath</groupId>
311 <artifactId>json-path</artifactId>
314 <groupId>org.slf4j</groupId>
315 <artifactId>slf4j-api</artifactId>
320 <groupId>net.minidev</groupId>
321 <artifactId>json-smart</artifactId>
324 <groupId>com.google.guava</groupId>
325 <artifactId>guava</artifactId>
328 <groupId>io.springfox</groupId>
329 <artifactId>springfox-swagger2</artifactId>
332 <groupId>org.slf4j</groupId>
333 <artifactId>slf4j-api</artifactId>
338 <groupId>io.springfox</groupId>
339 <artifactId>springfox-swagger-ui</artifactId>
342 <groupId>org.jetbrains.kotlin</groupId>
343 <artifactId>kotlin-stdlib</artifactId>
346 <groupId>org.jetbrains.kotlin</groupId>
347 <artifactId>kotlin-script-util</artifactId>
350 <groupId>org.jetbrains.kotlin</groupId>
351 <artifactId>kotlin-stdlib-jdk8</artifactId>
354 <groupId>org.jetbrains.kotlinx</groupId>
355 <artifactId>kotlinx-coroutines-core</artifactId>
358 <groupId>org.jetbrains.kotlinx</groupId>
359 <artifactId>kotlinx-coroutines-reactor</artifactId>
362 <groupId>com.fasterxml.jackson.module</groupId>
363 <artifactId>jackson-module-kotlin</artifactId>
365 <!-- GRPC Dependencies -->
367 <groupId>io.grpc</groupId>
368 <artifactId>grpc-netty</artifactId>
371 <groupId>io.grpc</groupId>
372 <artifactId>grpc-protobuf</artifactId>
375 <groupId>io.grpc</groupId>
376 <artifactId>grpc-stub</artifactId>
379 <groupId>io.grpc</groupId>
380 <artifactId>grpc-netty-shaded</artifactId>
383 <groupId>io.grpc</groupId>
384 <artifactId>grpc-grpclb</artifactId>
387 <groupId>com.google.protobuf</groupId>
388 <artifactId>protobuf-java</artifactId>
391 <groupId>com.google.protobuf</groupId>
392 <artifactId>protobuf-java-util</artifactId>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-source-plugin</artifactId>
401 <version>3.0.1</version>
404 <id>attach-sources</id>
413 <groupId>org.jetbrains.kotlin</groupId>
414 <artifactId>kotlin-maven-plugin</artifactId>
415 <version>${kotlin.maven.version}</version>
424 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
425 <sourceDir>${project.basedir}/src/main/java</sourceDir>
430 <id>test-compile</id>
432 <goal>test-compile</goal>
436 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
437 <sourceDir>${project.basedir}/src/test/java</sourceDir>
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-compiler-plugin</artifactId>
446 <version>3.5.1</version>
448 <source>${maven.compiler.source}</source>
449 <target>${maven.compiler.target}</target>
452 <!-- Replacing default-compile as it is treated specially by maven -->
454 <id>default-compile</id>
457 <!-- Replacing default-testCompile as it is treated specially by maven -->
459 <id>default-testCompile</id>
463 <id>java-compile</id>
464 <phase>compile</phase>
470 <id>java-test-compile</id>
471 <phase>test-compile</phase>
473 <goal>testCompile</goal>