Add coroutines and GRPC maven dependencies.
[ccsdk/apps.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"
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>components</artifactId>
25         <version>0.4.0-SNAPSHOT</version>
26     </parent>
27     <groupId>org.onap.ccsdk.apps.components</groupId>
28     <artifactId>parent</artifactId>
29     <name>App Components Parent</name>
30     <packaging>pom</packaging>
31     <properties>
32         <spring.boot.version>2.0.6.RELEASE</spring.boot.version>
33         <spring.version>5.0.10.RELEASE</spring.version>
34         <kotlin.version>1.3.10</kotlin.version>
35         <kotlin.maven.version>1.3.10</kotlin.maven.version>
36         <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
37         <grpc.version>1.16.1</grpc.version>
38         <eelf.version>1.0.0</eelf.version>
39         <guava.version>26.0-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.kotlinx</groupId>
113                 <artifactId>kotlinx-coroutines-core</artifactId>
114                 <version>${kotlin.couroutines.version}</version>
115             </dependency>
116             <dependency>
117                 <groupId>org.jetbrains.kotlin</groupId>
118                 <artifactId>kotlin-reflect</artifactId>
119                 <version>${kotlin.version}</version>
120             </dependency>
121             <dependency>
122                 <groupId>org.jetbrains.kotlin</groupId>
123                 <artifactId>kotlin-stdlib-jdk8</artifactId>
124                 <version>${kotlin.version}</version>
125             </dependency>
126             <dependency>
127                 <groupId>org.jetbrains.kotlin</groupId>
128                 <artifactId>kotlin-stdlib-jdk7</artifactId>
129                 <version>${kotlin.version}</version>
130             </dependency>
131
132             <!-- GRPC Dependencies -->
133             <dependency>
134                 <groupId>io.grpc</groupId>
135                 <artifactId>grpc-netty</artifactId>
136                 <version>${grpc.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>io.grpc</groupId>
140                 <artifactId>grpc-protobuf</artifactId>
141                 <version>${grpc.version}</version>
142             </dependency>
143             <dependency>
144                 <groupId>io.grpc</groupId>
145                 <artifactId>grpc-stub</artifactId>
146                 <version>${grpc.version}</version>
147             </dependency>
148
149
150             <!-- Database -->
151             <dependency>
152                 <groupId>com.h2database</groupId>
153                 <artifactId>h2</artifactId>
154                 <version>${h2database.version}</version>
155             </dependency>
156
157
158             <!-- Application Components -->
159             <dependency>
160                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
161                 <artifactId>core</artifactId>
162                 <version>${project.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
166                 <artifactId>resource-dict</artifactId>
167                 <version>${project.version}</version>
168             </dependency>
169
170             <!-- Testing Dependencies -->
171             <dependency>
172                 <groupId>org.powermock</groupId>
173                 <artifactId>powermock-api-mockito2</artifactId>
174                 <version>${powermock.version}</version>
175                 <scope>test</scope>
176             </dependency>
177             <dependency>
178                 <groupId>org.jetbrains.kotlin</groupId>
179                 <artifactId>kotlin-test-junit</artifactId>
180                 <version>${kotlin.version}</version>
181                 <scope>test</scope>
182             </dependency>
183         </dependencies>
184     </dependencyManagement>
185
186     <dependencies>
187         <dependency>
188             <groupId>com.att.eelf</groupId>
189             <artifactId>eelf-core</artifactId>
190         </dependency>
191         <dependency>
192             <groupId>org.onap.logging-analytics</groupId>
193             <artifactId>logging-slf4j</artifactId>
194         </dependency>
195         <dependency>
196             <groupId>org.apache.commons</groupId>
197             <artifactId>commons-lang3</artifactId>
198         </dependency>
199         <dependency>
200             <groupId>commons-collections</groupId>
201             <artifactId>commons-collections</artifactId>
202         </dependency>
203         <dependency>
204             <groupId>commons-io</groupId>
205             <artifactId>commons-io</artifactId>
206         </dependency>
207         <dependency>
208             <groupId>com.jayway.jsonpath</groupId>
209             <artifactId>json-path</artifactId>
210         </dependency>
211         <dependency>
212             <groupId>com.google.guava</groupId>
213             <artifactId>guava</artifactId>
214         </dependency>
215         <dependency>
216             <groupId>io.springfox</groupId>
217             <artifactId>springfox-swagger2</artifactId>
218         </dependency>
219         <dependency>
220             <groupId>io.springfox</groupId>
221             <artifactId>springfox-swagger-ui</artifactId>
222         </dependency>
223         <dependency>
224             <groupId>org.jetbrains.kotlin</groupId>
225             <artifactId>kotlin-stdlib</artifactId>
226         </dependency>
227         <dependency>
228             <groupId>org.jetbrains.kotlin</groupId>
229             <artifactId>kotlin-stdlib-jdk8</artifactId>
230         </dependency>
231         <dependency>
232             <groupId>org.jetbrains.kotlinx</groupId>
233             <artifactId>kotlinx-coroutines-core</artifactId>
234         </dependency>
235         <dependency>
236             <groupId>com.fasterxml.jackson.module</groupId>
237             <artifactId>jackson-module-kotlin</artifactId>
238         </dependency>
239     </dependencies>
240
241     <build>
242         <plugins>
243             <plugin>
244                 <groupId>org.apache.maven.plugins</groupId>
245                 <artifactId>maven-source-plugin</artifactId>
246                 <version>3.0.1</version>
247                 <executions>
248                     <execution>
249                         <id>attach-sources</id>
250                         <goals>
251                             <goal>jar</goal>
252                         </goals>
253                     </execution>
254                 </executions>
255             </plugin>
256
257             <plugin>
258                 <artifactId>kotlin-maven-plugin</artifactId>
259                 <groupId>org.jetbrains.kotlin</groupId>
260                 <version>${kotlin.maven.version}</version>
261                 <executions>
262                     <execution>
263                         <id>compile</id>
264                         <goals>
265                             <goal>compile</goal>
266                         </goals>
267                         <configuration>
268                             <sourceDirs>
269                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
270                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
271                             </sourceDirs>
272                         </configuration>
273                     </execution>
274                     <execution>
275                         <id>test-compile</id>
276                         <goals>
277                             <goal>test-compile</goal>
278                         </goals>
279                         <configuration>
280                             <sourceDirs>
281                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
282                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
283                             </sourceDirs>
284                         </configuration>
285                     </execution>
286                 </executions>
287             </plugin>
288             <plugin>
289                 <groupId>org.apache.maven.plugins</groupId>
290                 <artifactId>maven-compiler-plugin</artifactId>
291                 <version>3.5.1</version>
292                 <configuration>
293                     <source>${maven.compiler.source}</source>
294                     <target>${maven.compiler.target}</target>
295                 </configuration>
296                 <executions>
297                     <!-- Replacing default-compile as it is treated specially by maven -->
298                     <execution>
299                         <id>default-compile</id>
300                         <phase>none</phase>
301                     </execution>
302                     <!-- Replacing default-testCompile as it is treated specially by maven -->
303                     <execution>
304                         <id>default-testCompile</id>
305                         <phase>none</phase>
306                     </execution>
307                     <execution>
308                         <id>java-compile</id>
309                         <phase>compile</phase>
310                         <goals>
311                             <goal>compile</goal>
312                         </goals>
313                     </execution>
314                     <execution>
315                         <id>java-test-compile</id>
316                         <phase>test-compile</phase>
317                         <goals>
318                             <goal>testCompile</goal>
319                         </goals>
320                     </execution>
321                 </executions>
322             </plugin>
323         </plugins>
324     </build>
325 </project>