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