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