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