blob: b92f40667ff8e991bfee5578a8631fbf991081a6 [file] [log] [blame]
Aharoni, Pavel (pa0916)d2946182018-12-17 11:21:02 +02001<?xml version="1.0"?>
2<!--/*-
3 * ============LICENSE_START=======================================================
4 * OSAM Core
5 * ================================================================================
6 * Copyright (C) 2018 AT&T
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
20 */-->
21
22<project
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
24 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.osam</groupId>
27 <artifactId>onap-enabler</artifactId>
28 <version>0.0.2</version>
29 <packaging>pom</packaging>
30
31 <properties>
32 <encoding>UTF-8</encoding>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35 <epsdk.version>2.4.0</epsdk.version>
36 <springframework.version>4.2.9.RELEASE</springframework.version>
37 <hibernate.version>4.3.11.Final</hibernate.version>
38 <!-- Skip assembling the zip by default -->
39 <skipassembly>true</skipassembly>
40 <!-- Tests usually require some setup that maven cannot do, so skip. -->
41 <!--<skiptests>false</skiptests>-->
42 <nexusproxy>https://nexus.onap.org</nexusproxy>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
46 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
47 <swagger.version>2.8.0</swagger.version>
48
49 <!-- SONAR -->
50 <sonar.language>java</sonar.language>
51 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
52 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
53 <sonar.projectVersion>${project.version}</sonar.projectVersion>
54
55 </properties>
56 <repositories>
57 <repository>
58 <id>ecomp-releases</id>
59 <name>OSAM Release Repository</name>
60 <url>${nexusproxy}${releaseNexusPath}</url>
61 </repository>
62 <repository>
63 <id>ecomp-snapshots</id>
64 <name>OSAM Snapshot Repository</name>
65 <url>${nexusproxy}${snapshotNexusPath}</url>
66 </repository>
67 <repository>
68 <id>ecomp-staging</id>
69 <name>OSAM Staging Repository</name>
70 <url>${nexusproxy}${stagingNexusPath}</url>
71 </repository>
72 <repository>
73 <!-- Snapshots repository has ECOMP snapshot artifacts -->
74 <id>oss-snapshots</id>
75 <name>oss Central - Snapshots</name>
76 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
77 </repository>
78 <repository>
79 <id>maven2-repo</id>
80 <name>Maven2 repo</name>
81 <url>https://repo.maven.apache.org/maven2</url>
82 </repository>
83 </repositories>
84 <distributionManagement>
85 <repository>
86 <id>ecomp-releases</id>
87 <name>VID Release Repository</name>
88 <url>${nexusproxy}/${releaseNexusPath}</url>
89 </repository>
90 <snapshotRepository>
91 <id>ecomp-snapshots</id>
92 <name>VID Snapshot Repository</name>
93 <url>${nexusproxy}/${snapshotNexusPath}</url>
94 </snapshotRepository>
95 <!-- added for javadoc -->
96 <site>
97 <id>ecomp-site</id>
98 <url>dav:${nexusproxy}${sitePath}</url>
99 </site>
100 </distributionManagement>
101
102 <dependencyManagement>
103 <dependencies>
104 <dependency>
105 <groupId>com.opencsv</groupId>
106 <artifactId>opencsv</artifactId>
107 <version>4.1</version>
108 </dependency>
109 <dependency>
110 <groupId>com.att.eelf</groupId>
111 <artifactId>eelf-core</artifactId>
112 <version>1.0.0</version>
113 </dependency>
114 <dependency>
115 <groupId>com.fasterxml.jackson.core</groupId>
116 <artifactId>jackson-annotations</artifactId>
117 <version>2.6.3</version>
118 </dependency>
119 <dependency>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-core</artifactId>
122 <version>2.8.6</version>
123 </dependency>
124 <dependency>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-databind</artifactId>
127 <version>2.6.7.1</version>
128 </dependency>
129 <dependency>
130 <groupId>com.mchange</groupId>
131 <artifactId>c3p0</artifactId>
132 <version>0.9.5.2</version>
133 </dependency>
134 <dependency>
135 <groupId>io.joshworks.unirest</groupId>
136 <artifactId>unirest-java</artifactId>
137 <version>0.2.1</version>
138 </dependency>
139 <dependency>
140 <groupId>io.searchbox</groupId>
141 <artifactId>jest</artifactId>
142 <version>2.0.0</version>
143 </dependency>
144 <dependency>
145 <groupId>javax.servlet</groupId>
146 <artifactId>javax.servlet-api</artifactId>
147 <version>3.1.0</version>
148 </dependency>
149 <dependency>
150 <groupId>junit</groupId>
151 <artifactId>junit</artifactId>
152 <version>4.12</version>
153 </dependency>
154 <dependency>
155 <groupId>org.json</groupId>
156 <artifactId>json</artifactId>
157 <version>20170516</version>
158 </dependency>
159 <dependency>
160 <groupId>org.quartz-scheduler</groupId>
161 <artifactId>quartz</artifactId>
162 <version>2.2.1</version>
163 </dependency>
164 <!-- bridge to implement commons-logging using slf4j -->
165 <dependency>
166 <groupId>org.slf4j</groupId>
167 <artifactId>jcl-over-slf4j</artifactId>
168 <version>1.7.12</version>
169 </dependency>
170 <dependency>
171 <groupId>org.springframework</groupId>
172 <artifactId>spring-aop</artifactId>
173 <version>${springframework.version}</version>
174 </dependency>
175 <dependency>
176 <groupId>org.springframework</groupId>
177 <artifactId>spring-test</artifactId>
178 <version>${springframework.version}</version>
179 </dependency>
180 <dependency>
181 <groupId>org.springframework</groupId>
182 <artifactId>spring-tx</artifactId>
183 <version>${springframework.version}</version>
184 </dependency>
185 <dependency>
186 <groupId>org.springframework</groupId>
187 <artifactId>spring-web</artifactId>
188 <version>${springframework.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.springframework</groupId>
192 <artifactId>spring-webmvc</artifactId>
193 <version>${springframework.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.apache.httpcomponents</groupId>
197 <artifactId>httpclient</artifactId>
198 <version>4.5.5</version>
199 </dependency>
200 <dependency>
201 <groupId>org.apache.httpcomponents</groupId>
202 <artifactId>httpasyncclient</artifactId>
203 <version>4.1.1</version>
204 </dependency>
205 <dependency>
206 <groupId>org.apache.httpcomponents</groupId>
207 <artifactId>httpmime</artifactId>
208 <version>4.5.5</version>
209 </dependency>
210 <dependency>
211 <groupId>org.springframework</groupId>
212 <artifactId>spring-context-support</artifactId>
213 <version>${springframework.version}</version>
214 </dependency>
215 <dependency>
216 <groupId>org.springframework</groupId>
217 <artifactId>spring-core</artifactId>
218 <version>${springframework.version}</version>
219 </dependency>
220 <dependency>
221 <groupId>org.springframework</groupId>
222 <artifactId>spring-test</artifactId>
223 <version>${springframework.version}</version>
224 </dependency>
225 <dependency>
226 <groupId>org.glassfish.jersey.core</groupId>
227 <artifactId>jersey-client</artifactId>
228 <version>2.23.1</version>
229 </dependency>
230 <dependency>
231 <groupId>org.glassfish.jersey.connectors</groupId>
232 <artifactId>jersey-jetty-connector</artifactId>
233 <version>2.23.1</version>
234 </dependency>
235 <dependency>
236 <groupId>com.fasterxml.jackson.jaxrs</groupId>
237 <artifactId>jackson-jaxrs-json-provider</artifactId>
238 <version>2.6.3</version>
239 </dependency>
240 <dependency>
241 <groupId>commons-beanutils</groupId>
242 <artifactId>commons-beanutils</artifactId>
243 <version>1.9.3</version>
244 </dependency>
245 <dependency>
246 <groupId>com.googlecode.json-simple</groupId>
247 <artifactId>json-simple</artifactId>
248 <version>1.1.1</version>
249 </dependency>
250 <dependency>
251 <groupId>org.testng</groupId>
252 <artifactId>testng</artifactId>
253 <version>6.14.3</version>
254 </dependency>
255 <dependency>
256 <groupId>com.xebialabs.restito</groupId>
257 <artifactId>restito</artifactId>
258 <version>0.9.3</version>
259 </dependency>
260 <dependency>
261 <groupId>io.springfox</groupId>
262 <artifactId>springfox-swagger-ui</artifactId>
263 <version>${swagger.version}</version>
264 </dependency>
265 <dependency>
266 <groupId>io.springfox</groupId>
267 <artifactId>springfox-swagger2</artifactId>
268 <version>${swagger.version}</version>
269 </dependency>
270 <dependency>
271 <groupId>org.onap.osam</groupId>
272 <artifactId>osam-common</artifactId>
273 <version>${project.version}</version>
274 </dependency>
275 <dependency>
276 <groupId>xml-apis</groupId>
277 <artifactId>xml-apis</artifactId>
278 <version>2.0.2</version>
279 </dependency>
280 <dependency>
281 <groupId>org.yaml</groupId>
282 <artifactId>snakeyaml</artifactId>
283 <version>1.19</version>
284 </dependency>
285 <dependency>
286 <groupId>org.skyscreamer</groupId>
287 <artifactId>jsonassert</artifactId>
288 <version>1.5.0</version>
289 </dependency>
290 <dependency>
291 <groupId>net.javacrumbs.json-unit</groupId>
292 <artifactId>json-unit</artifactId>
293 <version>1.23.0</version>
294 </dependency>
295 <dependency>
296 <groupId>org.apache.commons</groupId>
297 <artifactId>commons-text</artifactId>
298 <version>1.1</version>
299 </dependency>
300 <dependency>
301 <groupId>org.hamcrest</groupId>
302 <artifactId>java-hamcrest</artifactId>
303 <version>2.0.0.0</version>
304 </dependency>
305 <dependency>
306 <groupId>org.togglz</groupId>
307 <artifactId>togglz-spring-core</artifactId>
308 <version>2.5.0.Final</version>
309 </dependency>
310 <dependency>
311 <groupId>org.assertj</groupId>
312 <artifactId>assertj-core</artifactId>
313 <version>3.10.0</version>
314 </dependency>
315 <!-- Helpers -->
316 <dependency>
317 <groupId>org.projectlombok</groupId>
318 <artifactId>lombok</artifactId>
319 <version>1.18.2</version>
320 </dependency>
321 <dependency>
322 <groupId>io.vavr</groupId>
323 <artifactId>vavr</artifactId>
324 <version>0.9.2</version>
325 </dependency>
326
327 <!-- SDK overlay war -->
328 <dependency>
329 <groupId>org.onap.portal.sdk</groupId>
330 <artifactId>epsdk-app-overlay</artifactId>
331 <version>${epsdk.version}</version>
332 <type>war</type>
333 </dependency>
334 <dependency>
335 <groupId>org.onap.portal.sdk</groupId>
336 <artifactId>epsdk-app-common</artifactId>
337 <version>${epsdk.version}</version>
338 <type>jar</type>
339 </dependency>
340
341 <dependency>
342 <groupId>org.onap.portal.sdk</groupId>
343 <artifactId>epsdk-core</artifactId>
344 <version>${epsdk.version}</version>
345 </dependency>
346 <dependency>
347 <groupId>org.onap.portal.sdk</groupId>
348 <artifactId>epsdk-analytics</artifactId>
349 <version>${epsdk.version}</version>
350 </dependency>
351 <dependency>
352 <groupId>org.onap.portal.sdk</groupId>
353 <artifactId>epsdk-workflow</artifactId>
354 <version>${epsdk.version}</version>
355 </dependency>
356 <dependency>
357 <groupId>org.onap.osam</groupId>
358 <artifactId>onap-enabler-be</artifactId>
359 <version>${project.version}</version>
360 <type>war</type>
361 <exclusions>
362 <exclusion>
363 <groupId>com.fasterxml.jackson.core</groupId>
364 <artifactId>jackson-core</artifactId>
365 </exclusion>
366 </exclusions>
367 </dependency>
368 <dependency>
369 <groupId>org.onap.osam</groupId>
370 <artifactId>onap-enabler-be</artifactId>
371 <version>${project.version}</version>
372 <type>jar</type>
373 <classifier>classes</classifier>
374 </dependency>
375 <dependency>
376 <groupId>ch.qos.logback</groupId>
377 <artifactId>logback-core</artifactId>
378 <version>1.2.3</version>
379 </dependency>
380 <dependency>
381 <groupId>ch.qos.logback</groupId>
382 <artifactId>logback-classic</artifactId>
383 <version>1.2.3</version>
384 </dependency>
385 <dependency>
386 <groupId>commons-io</groupId>
387 <artifactId>commons-io</artifactId>
388 <version>2.4</version>
389 </dependency>
390 <dependency>
391 <groupId>com.google.code.bean-matchers</groupId>
392 <artifactId>bean-matchers</artifactId>
393 <version>0.11</version>
394 </dependency>
395 </dependencies>
396 </dependencyManagement>
397
398 <build>
399 <pluginManagement>
400 <plugins>
401 <plugin>
402 <groupId>org.sonatype.plugins</groupId>
403 <artifactId>nexus-staging-maven-plugin</artifactId>
404 <version>1.6.7</version>
405 <extensions>true</extensions>
406 <configuration>
407 <nexusUrl>${nexusproxy}</nexusUrl>
408 <stagingProfileId>176c31dfe190a</stagingProfileId>
409 <serverId>ecomp-staging</serverId>
410 </configuration>
411 </plugin>
412
413 <!-- Compile to Java 1.8 class output format -->
414 <plugin>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-compiler-plugin</artifactId>
417 <version>3.7.0</version>
418 <configuration>
419 <source>1.8</source>
420 <target>1.8</target>
421 </configuration>
422 </plugin>
423
424 <plugin>
425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-surefire-plugin</artifactId>
427 <version>2.21.0</version>
428 <configuration>
429 <useSystemClassLoader>false</useSystemClassLoader>
430 <!--
431 <skipTests>${skiptests}</skipTests>
432 -->
433 <includes>
434 <include>**/Test*.java</include>
435 <include>**/*Test.java</include>
436 <include>**/*TestCase.java</include>
437 </includes>
438 <additionalClasspathElements>
439 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
440 </additionalClasspathElements>
441 <systemPropertyVariables>
442 <container.classpath>classpath:</container.classpath>
443 </systemPropertyVariables>
444 </configuration>
445 </plugin>
446
447 <plugin>
448 <groupId>org.jacoco</groupId>
449 <artifactId>jacoco-maven-plugin</artifactId>
450 <version>0.8.1</version>
451 <executions>
452 <execution>
453 <id>default-prepare-agent</id>
454 <goals>
455 <goal>prepare-agent</goal>
456 </goals>
457 </execution>
458 <execution>
459 <id>default-report</id>
460 <goals>
461 <goal>report</goal>
462 </goals>
463 </execution>
464 </executions>
465 </plugin>
466
467 <plugin>
468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-war-plugin</artifactId>
470 <version>3.2.0</version>
471 </plugin>
472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-site-plugin</artifactId>
475 <version>3.6</version>
476 <dependencies>
477 <dependency>
478 <groupId>org.apache.maven.wagon</groupId>
479 <artifactId>wagon-webdav-jackrabbit</artifactId>
480 <version>2.10</version>
481 </dependency>
482 </dependencies>
483 </plugin>
484 <plugin>
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-assembly-plugin</artifactId>
487 <version>3.0.0</version>
488 <configuration>
489 <skipAssembly>${skipassembly}</skipAssembly>
490 <descriptors>
491 <descriptor>${basedir}/distribution.xml</descriptor>
492 </descriptors>
493 </configuration>
494 <executions>
495 <execution>
496 <id>make-assembly</id>
497 <phase>package</phase>
498 <goals>
499 <goal>single</goal>
500 </goals>
501 </execution>
502 </executions>
503 </plugin>
504 <plugin>
505 <groupId>org.sonarsource.scanner.maven</groupId>
506 <artifactId>sonar-maven-plugin</artifactId>
507 <version>3.3.0.603</version>
508 </plugin>
509 </plugins>
510 </pluginManagement>
511 </build>
512
513 <modules>
514 <module>onap-enabler-be</module>
515 <module>onap-enabler-infra</module>
516 </modules>
517</project>