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