Merge "1st drop integration with BluePrintCatalogService"
[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.0-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.10</kotlin.version>
35         <kotlin.maven.version>1.3.10</kotlin.maven.version>
36         <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
37         <grpc.version>1.16.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>26.0-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     </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             <dependency>
81                 <groupId>org.apache.commons</groupId>
82                 <artifactId>commons-lang3</artifactId>
83                 <version>3.2.1</version>
84             </dependency>
85             <dependency>
86                 <groupId>commons-collections</groupId>
87                 <artifactId>commons-collections</artifactId>
88                 <version>3.2.2</version>
89             </dependency>
90             <dependency>
91                 <groupId>commons-io</groupId>
92                 <artifactId>commons-io</artifactId>
93                 <version>2.6</version>
94             </dependency>
95             <dependency>
96                 <groupId>org.apache.commons</groupId>
97                 <artifactId>commons-compress</artifactId>
98                 <version>1.15</version>
99             </dependency>
100             <dependency>
101                 <groupId>org.apache.velocity</groupId>
102                 <artifactId>velocity</artifactId>
103                 <version>1.7</version>
104             </dependency>
105             <dependency>
106                 <groupId>com.google.guava</groupId>
107                 <artifactId>guava</artifactId>
108                 <version>${guava.version}</version>
109             </dependency>
110
111             <!-- Kotlin Dependencies -->
112             <dependency>
113                 <groupId>org.jetbrains.kotlin</groupId>
114                 <artifactId>kotlin-stdlib</artifactId>
115                 <version>${kotlin.version}</version>
116             </dependency>
117             <dependency>
118                 <groupId>org.jetbrains.kotlinx</groupId>
119                 <artifactId>kotlinx-coroutines-core</artifactId>
120                 <version>${kotlin.couroutines.version}</version>
121             </dependency>
122             <dependency>
123                 <groupId>org.jetbrains.kotlinx</groupId>
124                 <artifactId>kotlinx-coroutines-reactor</artifactId>
125                 <version>${kotlin.couroutines.version}</version>
126             </dependency>
127             <dependency>
128                 <groupId>org.jetbrains.kotlin</groupId>
129                 <artifactId>kotlin-reflect</artifactId>
130                 <version>${kotlin.version}</version>
131             </dependency>
132             <dependency>
133                 <groupId>org.jetbrains.kotlin</groupId>
134                 <artifactId>kotlin-stdlib-jdk8</artifactId>
135                 <version>${kotlin.version}</version>
136             </dependency>
137             <dependency>
138                 <groupId>org.jetbrains.kotlin</groupId>
139                 <artifactId>kotlin-stdlib-jdk7</artifactId>
140                 <version>${kotlin.version}</version>
141             </dependency>
142
143             <!-- GRPC Dependencies -->
144             <dependency>
145                 <groupId>io.grpc</groupId>
146                 <artifactId>grpc-core</artifactId>
147                 <version>${grpc.version}</version>
148             </dependency>
149             <dependency>
150                 <groupId>io.grpc</groupId>
151                 <artifactId>grpc-netty</artifactId>
152                 <version>${grpc.version}</version>
153             </dependency>
154             <dependency>
155                 <groupId>io.grpc</groupId>
156                 <artifactId>grpc-protobuf</artifactId>
157                 <version>${grpc.version}</version>
158             </dependency>
159             <dependency>
160                 <groupId>io.grpc</groupId>
161                 <artifactId>grpc-stub</artifactId>
162                 <version>${grpc.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>com.google.protobuf</groupId>
166                 <artifactId>protobuf-java-util</artifactId>
167                 <version>${protobuff.java.utils.version}</version>
168             </dependency>
169
170
171             <!-- Database -->
172             <dependency>
173                 <groupId>com.h2database</groupId>
174                 <artifactId>h2</artifactId>
175                 <version>${h2database.version}</version>
176             </dependency>
177
178
179             <!-- Application Components -->
180             <dependency>
181                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
182                 <artifactId>core</artifactId>
183                 <version>${project.version}</version>
184             </dependency>
185             <dependency>
186                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
187                 <artifactId>resource-dict</artifactId>
188                 <version>${project.version}</version>
189             </dependency>
190
191             <!-- Testing Dependencies -->
192             <dependency>
193                 <groupId>org.powermock</groupId>
194                 <artifactId>powermock-api-mockito2</artifactId>
195                 <version>${powermock.version}</version>
196                 <scope>test</scope>
197             </dependency>
198             <dependency>
199                 <groupId>org.jetbrains.kotlin</groupId>
200                 <artifactId>kotlin-test-junit</artifactId>
201                 <version>${kotlin.version}</version>
202                 <scope>test</scope>
203             </dependency>
204             <dependency>
205                 <groupId>io.grpc</groupId>
206                 <artifactId>grpc-testing</artifactId>
207                 <version>${grpc.version}</version>
208                 <scope>test</scope>
209             </dependency>
210         </dependencies>
211     </dependencyManagement>
212
213     <dependencies>
214         <dependency>
215             <groupId>com.att.eelf</groupId>
216             <artifactId>eelf-core</artifactId>
217         </dependency>
218         <dependency>
219             <groupId>org.onap.logging-analytics</groupId>
220             <artifactId>logging-slf4j</artifactId>
221         </dependency>
222         <dependency>
223             <groupId>org.apache.commons</groupId>
224             <artifactId>commons-lang3</artifactId>
225         </dependency>
226         <dependency>
227             <groupId>commons-collections</groupId>
228             <artifactId>commons-collections</artifactId>
229         </dependency>
230         <dependency>
231             <groupId>commons-io</groupId>
232             <artifactId>commons-io</artifactId>
233         </dependency>
234         <dependency>
235             <groupId>org.apache.commons</groupId>
236             <artifactId>commons-compress</artifactId>
237         </dependency>
238         <dependency>
239             <groupId>com.jayway.jsonpath</groupId>
240             <artifactId>json-path</artifactId>
241         </dependency>
242         <dependency>
243             <groupId>com.google.guava</groupId>
244             <artifactId>guava</artifactId>
245         </dependency>
246         <dependency>
247             <groupId>io.springfox</groupId>
248             <artifactId>springfox-swagger2</artifactId>
249         </dependency>
250         <dependency>
251             <groupId>io.springfox</groupId>
252             <artifactId>springfox-swagger-ui</artifactId>
253         </dependency>
254         <dependency>
255             <groupId>org.jetbrains.kotlin</groupId>
256             <artifactId>kotlin-stdlib</artifactId>
257         </dependency>
258         <dependency>
259             <groupId>org.jetbrains.kotlin</groupId>
260             <artifactId>kotlin-stdlib-jdk8</artifactId>
261         </dependency>
262         <dependency>
263             <groupId>org.jetbrains.kotlinx</groupId>
264             <artifactId>kotlinx-coroutines-core</artifactId>
265         </dependency>
266         <dependency>
267             <groupId>org.jetbrains.kotlinx</groupId>
268             <artifactId>kotlinx-coroutines-reactor</artifactId>
269         </dependency>
270         <dependency>
271             <groupId>com.fasterxml.jackson.module</groupId>
272             <artifactId>jackson-module-kotlin</artifactId>
273         </dependency>
274         <!-- GRPC Dependencies -->
275         <dependency>
276             <groupId>io.grpc</groupId>
277             <artifactId>grpc-netty</artifactId>
278         </dependency>
279         <dependency>
280             <groupId>io.grpc</groupId>
281             <artifactId>grpc-protobuf</artifactId>
282         </dependency>
283         <dependency>
284             <groupId>io.grpc</groupId>
285             <artifactId>grpc-stub</artifactId>
286         </dependency>
287         <dependency>
288             <groupId>com.google.protobuf</groupId>
289             <artifactId>protobuf-java-util</artifactId>
290         </dependency>
291
292     </dependencies>
293
294     <build>
295         <plugins>
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-source-plugin</artifactId>
299                 <version>3.0.1</version>
300                 <executions>
301                     <execution>
302                         <id>attach-sources</id>
303                         <goals>
304                             <goal>jar</goal>
305                         </goals>
306                     </execution>
307                 </executions>
308             </plugin>
309
310             <plugin>
311                 <artifactId>kotlin-maven-plugin</artifactId>
312                 <groupId>org.jetbrains.kotlin</groupId>
313                 <version>${kotlin.maven.version}</version>
314                 <executions>
315                     <execution>
316                         <id>compile</id>
317                         <goals>
318                             <goal>compile</goal>
319                         </goals>
320                         <configuration>
321                             <sourceDirs>
322                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
323                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
324                             </sourceDirs>
325                         </configuration>
326                     </execution>
327                     <execution>
328                         <id>test-compile</id>
329                         <goals>
330                             <goal>test-compile</goal>
331                         </goals>
332                         <configuration>
333                             <sourceDirs>
334                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
335                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
336                             </sourceDirs>
337                         </configuration>
338                     </execution>
339                 </executions>
340             </plugin>
341             <plugin>
342                 <groupId>org.apache.maven.plugins</groupId>
343                 <artifactId>maven-compiler-plugin</artifactId>
344                 <version>3.5.1</version>
345                 <configuration>
346                     <source>${maven.compiler.source}</source>
347                     <target>${maven.compiler.target}</target>
348                 </configuration>
349                 <executions>
350                     <!-- Replacing default-compile as it is treated specially by maven -->
351                     <execution>
352                         <id>default-compile</id>
353                         <phase>none</phase>
354                     </execution>
355                     <!-- Replacing default-testCompile as it is treated specially by maven -->
356                     <execution>
357                         <id>default-testCompile</id>
358                         <phase>none</phase>
359                     </execution>
360                     <execution>
361                         <id>java-compile</id>
362                         <phase>compile</phase>
363                         <goals>
364                             <goal>compile</goal>
365                         </goals>
366                     </execution>
367                     <execution>
368                         <id>java-test-compile</id>
369                         <phase>test-compile</phase>
370                         <goals>
371                             <goal>testCompile</goal>
372                         </goals>
373                     </execution>
374                 </executions>
375             </plugin>
376         </plugins>
377     </build>
378 </project>