Merge "Add declarative acceptance tests"
[ccsdk/cds.git] / ms / controllerblueprints / 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 - 2019 IBM, Bell Canada
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>controllerblueprints</artifactId>
24         <version>0.5.2-SNAPSHOT</version>
25     </parent>
26     <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
27     <artifactId>parent</artifactId>
28     <name>Controller Blueprints 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         <powermock.version>1.7.4</powermock.version>
37         <jinja.version>2.5.1</jinja.version>
38         <velocity.version>1.7</velocity.version>
39     </properties>
40     <dependencyManagement>
41         <dependencies>
42             <!-- Spring boot -->
43             <dependency>
44                 <groupId>org.springframework.boot</groupId>
45                 <artifactId>spring-boot-dependencies</artifactId>
46                 <version>${spring.boot.version}</version>
47                 <type>pom</type>
48                 <scope>import</scope>
49             </dependency>
50
51             <dependency>
52                 <groupId>org.springframework.boot</groupId>
53                 <artifactId>spring-boot-starter-logging</artifactId>
54                 <version>${spring.boot.version}</version>
55                 <exclusions>
56                     <exclusion>
57                         <groupId>org.slf4j</groupId>
58                         <artifactId>slf4j-log4j12</artifactId>
59                     </exclusion>
60                 </exclusions>
61             </dependency>
62
63             <!--Swagger Dependencies -->
64             <dependency>
65                 <groupId>io.springfox</groupId>
66                 <artifactId>springfox-swagger2</artifactId>
67                 <version>${springfox.swagger2.version}</version>
68                 <exclusions>
69                     <exclusion>
70                         <groupId>org.slf4j</groupId>
71                         <artifactId>slf4j-api</artifactId>
72                     </exclusion>
73                 </exclusions>
74             </dependency>
75             <dependency>
76                 <groupId>io.springfox</groupId>
77                 <artifactId>springfox-swagger-ui</artifactId>
78                 <version>${springfox.swagger2.version}</version>
79             </dependency>
80
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.velocity</groupId>
98                 <artifactId>velocity</artifactId>
99                 <version>${velocity.version}</version>
100             </dependency>
101             <dependency>
102                 <groupId>com.hubspot.jinjava</groupId>
103                 <artifactId>jinjava</artifactId>
104                 <version>${jinja.version}</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             <!--Use kotlin-compiler-embeddable instead koltin-compiler wrap-->
124             <!--guava dependency inside kotlin-compiler creating classpath issues at runtime-->
125             <dependency>
126                 <groupId>org.jetbrains.kotlin</groupId>
127                 <artifactId>kotlin-scripting-jvm-host</artifactId>
128                 <version>${kotlin.version}</version>
129                 <exclusions>
130                     <exclusion>
131                         <groupId>org.jetbrains.kotlin</groupId>
132                         <artifactId>kotlin-compile</artifactId>
133                     </exclusion>
134                 </exclusions>
135             </dependency>
136             <dependency>
137                 <groupId>org.jetbrains.kotlin</groupId>
138                 <artifactId>kotlin-compiler-embeddable</artifactId>
139                 <version>${kotlin.version}</version>
140             </dependency>
141             <dependency>
142                 <groupId>org.jetbrains.kotlin</groupId>
143                 <artifactId>kotlin-script-util</artifactId>
144                 <version>${kotlin.version}</version>
145             </dependency>
146             <dependency>
147                 <groupId>org.jetbrains.kotlin</groupId>
148                 <artifactId>kotlin-script-runtime</artifactId>
149                 <version>${kotlin.version}</version>
150             </dependency>
151             <dependency>
152                 <groupId>org.jetbrains.kotlinx</groupId>
153                 <artifactId>kotlinx-coroutines-core</artifactId>
154                 <version>${kotlin.couroutines.version}</version>
155             </dependency>
156             <dependency>
157                 <groupId>org.jetbrains.kotlinx</groupId>
158                 <artifactId>kotlinx-coroutines-reactor</artifactId>
159                 <version>${kotlin.couroutines.version}</version>
160             </dependency>
161             <dependency>
162                 <groupId>org.jetbrains.kotlin</groupId>
163                 <artifactId>kotlin-reflect</artifactId>
164                 <version>${kotlin.version}</version>
165             </dependency>
166             <dependency>
167                 <groupId>org.jetbrains.kotlin</groupId>
168                 <artifactId>kotlin-stdlib-jdk8</artifactId>
169                 <version>${kotlin.version}</version>
170             </dependency>
171             <dependency>
172                 <groupId>org.jetbrains.kotlin</groupId>
173                 <artifactId>kotlin-stdlib-jdk7</artifactId>
174                 <version>${kotlin.version}</version>
175             </dependency>
176
177             <!-- GRPC Dependencies -->
178             <dependency>
179                 <groupId>io.grpc</groupId>
180                 <artifactId>grpc-core</artifactId>
181                 <version>${grpc.version}</version>
182             </dependency>
183             <dependency>
184                 <groupId>io.grpc</groupId>
185                 <artifactId>grpc-netty</artifactId>
186                 <version>${grpc.version}</version>
187             </dependency>
188             <dependency>
189                 <groupId>io.grpc</groupId>
190                 <artifactId>grpc-protobuf</artifactId>
191                 <version>${grpc.version}</version>
192             </dependency>
193             <dependency>
194                 <groupId>io.grpc</groupId>
195                 <artifactId>grpc-stub</artifactId>
196                 <version>${grpc.version}</version>
197             </dependency>
198             <dependency>
199                 <groupId>com.google.protobuf</groupId>
200                 <artifactId>protobuf-java-util</artifactId>
201                 <version>${protobuff.java.utils.version}</version>
202             </dependency>
203
204             <!-- Database -->
205             <dependency>
206                 <groupId>com.h2database</groupId>
207                 <artifactId>h2</artifactId>
208                 <version>${h2database.version}</version>
209             </dependency>
210
211
212             <!-- Application Components -->
213             <dependency>
214                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
215                 <artifactId>blueprint-core</artifactId>
216                 <version>${project.version}</version>
217             </dependency>
218             <dependency>
219                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
220                 <artifactId>resource-dict</artifactId>
221                 <version>${project.version}</version>
222             </dependency>
223             <dependency>
224                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
225                 <artifactId>db-resources</artifactId>
226                 <version>${project.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
230                 <artifactId>blueprint-validation</artifactId>
231                 <version>${project.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
235                 <artifactId>service</artifactId>
236                 <version>${project.version}</version>
237             </dependency>
238             <dependency>
239                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
240                 <artifactId>application</artifactId>
241                 <version>${project.version}</version>
242             </dependency>
243
244             <!-- Testing Dependencies -->
245             <dependency>
246                 <groupId>io.mockk</groupId>
247                 <artifactId>mockk</artifactId>
248                 <version>${mockk.version}</version>
249                 <scope>test</scope>
250             </dependency>
251             <dependency>
252                 <groupId>org.powermock</groupId>
253                 <artifactId>powermock-api-mockito2</artifactId>
254                 <version>${powermock.version}</version>
255                 <scope>test</scope>
256             </dependency>
257             <dependency>
258                 <groupId>org.jetbrains.kotlin</groupId>
259                 <artifactId>kotlin-test-junit</artifactId>
260                 <version>${kotlin.version}</version>
261                 <scope>test</scope>
262             </dependency>
263             <dependency>
264                 <groupId>org.jetbrains.kotlinx</groupId>
265                 <artifactId>kotlinx-coroutines-test</artifactId>
266                 <version>${kotlin.couroutines.version}</version>
267                 <scope>test</scope>
268             </dependency>
269             <dependency>
270                 <groupId>io.grpc</groupId>
271                 <artifactId>grpc-testing</artifactId>
272                 <version>${grpc.version}</version>
273                 <scope>test</scope>
274             </dependency>
275         </dependencies>
276     </dependencyManagement>
277
278     <dependencies>
279         <dependency>
280             <groupId>org.apache.commons</groupId>
281             <artifactId>commons-lang3</artifactId>
282         </dependency>
283         <dependency>
284             <groupId>commons-collections</groupId>
285             <artifactId>commons-collections</artifactId>
286         </dependency>
287         <dependency>
288             <groupId>commons-io</groupId>
289             <artifactId>commons-io</artifactId>
290         </dependency>
291         <dependency>
292             <groupId>com.jayway.jsonpath</groupId>
293             <artifactId>json-path</artifactId>
294             <exclusions>
295                 <exclusion>
296                     <groupId>org.slf4j</groupId>
297                     <artifactId>slf4j-api</artifactId>
298                 </exclusion>
299             </exclusions>
300         </dependency>
301         <dependency>
302             <groupId>com.google.guava</groupId>
303             <artifactId>guava</artifactId>
304         </dependency>
305         <dependency>
306             <groupId>io.springfox</groupId>
307             <artifactId>springfox-swagger2</artifactId>
308             <exclusions>
309                 <exclusion>
310                     <groupId>org.slf4j</groupId>
311                     <artifactId>slf4j-api</artifactId>
312                 </exclusion>
313             </exclusions>
314         </dependency>
315         <dependency>
316             <groupId>io.springfox</groupId>
317             <artifactId>springfox-swagger-ui</artifactId>
318         </dependency>
319         <dependency>
320             <groupId>org.jetbrains.kotlin</groupId>
321             <artifactId>kotlin-stdlib</artifactId>
322         </dependency>
323         <dependency>
324             <groupId>org.jetbrains.kotlin</groupId>
325             <artifactId>kotlin-script-util</artifactId>
326         </dependency>
327         <dependency>
328             <groupId>org.jetbrains.kotlin</groupId>
329             <artifactId>kotlin-stdlib-jdk8</artifactId>
330         </dependency>
331         <dependency>
332             <groupId>org.jetbrains.kotlinx</groupId>
333             <artifactId>kotlinx-coroutines-core</artifactId>
334         </dependency>
335         <dependency>
336             <groupId>org.jetbrains.kotlinx</groupId>
337             <artifactId>kotlinx-coroutines-reactor</artifactId>
338         </dependency>
339         <dependency>
340             <groupId>com.fasterxml.jackson.module</groupId>
341             <artifactId>jackson-module-kotlin</artifactId>
342         </dependency>
343         <!-- GRPC Dependencies -->
344         <dependency>
345             <groupId>io.grpc</groupId>
346             <artifactId>grpc-netty</artifactId>
347         </dependency>
348         <dependency>
349             <groupId>io.grpc</groupId>
350             <artifactId>grpc-protobuf</artifactId>
351         </dependency>
352         <dependency>
353             <groupId>io.grpc</groupId>
354             <artifactId>grpc-stub</artifactId>
355         </dependency>
356         <dependency>
357             <groupId>com.google.protobuf</groupId>
358             <artifactId>protobuf-java-util</artifactId>
359         </dependency>
360     </dependencies>
361
362     <build>
363         <plugins>
364             <plugin>
365                 <groupId>org.apache.maven.plugins</groupId>
366                 <artifactId>maven-source-plugin</artifactId>
367                 <version>3.0.1</version>
368                 <executions>
369                     <execution>
370                         <id>attach-sources</id>
371                         <goals>
372                             <goal>jar</goal>
373                         </goals>
374                     </execution>
375                 </executions>
376             </plugin>
377
378             <plugin>
379                 <artifactId>kotlin-maven-plugin</artifactId>
380                 <groupId>org.jetbrains.kotlin</groupId>
381                 <version>${kotlin.maven.version}</version>
382                 <executions>
383                     <execution>
384                         <id>compile</id>
385                         <goals>
386                             <goal>compile</goal>
387                         </goals>
388                         <configuration>
389                             <sourceDirs>
390                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
391                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
392                             </sourceDirs>
393                         </configuration>
394                     </execution>
395                     <execution>
396                         <id>test-compile</id>
397                         <goals>
398                             <goal>test-compile</goal>
399                         </goals>
400                         <configuration>
401                             <sourceDirs>
402                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
403                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
404                             </sourceDirs>
405                         </configuration>
406                     </execution>
407                 </executions>
408             </plugin>
409             <plugin>
410                 <groupId>org.apache.maven.plugins</groupId>
411                 <artifactId>maven-compiler-plugin</artifactId>
412                 <version>3.5.1</version>
413                 <configuration>
414                     <source>${maven.compiler.source}</source>
415                     <target>${maven.compiler.target}</target>
416                 </configuration>
417                 <executions>
418                     <!-- Replacing default-compile as it is treated specially by maven -->
419                     <execution>
420                         <id>default-compile</id>
421                         <phase>none</phase>
422                     </execution>
423                     <!-- Replacing default-testCompile as it is treated specially by maven -->
424                     <execution>
425                         <id>default-testCompile</id>
426                         <phase>none</phase>
427                     </execution>
428                     <execution>
429                         <id>java-compile</id>
430                         <phase>compile</phase>
431                         <goals>
432                             <goal>compile</goal>
433                         </goals>
434                     </execution>
435                     <execution>
436                         <id>java-test-compile</id>
437                         <phase>test-compile</phase>
438                         <goals>
439                             <goal>testCompile</goal>
440                         </goals>
441                     </execution>
442                 </executions>
443             </plugin>
444         </plugins>
445     </build>
446 </project>