Migrate ccsdk/apps to ccsdk/cds
[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" 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>components</artifactId>
24         <version>0.4.2-SNAPSHOT</version>
25     </parent>
26     <groupId>org.onap.ccsdk.cds.components</groupId>
27     <artifactId>parent</artifactId>
28     <name>Components Parent</name>
29     <packaging>pom</packaging>
30     <properties>
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         <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-stdlib-common</artifactId>
121                 <version>${kotlin.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>org.jetbrains.kotlin</groupId>
125                 <artifactId>kotlin-scripting-jvm-host</artifactId>
126                 <version>${kotlin.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>org.jetbrains.kotlin</groupId>
130                 <artifactId>kotlin-compiler-embeddable</artifactId>
131                 <version>${kotlin.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>org.jetbrains.kotlin</groupId>
135                 <artifactId>kotlin-script-util</artifactId>
136                 <version>${kotlin.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>org.jetbrains.kotlin</groupId>
140                 <artifactId>kotlin-script-runtime</artifactId>
141                 <version>${kotlin.version}</version>
142             </dependency>
143             <dependency>
144                 <groupId>org.jetbrains.kotlinx</groupId>
145                 <artifactId>kotlinx-coroutines-core</artifactId>
146                 <version>${kotlin.couroutines.version}</version>
147             </dependency>
148             <dependency>
149                 <groupId>org.jetbrains.kotlinx</groupId>
150                 <artifactId>kotlinx-coroutines-reactor</artifactId>
151                 <version>${kotlin.couroutines.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>org.jetbrains.kotlin</groupId>
155                 <artifactId>kotlin-reflect</artifactId>
156                 <version>${kotlin.version}</version>
157             </dependency>
158             <dependency>
159                 <groupId>org.jetbrains.kotlin</groupId>
160                 <artifactId>kotlin-stdlib-jdk8</artifactId>
161                 <version>${kotlin.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>org.jetbrains.kotlin</groupId>
165                 <artifactId>kotlin-stdlib-jdk7</artifactId>
166                 <version>${kotlin.version}</version>
167             </dependency>
168
169             <!-- GRPC Dependencies -->
170             <dependency>
171                 <groupId>io.grpc</groupId>
172                 <artifactId>grpc-core</artifactId>
173                 <version>${grpc.version}</version>
174             </dependency>
175             <dependency>
176                 <groupId>io.grpc</groupId>
177                 <artifactId>grpc-netty</artifactId>
178                 <version>${grpc.version}</version>
179             </dependency>
180             <dependency>
181                 <groupId>io.grpc</groupId>
182                 <artifactId>grpc-protobuf</artifactId>
183                 <version>${grpc.version}</version>
184             </dependency>
185             <dependency>
186                 <groupId>io.grpc</groupId>
187                 <artifactId>grpc-stub</artifactId>
188                 <version>${grpc.version}</version>
189             </dependency>
190             <dependency>
191                 <groupId>com.google.protobuf</groupId>
192                 <artifactId>protobuf-java-util</artifactId>
193                 <version>${protobuff.java.utils.version}</version>
194             </dependency>
195
196
197             <!-- Database -->
198             <dependency>
199                 <groupId>com.h2database</groupId>
200                 <artifactId>h2</artifactId>
201                 <version>${h2database.version}</version>
202             </dependency>
203
204
205             <!-- Testing Dependencies -->
206             <dependency>
207                 <groupId>io.mockk</groupId>
208                 <artifactId>mockk</artifactId>
209                 <version>${mockk.version}</version>
210                 <scope>test</scope>
211             </dependency>
212             <dependency>
213                 <groupId>org.jetbrains.kotlin</groupId>
214                 <artifactId>kotlin-test-junit</artifactId>
215                 <version>${kotlin.version}</version>
216                 <scope>test</scope>
217             </dependency>
218             <dependency>
219                 <groupId>org.jetbrains.kotlinx</groupId>
220                 <artifactId>kotlinx-coroutines-test</artifactId>
221                 <version>${kotlin.couroutines.version}</version>
222                 <scope>test</scope>
223             </dependency>
224             <dependency>
225                 <groupId>io.grpc</groupId>
226                 <artifactId>grpc-testing</artifactId>
227                 <version>${grpc.version}</version>
228                 <scope>test</scope>
229             </dependency>
230         </dependencies>
231     </dependencyManagement>
232
233     <dependencies>
234         <dependency>
235             <groupId>com.att.eelf</groupId>
236             <artifactId>eelf-core</artifactId>
237         </dependency>
238         <dependency>
239             <groupId>org.onap.logging-analytics</groupId>
240             <artifactId>logging-slf4j</artifactId>
241         </dependency>
242         <dependency>
243             <groupId>org.apache.commons</groupId>
244             <artifactId>commons-lang3</artifactId>
245         </dependency>
246         <dependency>
247             <groupId>commons-collections</groupId>
248             <artifactId>commons-collections</artifactId>
249         </dependency>
250         <dependency>
251             <groupId>commons-io</groupId>
252             <artifactId>commons-io</artifactId>
253         </dependency>
254         <dependency>
255             <groupId>org.apache.commons</groupId>
256             <artifactId>commons-compress</artifactId>
257         </dependency>
258         <dependency>
259             <groupId>com.jayway.jsonpath</groupId>
260             <artifactId>json-path</artifactId>
261         </dependency>
262         <dependency>
263             <groupId>com.google.guava</groupId>
264             <artifactId>guava</artifactId>
265         </dependency>
266         <dependency>
267             <groupId>io.springfox</groupId>
268             <artifactId>springfox-swagger2</artifactId>
269         </dependency>
270         <dependency>
271             <groupId>io.springfox</groupId>
272             <artifactId>springfox-swagger-ui</artifactId>
273         </dependency>
274         <dependency>
275             <groupId>org.jetbrains.kotlin</groupId>
276             <artifactId>kotlin-stdlib</artifactId>
277         </dependency>
278         <dependency>
279             <groupId>org.jetbrains.kotlin</groupId>
280             <artifactId>kotlin-script-util</artifactId>
281         </dependency>
282         <dependency>
283             <groupId>org.jetbrains.kotlin</groupId>
284             <artifactId>kotlin-stdlib-jdk8</artifactId>
285         </dependency>
286         <dependency>
287             <groupId>org.jetbrains.kotlinx</groupId>
288             <artifactId>kotlinx-coroutines-core</artifactId>
289         </dependency>
290         <dependency>
291             <groupId>org.jetbrains.kotlinx</groupId>
292             <artifactId>kotlinx-coroutines-reactor</artifactId>
293         </dependency>
294         <dependency>
295             <groupId>com.fasterxml.jackson.module</groupId>
296             <artifactId>jackson-module-kotlin</artifactId>
297         </dependency>
298         <!-- GRPC Dependencies -->
299         <dependency>
300             <groupId>io.grpc</groupId>
301             <artifactId>grpc-netty</artifactId>
302         </dependency>
303         <dependency>
304             <groupId>io.grpc</groupId>
305             <artifactId>grpc-protobuf</artifactId>
306         </dependency>
307         <dependency>
308             <groupId>io.grpc</groupId>
309             <artifactId>grpc-stub</artifactId>
310         </dependency>
311         <dependency>
312             <groupId>com.google.protobuf</groupId>
313             <artifactId>protobuf-java-util</artifactId>
314         </dependency>
315
316     </dependencies>
317
318     <build>
319         <plugins>
320             <plugin>
321                 <groupId>org.apache.maven.plugins</groupId>
322                 <artifactId>maven-source-plugin</artifactId>
323                 <version>3.0.1</version>
324                 <executions>
325                     <execution>
326                         <id>attach-sources</id>
327                         <goals>
328                             <goal>jar</goal>
329                         </goals>
330                     </execution>
331                 </executions>
332             </plugin>
333
334             <plugin>
335                 <artifactId>kotlin-maven-plugin</artifactId>
336                 <groupId>org.jetbrains.kotlin</groupId>
337                 <version>${kotlin.maven.version}</version>
338                 <executions>
339                     <execution>
340                         <id>compile</id>
341                         <goals>
342                             <goal>compile</goal>
343                         </goals>
344                         <configuration>
345                             <sourceDirs>
346                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
347                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
348                             </sourceDirs>
349                         </configuration>
350                     </execution>
351                     <execution>
352                         <id>test-compile</id>
353                         <goals>
354                             <goal>test-compile</goal>
355                         </goals>
356                         <configuration>
357                             <sourceDirs>
358                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
359                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
360                             </sourceDirs>
361                         </configuration>
362                     </execution>
363                 </executions>
364             </plugin>
365             <plugin>
366                 <groupId>org.apache.maven.plugins</groupId>
367                 <artifactId>maven-compiler-plugin</artifactId>
368                 <version>3.5.1</version>
369                 <configuration>
370                     <source>${maven.compiler.source}</source>
371                     <target>${maven.compiler.target}</target>
372                 </configuration>
373                 <executions>
374                     <!-- Replacing default-compile as it is treated specially by maven -->
375                     <execution>
376                         <id>default-compile</id>
377                         <phase>none</phase>
378                     </execution>
379                     <!-- Replacing default-testCompile as it is treated specially by maven -->
380                     <execution>
381                         <id>default-testCompile</id>
382                         <phase>none</phase>
383                     </execution>
384                     <execution>
385                         <id>java-compile</id>
386                         <phase>compile</phase>
387                         <goals>
388                             <goal>compile</goal>
389                         </goals>
390                     </execution>
391                     <execution>
392                         <id>java-test-compile</id>
393                         <phase>test-compile</phase>
394                         <goals>
395                             <goal>testCompile</goal>
396                         </goals>
397                     </execution>
398                 </executions>
399             </plugin>
400         </plugins>
401     </build>
402 </project>