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