86a7211495c3df30dadef4a1770cb13ffec9a4a9
[ccsdk/cds.git] / ms / controllerblueprints / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright © 2017-2018 AT&T Intellectual Property.
4   ~
5   ~ Modifications Copyright © 2018 - 2019 IBM, Bell Canada
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   -->
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>
21     <parent>
22         <groupId>org.onap.ccsdk.cds</groupId>
23         <artifactId>controllerblueprints</artifactId>
24         <version>0.7.0-SNAPSHOT</version>
25     </parent>
26     <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
27     <artifactId>parent</artifactId>
28     <name>Controller Blueprints Parent</name>
29     <packaging>pom</packaging>
30     <properties>
31         <eelf.version>1.0.0</eelf.version>
32         <guava.version>27.0.1-jre</guava.version>
33         <kroto-plus.version>0.5.0</kroto-plus.version>
34         <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
35         <h2database.version>1.4.197</h2database.version>
36         <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
37         <powermock.version>1.7.4</powermock.version>
38         <jinja.version>2.5.1</jinja.version>
39         <velocity.version>1.7</velocity.version>
40     </properties>
41     <dependencyManagement>
42         <dependencies>
43             <!-- Spring boot -->
44             <dependency>
45                 <groupId>org.springframework.boot</groupId>
46                 <artifactId>spring-boot-dependencies</artifactId>
47                 <version>${spring.boot.version}</version>
48                 <type>pom</type>
49                 <scope>import</scope>
50             </dependency>
51
52             <dependency>
53                 <groupId>org.springframework.boot</groupId>
54                 <artifactId>spring-boot-starter-logging</artifactId>
55                 <version>${spring.boot.version}</version>
56                 <exclusions>
57                     <exclusion>
58                         <groupId>org.slf4j</groupId>
59                         <artifactId>slf4j-log4j12</artifactId>
60                     </exclusion>
61                 </exclusions>
62             </dependency>
63
64             <!--Swagger Dependencies -->
65             <dependency>
66                 <groupId>io.springfox</groupId>
67                 <artifactId>springfox-swagger2</artifactId>
68                 <version>${springfox.swagger2.version}</version>
69                 <exclusions>
70                     <exclusion>
71                         <groupId>org.slf4j</groupId>
72                         <artifactId>slf4j-api</artifactId>
73                     </exclusion>
74                 </exclusions>
75             </dependency>
76             <dependency>
77                 <groupId>io.springfox</groupId>
78                 <artifactId>springfox-swagger-ui</artifactId>
79                 <version>${springfox.swagger2.version}</version>
80             </dependency>
81
82             <dependency>
83                 <groupId>org.apache.commons</groupId>
84                 <artifactId>commons-lang3</artifactId>
85                 <version>3.2.1</version>
86             </dependency>
87             <dependency>
88                 <groupId>commons-collections</groupId>
89                 <artifactId>commons-collections</artifactId>
90                 <version>3.2.2</version>
91             </dependency>
92             <dependency>
93                 <groupId>commons-io</groupId>
94                 <artifactId>commons-io</artifactId>
95                 <version>2.6</version>
96             </dependency>
97             <dependency>
98                 <groupId>org.apache.velocity</groupId>
99                 <artifactId>velocity</artifactId>
100                 <version>${velocity.version}</version>
101             </dependency>
102             <dependency>
103                 <groupId>com.hubspot.jinjava</groupId>
104                 <artifactId>jinjava</artifactId>
105                 <version>${jinja.version}</version>
106             </dependency>
107             <dependency>
108                 <groupId>com.google.guava</groupId>
109                 <artifactId>guava</artifactId>
110                 <version>${guava.version}</version>
111             </dependency>
112
113             <!-- Kotlin Dependencies -->
114             <dependency>
115                 <groupId>org.jetbrains.kotlin</groupId>
116                 <artifactId>kotlin-stdlib</artifactId>
117                 <version>${kotlin.version}</version>
118             </dependency>
119             <dependency>
120                 <groupId>org.jetbrains.kotlin</groupId>
121                 <artifactId>kotlin-stdlib-common</artifactId>
122                 <version>${kotlin.version}</version>
123             </dependency>
124             <!--Use kotlin-compiler-embeddable instead koltin-compiler wrap-->
125             <!--guava dependency inside kotlin-compiler creating classpath issues at runtime-->
126             <dependency>
127                 <groupId>org.jetbrains.kotlin</groupId>
128                 <artifactId>kotlin-scripting-jvm-host</artifactId>
129                 <version>${kotlin.version}</version>
130                 <exclusions>
131                     <exclusion>
132                         <groupId>org.jetbrains.kotlin</groupId>
133                         <artifactId>kotlin-compile</artifactId>
134                     </exclusion>
135                 </exclusions>
136             </dependency>
137             <dependency>
138                 <groupId>org.jetbrains.kotlin</groupId>
139                 <artifactId>kotlin-compiler-embeddable</artifactId>
140                 <version>${kotlin.version}</version>
141             </dependency>
142             <dependency>
143                 <groupId>org.jetbrains.kotlin</groupId>
144                 <artifactId>kotlin-script-util</artifactId>
145                 <version>${kotlin.version}</version>
146             </dependency>
147             <dependency>
148                 <groupId>org.jetbrains.kotlin</groupId>
149                 <artifactId>kotlin-script-runtime</artifactId>
150                 <version>${kotlin.version}</version>
151             </dependency>
152             <dependency>
153                 <groupId>org.jetbrains.kotlinx</groupId>
154                 <artifactId>kotlinx-coroutines-core</artifactId>
155                 <version>${kotlin.couroutines.version}</version>
156             </dependency>
157             <dependency>
158                 <groupId>org.jetbrains.kotlinx</groupId>
159                 <artifactId>kotlinx-coroutines-reactor</artifactId>
160                 <version>${kotlin.couroutines.version}</version>
161             </dependency>
162             <dependency>
163                 <groupId>org.jetbrains.kotlin</groupId>
164                 <artifactId>kotlin-reflect</artifactId>
165                 <version>${kotlin.version}</version>
166             </dependency>
167             <dependency>
168                 <groupId>org.jetbrains.kotlin</groupId>
169                 <artifactId>kotlin-stdlib-jdk8</artifactId>
170                 <version>${kotlin.version}</version>
171             </dependency>
172             <dependency>
173                 <groupId>org.jetbrains.kotlin</groupId>
174                 <artifactId>kotlin-stdlib-jdk7</artifactId>
175                 <version>${kotlin.version}</version>
176             </dependency>
177
178             <!-- GRPC Dependencies -->
179             <dependency>
180                 <groupId>io.grpc</groupId>
181                 <artifactId>grpc-core</artifactId>
182                 <version>${grpc.version}</version>
183             </dependency>
184             <dependency>
185                 <groupId>io.grpc</groupId>
186                 <artifactId>grpc-netty</artifactId>
187                 <version>${grpc.version}</version>
188             </dependency>
189             <dependency>
190                 <groupId>io.grpc</groupId>
191                 <artifactId>grpc-protobuf</artifactId>
192                 <version>${grpc.version}</version>
193             </dependency>
194             <dependency>
195                 <groupId>io.grpc</groupId>
196                 <artifactId>grpc-stub</artifactId>
197                 <version>${grpc.version}</version>
198             </dependency>
199             <dependency>
200                 <groupId>com.google.protobuf</groupId>
201                 <artifactId>protobuf-java-util</artifactId>
202                 <version>${protobuff.java.utils.version}</version>
203             </dependency>
204             <dependency>
205                 <groupId>com.github.marcoferrer.krotoplus</groupId>
206                 <artifactId>kroto-plus-coroutines</artifactId>
207                 <version>${kroto-plus.version}</version>
208             </dependency>
209
210             <!-- Database -->
211             <dependency>
212                 <groupId>com.h2database</groupId>
213                 <artifactId>h2</artifactId>
214                 <version>${h2database.version}</version>
215             </dependency>
216
217
218             <!-- Application Components -->
219             <dependency>
220                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
221                 <artifactId>blueprint-core</artifactId>
222                 <version>${project.version}</version>
223             </dependency>
224             <dependency>
225                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
226                 <artifactId>resource-dict</artifactId>
227                 <version>${project.version}</version>
228             </dependency>
229             <dependency>
230                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
231                 <artifactId>blueprint-validation</artifactId>
232                 <version>${project.version}</version>
233             </dependency>
234
235             <!-- Testing Dependencies -->
236             <dependency>
237                 <groupId>io.mockk</groupId>
238                 <artifactId>mockk</artifactId>
239                 <version>${mockk.version}</version>
240                 <scope>test</scope>
241             </dependency>
242             <dependency>
243                 <groupId>org.powermock</groupId>
244                 <artifactId>powermock-api-mockito2</artifactId>
245                 <version>${powermock.version}</version>
246                 <scope>test</scope>
247             </dependency>
248             <dependency>
249                 <groupId>org.jetbrains.kotlin</groupId>
250                 <artifactId>kotlin-test-junit</artifactId>
251                 <version>${kotlin.version}</version>
252                 <scope>test</scope>
253             </dependency>
254             <dependency>
255                 <groupId>org.jetbrains.kotlinx</groupId>
256                 <artifactId>kotlinx-coroutines-test</artifactId>
257                 <version>${kotlin.couroutines.version}</version>
258                 <scope>test</scope>
259             </dependency>
260             <dependency>
261                 <groupId>io.grpc</groupId>
262                 <artifactId>grpc-testing</artifactId>
263                 <version>${grpc.version}</version>
264                 <scope>test</scope>
265             </dependency>
266         </dependencies>
267     </dependencyManagement>
268
269     <dependencies>
270         <dependency>
271             <groupId>org.apache.commons</groupId>
272             <artifactId>commons-lang3</artifactId>
273         </dependency>
274         <dependency>
275             <groupId>commons-collections</groupId>
276             <artifactId>commons-collections</artifactId>
277         </dependency>
278         <dependency>
279             <groupId>commons-io</groupId>
280             <artifactId>commons-io</artifactId>
281         </dependency>
282         <dependency>
283             <groupId>com.jayway.jsonpath</groupId>
284             <artifactId>json-path</artifactId>
285             <exclusions>
286                 <exclusion>
287                     <groupId>org.slf4j</groupId>
288                     <artifactId>slf4j-api</artifactId>
289                 </exclusion>
290             </exclusions>
291         </dependency>
292         <dependency>
293             <groupId>com.google.guava</groupId>
294             <artifactId>guava</artifactId>
295         </dependency>
296         <dependency>
297             <groupId>io.springfox</groupId>
298             <artifactId>springfox-swagger2</artifactId>
299             <exclusions>
300                 <exclusion>
301                     <groupId>org.slf4j</groupId>
302                     <artifactId>slf4j-api</artifactId>
303                 </exclusion>
304             </exclusions>
305         </dependency>
306         <dependency>
307             <groupId>io.springfox</groupId>
308             <artifactId>springfox-swagger-ui</artifactId>
309         </dependency>
310         <dependency>
311             <groupId>org.jetbrains.kotlin</groupId>
312             <artifactId>kotlin-stdlib</artifactId>
313         </dependency>
314         <dependency>
315             <groupId>org.jetbrains.kotlin</groupId>
316             <artifactId>kotlin-script-util</artifactId>
317         </dependency>
318         <dependency>
319             <groupId>org.jetbrains.kotlin</groupId>
320             <artifactId>kotlin-stdlib-jdk8</artifactId>
321         </dependency>
322         <dependency>
323             <groupId>org.jetbrains.kotlinx</groupId>
324             <artifactId>kotlinx-coroutines-core</artifactId>
325         </dependency>
326         <dependency>
327             <groupId>org.jetbrains.kotlinx</groupId>
328             <artifactId>kotlinx-coroutines-reactor</artifactId>
329         </dependency>
330         <dependency>
331             <groupId>com.fasterxml.jackson.module</groupId>
332             <artifactId>jackson-module-kotlin</artifactId>
333         </dependency>
334         <!-- GRPC Dependencies -->
335         <dependency>
336             <groupId>io.grpc</groupId>
337             <artifactId>grpc-netty</artifactId>
338         </dependency>
339         <dependency>
340             <groupId>io.grpc</groupId>
341             <artifactId>grpc-protobuf</artifactId>
342         </dependency>
343         <dependency>
344             <groupId>io.grpc</groupId>
345             <artifactId>grpc-stub</artifactId>
346         </dependency>
347         <dependency>
348             <groupId>com.google.protobuf</groupId>
349             <artifactId>protobuf-java-util</artifactId>
350         </dependency>
351     </dependencies>
352
353     <build>
354         <plugins>
355             <plugin>
356                 <groupId>org.apache.maven.plugins</groupId>
357                 <artifactId>maven-source-plugin</artifactId>
358                 <version>3.0.1</version>
359                 <executions>
360                     <execution>
361                         <id>attach-sources</id>
362                         <goals>
363                             <goal>jar</goal>
364                         </goals>
365                     </execution>
366                 </executions>
367             </plugin>
368
369             <plugin>
370                 <artifactId>kotlin-maven-plugin</artifactId>
371                 <groupId>org.jetbrains.kotlin</groupId>
372                 <version>${kotlin.maven.version}</version>
373                 <executions>
374                     <execution>
375                         <id>compile</id>
376                         <goals>
377                             <goal>compile</goal>
378                         </goals>
379                         <configuration>
380                             <sourceDirs>
381                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
382                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
383                             </sourceDirs>
384                         </configuration>
385                     </execution>
386                     <execution>
387                         <id>test-compile</id>
388                         <goals>
389                             <goal>test-compile</goal>
390                         </goals>
391                         <configuration>
392                             <sourceDirs>
393                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
394                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
395                             </sourceDirs>
396                         </configuration>
397                     </execution>
398                 </executions>
399             </plugin>
400             <plugin>
401                 <groupId>org.apache.maven.plugins</groupId>
402                 <artifactId>maven-compiler-plugin</artifactId>
403                 <version>3.5.1</version>
404                 <configuration>
405                     <source>${maven.compiler.source}</source>
406                     <target>${maven.compiler.target}</target>
407                 </configuration>
408                 <executions>
409                     <!-- Replacing default-compile as it is treated specially by maven -->
410                     <execution>
411                         <id>default-compile</id>
412                         <phase>none</phase>
413                     </execution>
414                     <!-- Replacing default-testCompile as it is treated specially by maven -->
415                     <execution>
416                         <id>default-testCompile</id>
417                         <phase>none</phase>
418                     </execution>
419                     <execution>
420                         <id>java-compile</id>
421                         <phase>compile</phase>
422                         <goals>
423                             <goal>compile</goal>
424                         </goals>
425                     </execution>
426                     <execution>
427                         <id>java-test-compile</id>
428                         <phase>test-compile</phase>
429                         <goals>
430                             <goal>testCompile</goal>
431                         </goals>
432                     </execution>
433                 </executions>
434             </plugin>
435         </plugins>
436     </build>
437 </project>