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