Refactor resource dictionary entity and repositories.
[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.6.1-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>blueprint-validation</artifactId>
226                 <version>${project.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
230                 <artifactId>service</artifactId>
231                 <version>${project.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
235                 <artifactId>application</artifactId>
236                 <version>${project.version}</version>
237             </dependency>
238
239             <!-- Testing Dependencies -->
240             <dependency>
241                 <groupId>io.mockk</groupId>
242                 <artifactId>mockk</artifactId>
243                 <version>${mockk.version}</version>
244                 <scope>test</scope>
245             </dependency>
246             <dependency>
247                 <groupId>org.powermock</groupId>
248                 <artifactId>powermock-api-mockito2</artifactId>
249                 <version>${powermock.version}</version>
250                 <scope>test</scope>
251             </dependency>
252             <dependency>
253                 <groupId>org.jetbrains.kotlin</groupId>
254                 <artifactId>kotlin-test-junit</artifactId>
255                 <version>${kotlin.version}</version>
256                 <scope>test</scope>
257             </dependency>
258             <dependency>
259                 <groupId>org.jetbrains.kotlinx</groupId>
260                 <artifactId>kotlinx-coroutines-test</artifactId>
261                 <version>${kotlin.couroutines.version}</version>
262                 <scope>test</scope>
263             </dependency>
264             <dependency>
265                 <groupId>io.grpc</groupId>
266                 <artifactId>grpc-testing</artifactId>
267                 <version>${grpc.version}</version>
268                 <scope>test</scope>
269             </dependency>
270         </dependencies>
271     </dependencyManagement>
272
273     <dependencies>
274         <dependency>
275             <groupId>org.apache.commons</groupId>
276             <artifactId>commons-lang3</artifactId>
277         </dependency>
278         <dependency>
279             <groupId>commons-collections</groupId>
280             <artifactId>commons-collections</artifactId>
281         </dependency>
282         <dependency>
283             <groupId>commons-io</groupId>
284             <artifactId>commons-io</artifactId>
285         </dependency>
286         <dependency>
287             <groupId>com.jayway.jsonpath</groupId>
288             <artifactId>json-path</artifactId>
289             <exclusions>
290                 <exclusion>
291                     <groupId>org.slf4j</groupId>
292                     <artifactId>slf4j-api</artifactId>
293                 </exclusion>
294             </exclusions>
295         </dependency>
296         <dependency>
297             <groupId>com.google.guava</groupId>
298             <artifactId>guava</artifactId>
299         </dependency>
300         <dependency>
301             <groupId>io.springfox</groupId>
302             <artifactId>springfox-swagger2</artifactId>
303             <exclusions>
304                 <exclusion>
305                     <groupId>org.slf4j</groupId>
306                     <artifactId>slf4j-api</artifactId>
307                 </exclusion>
308             </exclusions>
309         </dependency>
310         <dependency>
311             <groupId>io.springfox</groupId>
312             <artifactId>springfox-swagger-ui</artifactId>
313         </dependency>
314         <dependency>
315             <groupId>org.jetbrains.kotlin</groupId>
316             <artifactId>kotlin-stdlib</artifactId>
317         </dependency>
318         <dependency>
319             <groupId>org.jetbrains.kotlin</groupId>
320             <artifactId>kotlin-script-util</artifactId>
321         </dependency>
322         <dependency>
323             <groupId>org.jetbrains.kotlin</groupId>
324             <artifactId>kotlin-stdlib-jdk8</artifactId>
325         </dependency>
326         <dependency>
327             <groupId>org.jetbrains.kotlinx</groupId>
328             <artifactId>kotlinx-coroutines-core</artifactId>
329         </dependency>
330         <dependency>
331             <groupId>org.jetbrains.kotlinx</groupId>
332             <artifactId>kotlinx-coroutines-reactor</artifactId>
333         </dependency>
334         <dependency>
335             <groupId>com.fasterxml.jackson.module</groupId>
336             <artifactId>jackson-module-kotlin</artifactId>
337         </dependency>
338         <!-- GRPC Dependencies -->
339         <dependency>
340             <groupId>io.grpc</groupId>
341             <artifactId>grpc-netty</artifactId>
342         </dependency>
343         <dependency>
344             <groupId>io.grpc</groupId>
345             <artifactId>grpc-protobuf</artifactId>
346         </dependency>
347         <dependency>
348             <groupId>io.grpc</groupId>
349             <artifactId>grpc-stub</artifactId>
350         </dependency>
351         <dependency>
352             <groupId>com.google.protobuf</groupId>
353             <artifactId>protobuf-java-util</artifactId>
354         </dependency>
355     </dependencies>
356
357     <build>
358         <plugins>
359             <plugin>
360                 <groupId>org.apache.maven.plugins</groupId>
361                 <artifactId>maven-source-plugin</artifactId>
362                 <version>3.0.1</version>
363                 <executions>
364                     <execution>
365                         <id>attach-sources</id>
366                         <goals>
367                             <goal>jar</goal>
368                         </goals>
369                     </execution>
370                 </executions>
371             </plugin>
372
373             <plugin>
374                 <artifactId>kotlin-maven-plugin</artifactId>
375                 <groupId>org.jetbrains.kotlin</groupId>
376                 <version>${kotlin.maven.version}</version>
377                 <executions>
378                     <execution>
379                         <id>compile</id>
380                         <goals>
381                             <goal>compile</goal>
382                         </goals>
383                         <configuration>
384                             <sourceDirs>
385                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
386                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
387                             </sourceDirs>
388                         </configuration>
389                     </execution>
390                     <execution>
391                         <id>test-compile</id>
392                         <goals>
393                             <goal>test-compile</goal>
394                         </goals>
395                         <configuration>
396                             <sourceDirs>
397                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
398                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
399                             </sourceDirs>
400                         </configuration>
401                     </execution>
402                 </executions>
403             </plugin>
404             <plugin>
405                 <groupId>org.apache.maven.plugins</groupId>
406                 <artifactId>maven-compiler-plugin</artifactId>
407                 <version>3.5.1</version>
408                 <configuration>
409                     <source>${maven.compiler.source}</source>
410                     <target>${maven.compiler.target}</target>
411                 </configuration>
412                 <executions>
413                     <!-- Replacing default-compile as it is treated specially by maven -->
414                     <execution>
415                         <id>default-compile</id>
416                         <phase>none</phase>
417                     </execution>
418                     <!-- Replacing default-testCompile as it is treated specially by maven -->
419                     <execution>
420                         <id>default-testCompile</id>
421                         <phase>none</phase>
422                     </execution>
423                     <execution>
424                         <id>java-compile</id>
425                         <phase>compile</phase>
426                         <goals>
427                             <goal>compile</goal>
428                         </goals>
429                     </execution>
430                     <execution>
431                         <id>java-test-compile</id>
432                         <phase>test-compile</phase>
433                         <goals>
434                             <goal>testCompile</goal>
435                         </goals>
436                     </execution>
437                 </executions>
438             </plugin>
439         </plugins>
440     </build>
441 </project>