blob: 1c49aed33636823ada6416e9f70042b73e51e1db [file] [log] [blame]
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +00001<?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 -->
Timoney, Dan (dt5972)b78d5812019-01-08 14:40:54 -050019<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">
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000020 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <groupId>org.onap.ccsdk.apps</groupId>
23 <artifactId>components</artifactId>
Timoney, Dan (dt5972)71ed2c92018-10-25 10:34:51 -040024 <version>0.4.0-SNAPSHOT</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000025 </parent>
26 <groupId>org.onap.ccsdk.apps.components</groupId>
27 <artifactId>parent</artifactId>
Alexis de Talhouët5decf252019-01-03 16:53:40 -050028 <name>Components Parent</name>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000029 <packaging>pom</packaging>
30 <properties>
Muthuramalingam, Brinda Santh(bs2796)bd288182018-12-01 19:54:07 -050031 <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
32 <spring.version>5.1.3.RELEASE</spring.version>
Muthuramalingam, Brinda Santh(bs2796)ec928662018-11-15 08:36:28 -050033 <kotlin.version>1.3.10</kotlin.version>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -050034 <kotlin.maven.version>1.3.10</kotlin.maven.version>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050035 <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -050036 <grpc.version>1.16.1</grpc.version>
Muthuramalingam, Brinda Santh(bs2796)c9d21f32018-12-07 16:37:03 -050037 <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000038 <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>
Timoney, Dan (dt5972)71ed2c92018-10-25 10:34:51 -040042 <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050043 <powermock.version>1.7.4</powermock.version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000044 </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>
Muthuramalingam, Brinda Santh(bs2796)04425eb2018-12-04 10:25:44 -050095 <groupId>org.apache.commons</groupId>
96 <artifactId>commons-compress</artifactId>
97 <version>1.15</version>
98 </dependency>
99 <dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000100 <groupId>org.apache.velocity</groupId>
101 <artifactId>velocity</artifactId>
102 <version>1.7</version>
103 </dependency>
104 <dependency>
105 <groupId>com.google.guava</groupId>
106 <artifactId>guava</artifactId>
107 <version>${guava.version}</version>
108 </dependency>
109
110 <!-- Kotlin Dependencies -->
111 <dependency>
112 <groupId>org.jetbrains.kotlin</groupId>
113 <artifactId>kotlin-stdlib</artifactId>
114 <version>${kotlin.version}</version>
115 </dependency>
116 <dependency>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500117 <groupId>org.jetbrains.kotlinx</groupId>
118 <artifactId>kotlinx-coroutines-core</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500119 <version>${kotlin.couroutines.version}</version>
120 </dependency>
121 <dependency>
Muthuramalingam, Brinda Santh(bs2796)d35235f2018-12-20 11:16:31 -0500122 <groupId>org.jetbrains.kotlinx</groupId>
123 <artifactId>kotlinx-coroutines-reactor</artifactId>
124 <version>${kotlin.couroutines.version}</version>
125 </dependency>
126 <dependency>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500127 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000128 <artifactId>kotlin-reflect</artifactId>
129 <version>${kotlin.version}</version>
130 </dependency>
131 <dependency>
132 <groupId>org.jetbrains.kotlin</groupId>
133 <artifactId>kotlin-stdlib-jdk8</artifactId>
134 <version>${kotlin.version}</version>
135 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500136 <dependency>
137 <groupId>org.jetbrains.kotlin</groupId>
138 <artifactId>kotlin-stdlib-jdk7</artifactId>
139 <version>${kotlin.version}</version>
140 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000141
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500142 <!-- GRPC Dependencies -->
143 <dependency>
144 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)bd288182018-12-01 19:54:07 -0500145 <artifactId>grpc-core</artifactId>
146 <version>${grpc.version}</version>
147 </dependency>
148 <dependency>
149 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500150 <artifactId>grpc-netty</artifactId>
151 <version>${grpc.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>io.grpc</groupId>
155 <artifactId>grpc-protobuf</artifactId>
156 <version>${grpc.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>io.grpc</groupId>
160 <artifactId>grpc-stub</artifactId>
161 <version>${grpc.version}</version>
162 </dependency>
Muthuramalingam, Brinda Santh(bs2796)c9d21f32018-12-07 16:37:03 -0500163 <dependency>
164 <groupId>com.google.protobuf</groupId>
165 <artifactId>protobuf-java-util</artifactId>
166 <version>${protobuff.java.utils.version}</version>
167 </dependency>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500168
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000169
170 <!-- Database -->
171 <dependency>
172 <groupId>com.h2database</groupId>
173 <artifactId>h2</artifactId>
174 <version>${h2database.version}</version>
175 </dependency>
176
177
178 <!-- Application Components -->
179 <dependency>
180 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
181 <artifactId>core</artifactId>
182 <version>${project.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000186 <artifactId>resource-dict</artifactId>
187 <version>${project.version}</version>
188 </dependency>
189
190 <!-- Testing Dependencies -->
191 <dependency>
192 <groupId>org.powermock</groupId>
193 <artifactId>powermock-api-mockito2</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500194 <version>${powermock.version}</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000195 <scope>test</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500199 <artifactId>kotlin-test-junit</artifactId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000200 <version>${kotlin.version}</version>
201 <scope>test</scope>
202 </dependency>
Muthuramalingam, Brinda Santh(bs2796)bd288182018-12-01 19:54:07 -0500203 <dependency>
204 <groupId>io.grpc</groupId>
205 <artifactId>grpc-testing</artifactId>
206 <version>${grpc.version}</version>
207 <scope>test</scope>
208 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000209 </dependencies>
210 </dependencyManagement>
211
212 <dependencies>
213 <dependency>
214 <groupId>com.att.eelf</groupId>
215 <artifactId>eelf-core</artifactId>
216 </dependency>
217 <dependency>
218 <groupId>org.onap.logging-analytics</groupId>
219 <artifactId>logging-slf4j</artifactId>
220 </dependency>
221 <dependency>
222 <groupId>org.apache.commons</groupId>
223 <artifactId>commons-lang3</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500224 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000225 <dependency>
226 <groupId>commons-collections</groupId>
227 <artifactId>commons-collections</artifactId>
228 </dependency>
229 <dependency>
230 <groupId>commons-io</groupId>
231 <artifactId>commons-io</artifactId>
232 </dependency>
233 <dependency>
Muthuramalingam, Brinda Santh(bs2796)04425eb2018-12-04 10:25:44 -0500234 <groupId>org.apache.commons</groupId>
235 <artifactId>commons-compress</artifactId>
236 </dependency>
237 <dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000238 <groupId>com.jayway.jsonpath</groupId>
239 <artifactId>json-path</artifactId>
240 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500241 <dependency>
242 <groupId>com.google.guava</groupId>
243 <artifactId>guava</artifactId>
244 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000245 <dependency>
246 <groupId>io.springfox</groupId>
247 <artifactId>springfox-swagger2</artifactId>
248 </dependency>
249 <dependency>
250 <groupId>io.springfox</groupId>
251 <artifactId>springfox-swagger-ui</artifactId>
252 </dependency>
253 <dependency>
254 <groupId>org.jetbrains.kotlin</groupId>
255 <artifactId>kotlin-stdlib</artifactId>
256 </dependency>
257 <dependency>
258 <groupId>org.jetbrains.kotlin</groupId>
259 <artifactId>kotlin-stdlib-jdk8</artifactId>
260 </dependency>
261 <dependency>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500262 <groupId>org.jetbrains.kotlinx</groupId>
263 <artifactId>kotlinx-coroutines-core</artifactId>
264 </dependency>
265 <dependency>
Muthuramalingam, Brinda Santh(bs2796)d35235f2018-12-20 11:16:31 -0500266 <groupId>org.jetbrains.kotlinx</groupId>
267 <artifactId>kotlinx-coroutines-reactor</artifactId>
268 </dependency>
269 <dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000270 <groupId>com.fasterxml.jackson.module</groupId>
271 <artifactId>jackson-module-kotlin</artifactId>
272 </dependency>
Muthuramalingam, Brinda Santh(bs2796)c9d21f32018-12-07 16:37:03 -0500273 <!-- GRPC Dependencies -->
274 <dependency>
275 <groupId>io.grpc</groupId>
276 <artifactId>grpc-netty</artifactId>
277 </dependency>
278 <dependency>
279 <groupId>io.grpc</groupId>
280 <artifactId>grpc-protobuf</artifactId>
281 </dependency>
282 <dependency>
283 <groupId>io.grpc</groupId>
284 <artifactId>grpc-stub</artifactId>
285 </dependency>
286 <dependency>
287 <groupId>com.google.protobuf</groupId>
288 <artifactId>protobuf-java-util</artifactId>
289 </dependency>
290
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000291 </dependencies>
292
293 <build>
294 <plugins>
295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-source-plugin</artifactId>
298 <version>3.0.1</version>
299 <executions>
300 <execution>
301 <id>attach-sources</id>
302 <goals>
303 <goal>jar</goal>
304 </goals>
305 </execution>
306 </executions>
307 </plugin>
308
309 <plugin>
310 <artifactId>kotlin-maven-plugin</artifactId>
311 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)ec928662018-11-15 08:36:28 -0500312 <version>${kotlin.maven.version}</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000313 <executions>
314 <execution>
315 <id>compile</id>
316 <goals>
317 <goal>compile</goal>
318 </goals>
319 <configuration>
320 <sourceDirs>
321 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
322 <sourceDir>${project.basedir}/src/main/java</sourceDir>
323 </sourceDirs>
324 </configuration>
325 </execution>
326 <execution>
327 <id>test-compile</id>
328 <goals>
329 <goal>test-compile</goal>
330 </goals>
331 <configuration>
332 <sourceDirs>
333 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
334 <sourceDir>${project.basedir}/src/test/java</sourceDir>
335 </sourceDirs>
336 </configuration>
337 </execution>
338 </executions>
339 </plugin>
340 <plugin>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-compiler-plugin</artifactId>
343 <version>3.5.1</version>
344 <configuration>
345 <source>${maven.compiler.source}</source>
346 <target>${maven.compiler.target}</target>
347 </configuration>
348 <executions>
349 <!-- Replacing default-compile as it is treated specially by maven -->
350 <execution>
351 <id>default-compile</id>
352 <phase>none</phase>
353 </execution>
354 <!-- Replacing default-testCompile as it is treated specially by maven -->
355 <execution>
356 <id>default-testCompile</id>
357 <phase>none</phase>
358 </execution>
359 <execution>
360 <id>java-compile</id>
361 <phase>compile</phase>
362 <goals>
363 <goal>compile</goal>
364 </goals>
365 </execution>
366 <execution>
367 <id>java-test-compile</id>
368 <phase>test-compile</phase>
369 <goals>
370 <goal>testCompile</goal>
371 </goals>
372 </execution>
373 </executions>
374 </plugin>
375 </plugins>
376 </build>
377</project>