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