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