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