Merge "Blueprint exception handler and REST responses"
[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-scripting-jvm-host</artifactId>
308         </dependency>
309         <!-- GRPC Dependencies -->
310         <dependency>
311             <groupId>io.grpc</groupId>
312             <artifactId>grpc-netty</artifactId>
313         </dependency>
314         <dependency>
315             <groupId>io.grpc</groupId>
316             <artifactId>grpc-protobuf</artifactId>
317         </dependency>
318         <dependency>
319             <groupId>io.grpc</groupId>
320             <artifactId>grpc-stub</artifactId>
321         </dependency>
322         <dependency>
323             <groupId>com.google.protobuf</groupId>
324             <artifactId>protobuf-java-util</artifactId>
325         </dependency>
326
327     </dependencies>
328
329     <build>
330         <plugins>
331             <plugin>
332                 <groupId>org.apache.maven.plugins</groupId>
333                 <artifactId>maven-source-plugin</artifactId>
334                 <version>3.0.1</version>
335                 <executions>
336                     <execution>
337                         <id>attach-sources</id>
338                         <goals>
339                             <goal>jar</goal>
340                         </goals>
341                     </execution>
342                 </executions>
343             </plugin>
344
345             <plugin>
346                 <artifactId>kotlin-maven-plugin</artifactId>
347                 <groupId>org.jetbrains.kotlin</groupId>
348                 <version>${kotlin.maven.version}</version>
349                 <executions>
350                     <execution>
351                         <id>compile</id>
352                         <goals>
353                             <goal>compile</goal>
354                         </goals>
355                         <configuration>
356                             <sourceDirs>
357                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
358                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
359                             </sourceDirs>
360                         </configuration>
361                     </execution>
362                     <execution>
363                         <id>test-compile</id>
364                         <goals>
365                             <goal>test-compile</goal>
366                         </goals>
367                         <configuration>
368                             <sourceDirs>
369                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
370                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
371                             </sourceDirs>
372                         </configuration>
373                     </execution>
374                 </executions>
375             </plugin>
376             <plugin>
377                 <groupId>org.apache.maven.plugins</groupId>
378                 <artifactId>maven-compiler-plugin</artifactId>
379                 <version>3.5.1</version>
380                 <configuration>
381                     <source>${maven.compiler.source}</source>
382                     <target>${maven.compiler.target}</target>
383                 </configuration>
384                 <executions>
385                     <!-- Replacing default-compile as it is treated specially by maven -->
386                     <execution>
387                         <id>default-compile</id>
388                         <phase>none</phase>
389                     </execution>
390                     <!-- Replacing default-testCompile as it is treated specially by maven -->
391                     <execution>
392                         <id>default-testCompile</id>
393                         <phase>none</phase>
394                     </execution>
395                     <execution>
396                         <id>java-compile</id>
397                         <phase>compile</phase>
398                         <goals>
399                             <goal>compile</goal>
400                         </goals>
401                     </execution>
402                     <execution>
403                         <id>java-test-compile</id>
404                         <phase>test-compile</phase>
405                         <goals>
406                             <goal>testCompile</goal>
407                         </goals>
408                     </execution>
409                 </executions>
410             </plugin>
411         </plugins>
412     </build>
413 </project>