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