578a0c7ef15e8b7a81e947d76c4a3cf89e31400f
[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.1.RELEASE</spring.boot.version>
32         <spring.version>5.1.3.RELEASE</spring.version>
33         <kotlin.version>1.3.11</kotlin.version>
34         <kotlin.maven.version>1.3.11</kotlin.maven.version>
35         <kotlin.couroutines.version>1.1.0</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             <dependency>
117                 <groupId>org.jetbrains.kotlin</groupId>
118                 <artifactId>kotlin-scripting-jvm-host</artifactId>
119                 <version>${kotlin.version}</version>
120             </dependency>
121             <dependency>
122                 <groupId>org.jetbrains.kotlin</groupId>
123                 <artifactId>kotlin-compiler-embeddable</artifactId>
124                 <version>${kotlin.version}</version>
125                 <scope>runtime</scope>
126             </dependency>
127             <dependency>
128                 <groupId>org.jetbrains.kotlin</groupId>
129                 <artifactId>kotlin-script-util</artifactId>
130                 <version>${kotlin.version}</version>
131             </dependency>
132             <dependency>
133                 <groupId>org.jetbrains.kotlin</groupId>
134                 <artifactId>kotlin-script-runtime</artifactId>
135                 <version>${kotlin.version}</version>
136             </dependency>
137             <dependency>
138                 <groupId>org.jetbrains.kotlin</groupId>
139                 <artifactId>kotlinx-couroutines-core</artifactId>
140                 <version>${kotlin.couroutines.version}</version>
141             </dependency>
142             <dependency>
143                 <groupId>org.jetbrains.kotlinx</groupId>
144                 <artifactId>kotlinx-coroutines-reactor</artifactId>
145                 <version>${kotlin.couroutines.version}</version>
146             </dependency>
147             <dependency>
148                 <groupId>org.jetbrains.kotlin</groupId>
149                 <artifactId>kotlin-reflect</artifactId>
150                 <version>${kotlin.version}</version>
151             </dependency>
152             <dependency>
153                 <groupId>org.jetbrains.kotlin</groupId>
154                 <artifactId>kotlin-stdlib-jdk8</artifactId>
155                 <version>${kotlin.version}</version>
156             </dependency>
157             <dependency>
158                 <groupId>org.jetbrains.kotlin</groupId>
159                 <artifactId>kotlin-stdlib-jdk7</artifactId>
160                 <version>${kotlin.version}</version>
161             </dependency>
162
163             <!-- GRPC Dependencies -->
164             <dependency>
165                 <groupId>io.grpc</groupId>
166                 <artifactId>grpc-core</artifactId>
167                 <version>${grpc.version}</version>
168             </dependency>
169             <dependency>
170                 <groupId>io.grpc</groupId>
171                 <artifactId>grpc-netty</artifactId>
172                 <version>${grpc.version}</version>
173             </dependency>
174             <dependency>
175                 <groupId>io.grpc</groupId>
176                 <artifactId>grpc-protobuf</artifactId>
177                 <version>${grpc.version}</version>
178             </dependency>
179             <dependency>
180                 <groupId>io.grpc</groupId>
181                 <artifactId>grpc-stub</artifactId>
182                 <version>${grpc.version}</version>
183             </dependency>
184             <dependency>
185                 <groupId>com.google.protobuf</groupId>
186                 <artifactId>protobuf-java-util</artifactId>
187                 <version>${protobuff.java.utils.version}</version>
188             </dependency>
189
190             <!-- Database -->
191             <dependency>
192                 <groupId>com.h2database</groupId>
193                 <artifactId>h2</artifactId>
194                 <version>${h2database.version}</version>
195             </dependency>
196
197
198             <!-- Application Components -->
199             <dependency>
200                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
201                 <artifactId>core</artifactId>
202                 <version>${project.version}</version>
203             </dependency>
204             <dependency>
205                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
206                 <artifactId>service</artifactId>
207                 <version>${project.version}</version>
208             </dependency>
209             <dependency>
210                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
211                 <artifactId>application</artifactId>
212                 <version>${project.version}</version>
213             </dependency>
214             <dependency>
215                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
216                 <artifactId>resource-dict</artifactId>
217                 <version>${project.version}</version>
218             </dependency>
219             <dependency>
220                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
221                 <artifactId>db-resources</artifactId>
222                 <version>${project.version}</version>
223             </dependency>
224             <dependency>
225                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
226                 <artifactId>blueprint-validation</artifactId>
227                 <version>${project.version}</version>
228             </dependency>
229
230             <!-- Testing Dependencies -->
231             <dependency>
232                 <groupId>org.powermock</groupId>
233                 <artifactId>powermock-api-mockito2</artifactId>
234                 <version>${powermock.version}</version>
235                 <scope>test</scope>
236             </dependency>
237             <dependency>
238                 <groupId>org.jetbrains.kotlin</groupId>
239                 <artifactId>kotlin-test-junit</artifactId>
240                 <version>${kotlin.version}</version>
241                 <scope>test</scope>
242             </dependency>
243             <dependency>
244                 <groupId>io.grpc</groupId>
245                 <artifactId>grpc-testing</artifactId>
246                 <version>${grpc.version}</version>
247                 <scope>test</scope>
248             </dependency>
249         </dependencies>
250     </dependencyManagement>
251
252     <dependencies>
253         <dependency>
254             <groupId>com.att.eelf</groupId>
255             <artifactId>eelf-core</artifactId>
256         </dependency>
257         <dependency>
258             <groupId>org.onap.logging-analytics</groupId>
259             <artifactId>logging-slf4j</artifactId>
260         </dependency>
261         <dependency>
262             <groupId>org.apache.commons</groupId>
263             <artifactId>commons-lang3</artifactId>
264          </dependency>
265         <dependency>
266             <groupId>commons-collections</groupId>
267             <artifactId>commons-collections</artifactId>
268         </dependency>
269         <dependency>
270             <groupId>commons-io</groupId>
271             <artifactId>commons-io</artifactId>
272         </dependency>
273         <dependency>
274             <groupId>com.jayway.jsonpath</groupId>
275             <artifactId>json-path</artifactId>
276         </dependency>
277         <dependency>
278             <groupId>io.springfox</groupId>
279             <artifactId>springfox-swagger2</artifactId>
280         </dependency>
281         <dependency>
282             <groupId>io.springfox</groupId>
283             <artifactId>springfox-swagger-ui</artifactId>
284         </dependency>
285         <dependency>
286             <groupId>org.jetbrains.kotlin</groupId>
287             <artifactId>kotlin-stdlib</artifactId>
288         </dependency>
289         <dependency>
290             <groupId>org.jetbrains.kotlin</groupId>
291             <artifactId>kotlin-stdlib-jdk8</artifactId>
292         </dependency>
293         <dependency>
294             <groupId>com.fasterxml.jackson.module</groupId>
295             <artifactId>jackson-module-kotlin</artifactId>
296         </dependency>
297     </dependencies>
298
299     <build>
300         <plugins>
301             <plugin>
302                 <groupId>org.apache.maven.plugins</groupId>
303                 <artifactId>maven-source-plugin</artifactId>
304                 <version>3.0.1</version>
305                 <executions>
306                     <execution>
307                         <id>attach-sources</id>
308                         <goals>
309                             <goal>jar</goal>
310                         </goals>
311                     </execution>
312                 </executions>
313             </plugin>
314
315             <plugin>
316                 <artifactId>kotlin-maven-plugin</artifactId>
317                 <groupId>org.jetbrains.kotlin</groupId>
318                 <version>${kotlin.maven.version}</version>
319                 <executions>
320                     <execution>
321                         <id>compile</id>
322                         <goals>
323                             <goal>compile</goal>
324                         </goals>
325                         <configuration>
326                             <sourceDirs>
327                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
328                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
329                             </sourceDirs>
330                         </configuration>
331                     </execution>
332                     <execution>
333                         <id>test-compile</id>
334                         <goals>
335                             <goal>test-compile</goal>
336                         </goals>
337                         <configuration>
338                             <sourceDirs>
339                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
340                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
341                             </sourceDirs>
342                         </configuration>
343                     </execution>
344                 </executions>
345             </plugin>
346             <plugin>
347                 <groupId>org.apache.maven.plugins</groupId>
348                 <artifactId>maven-compiler-plugin</artifactId>
349                 <version>3.5.1</version>
350                 <configuration>
351                     <source>${maven.compiler.source}</source>
352                     <target>${maven.compiler.target}</target>
353                 </configuration>
354                 <executions>
355                     <!-- Replacing default-compile as it is treated specially by maven -->
356                     <execution>
357                         <id>default-compile</id>
358                         <phase>none</phase>
359                     </execution>
360                     <!-- Replacing default-testCompile as it is treated specially by maven -->
361                     <execution>
362                         <id>default-testCompile</id>
363                         <phase>none</phase>
364                     </execution>
365                     <execution>
366                         <id>java-compile</id>
367                         <phase>compile</phase>
368                         <goals>
369                             <goal>compile</goal>
370                         </goals>
371                     </execution>
372                     <execution>
373                         <id>java-test-compile</id>
374                         <phase>test-compile</phase>
375                         <goals>
376                             <goal>testCompile</goal>
377                         </goals>
378                     </execution>
379                 </executions>
380             </plugin>
381         </plugins>
382     </build>
383 </project>