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