blob: 8a779c1dc35b47eba12f8c297b3001a66d55d13a [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 -->
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050019<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">
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.onap.ccsdk.apps</groupId>
24 <artifactId>components</artifactId>
Timoney, Dan (dt5972)71ed2c92018-10-25 10:34:51 -040025 <version>0.4.0-SNAPSHOT</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000026 </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>
Muthuramalingam, Brinda Santh(bs2796)bd288182018-12-01 19:54:07 -050032 <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
33 <spring.version>5.1.3.RELEASE</spring.version>
Muthuramalingam, Brinda Santh(bs2796)ec928662018-11-15 08:36:28 -050034 <kotlin.version>1.3.10</kotlin.version>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -050035 <kotlin.maven.version>1.3.10</kotlin.maven.version>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050036 <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -050037 <grpc.version>1.16.1</grpc.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>
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>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500112 <groupId>org.jetbrains.kotlinx</groupId>
113 <artifactId>kotlinx-coroutines-core</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500114 <version>${kotlin.couroutines.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000118 <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>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500126 <dependency>
127 <groupId>org.jetbrains.kotlin</groupId>
128 <artifactId>kotlin-stdlib-jdk7</artifactId>
129 <version>${kotlin.version}</version>
130 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000131
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500132 <!-- GRPC Dependencies -->
133 <dependency>
134 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)bd288182018-12-01 19:54:07 -0500135 <artifactId>grpc-core</artifactId>
136 <version>${grpc.version}</version>
137 </dependency>
138 <dependency>
139 <groupId>io.grpc</groupId>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500140 <artifactId>grpc-netty</artifactId>
141 <version>${grpc.version}</version>
142 </dependency>
143 <dependency>
144 <groupId>io.grpc</groupId>
145 <artifactId>grpc-protobuf</artifactId>
146 <version>${grpc.version}</version>
147 </dependency>
148 <dependency>
149 <groupId>io.grpc</groupId>
150 <artifactId>grpc-stub</artifactId>
151 <version>${grpc.version}</version>
152 </dependency>
153
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000154
155 <!-- Database -->
156 <dependency>
157 <groupId>com.h2database</groupId>
158 <artifactId>h2</artifactId>
159 <version>${h2database.version}</version>
160 </dependency>
161
162
163 <!-- Application Components -->
164 <dependency>
165 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
166 <artifactId>core</artifactId>
167 <version>${project.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000171 <artifactId>resource-dict</artifactId>
172 <version>${project.version}</version>
173 </dependency>
174
175 <!-- Testing Dependencies -->
176 <dependency>
177 <groupId>org.powermock</groupId>
178 <artifactId>powermock-api-mockito2</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500179 <version>${powermock.version}</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000180 <scope>test</scope>
181 </dependency>
182 <dependency>
183 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500184 <artifactId>kotlin-test-junit</artifactId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000185 <version>${kotlin.version}</version>
186 <scope>test</scope>
187 </dependency>
Muthuramalingam, Brinda Santh(bs2796)bd288182018-12-01 19:54:07 -0500188 <dependency>
189 <groupId>io.grpc</groupId>
190 <artifactId>grpc-testing</artifactId>
191 <version>${grpc.version}</version>
192 <scope>test</scope>
193 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000194 </dependencies>
195 </dependencyManagement>
196
197 <dependencies>
198 <dependency>
199 <groupId>com.att.eelf</groupId>
200 <artifactId>eelf-core</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.onap.logging-analytics</groupId>
204 <artifactId>logging-slf4j</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.commons</groupId>
208 <artifactId>commons-lang3</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500209 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000210 <dependency>
211 <groupId>commons-collections</groupId>
212 <artifactId>commons-collections</artifactId>
213 </dependency>
214 <dependency>
215 <groupId>commons-io</groupId>
216 <artifactId>commons-io</artifactId>
217 </dependency>
218 <dependency>
219 <groupId>com.jayway.jsonpath</groupId>
220 <artifactId>json-path</artifactId>
221 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500222 <dependency>
223 <groupId>com.google.guava</groupId>
224 <artifactId>guava</artifactId>
225 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000226 <dependency>
227 <groupId>io.springfox</groupId>
228 <artifactId>springfox-swagger2</artifactId>
229 </dependency>
230 <dependency>
231 <groupId>io.springfox</groupId>
232 <artifactId>springfox-swagger-ui</artifactId>
233 </dependency>
234 <dependency>
235 <groupId>org.jetbrains.kotlin</groupId>
236 <artifactId>kotlin-stdlib</artifactId>
237 </dependency>
238 <dependency>
239 <groupId>org.jetbrains.kotlin</groupId>
240 <artifactId>kotlin-stdlib-jdk8</artifactId>
241 </dependency>
242 <dependency>
Muthuramalingam, Brinda Santh(bs2796)d80471b2018-11-24 14:25:26 -0500243 <groupId>org.jetbrains.kotlinx</groupId>
244 <artifactId>kotlinx-coroutines-core</artifactId>
245 </dependency>
246 <dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000247 <groupId>com.fasterxml.jackson.module</groupId>
248 <artifactId>jackson-module-kotlin</artifactId>
249 </dependency>
250 </dependencies>
251
252 <build>
253 <plugins>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-source-plugin</artifactId>
257 <version>3.0.1</version>
258 <executions>
259 <execution>
260 <id>attach-sources</id>
261 <goals>
262 <goal>jar</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267
268 <plugin>
269 <artifactId>kotlin-maven-plugin</artifactId>
270 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)ec928662018-11-15 08:36:28 -0500271 <version>${kotlin.maven.version}</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000272 <executions>
273 <execution>
274 <id>compile</id>
275 <goals>
276 <goal>compile</goal>
277 </goals>
278 <configuration>
279 <sourceDirs>
280 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
281 <sourceDir>${project.basedir}/src/main/java</sourceDir>
282 </sourceDirs>
283 </configuration>
284 </execution>
285 <execution>
286 <id>test-compile</id>
287 <goals>
288 <goal>test-compile</goal>
289 </goals>
290 <configuration>
291 <sourceDirs>
292 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
293 <sourceDir>${project.basedir}/src/test/java</sourceDir>
294 </sourceDirs>
295 </configuration>
296 </execution>
297 </executions>
298 </plugin>
299 <plugin>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-compiler-plugin</artifactId>
302 <version>3.5.1</version>
303 <configuration>
304 <source>${maven.compiler.source}</source>
305 <target>${maven.compiler.target}</target>
306 </configuration>
307 <executions>
308 <!-- Replacing default-compile as it is treated specially by maven -->
309 <execution>
310 <id>default-compile</id>
311 <phase>none</phase>
312 </execution>
313 <!-- Replacing default-testCompile as it is treated specially by maven -->
314 <execution>
315 <id>default-testCompile</id>
316 <phase>none</phase>
317 </execution>
318 <execution>
319 <id>java-compile</id>
320 <phase>compile</phase>
321 <goals>
322 <goal>compile</goal>
323 </goals>
324 </execution>
325 <execution>
326 <id>java-test-compile</id>
327 <phase>test-compile</phase>
328 <goals>
329 <goal>testCompile</goal>
330 </goals>
331 </execution>
332 </executions>
333 </plugin>
334 </plugins>
335 </build>
336</project>