blob: 025b63a03321106206bddd6d46606d5b42943fd4 [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <!-- This is the Maven project object model (POM) file for the open-source
7 SDK web app. This is NOT the Portal - but it is developed and supported by
8 the Portal team. -->
Ofir Sonsino1cfb0872018-01-31 17:19:00 +02009 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -040010 <artifactId>epsdk-app-onap</artifactId>
Sonsino, Ofir (os0695)ba59d122018-08-26 14:51:39 +030011 <version>3.0.0-SNAPSHOT</version>
jimmydot3982f4f2017-05-07 14:58:24 -040012 <packaging>war</packaging>
13 <name>ECOMP SDK Webapp for OpenSource</name>
14 <description>ECOMP SDK Web Application for public release</description>
15
16 <properties>
17 <encoding>UTF-8</encoding>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Sonsino, Ofir (os0695)7059a9c2018-09-05 16:06:16 +030020 <epsdk.version>2.4.0</epsdk.version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +030021 <springframework.version>4.2.9.RELEASE</springframework.version>
jimmydot3982f4f2017-05-07 14:58:24 -040022 <hibernate.version>4.3.11.Final</hibernate.version>
23 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
24 <skipassembly>true</skipassembly>
25 <!-- Tests usually require some setup that maven cannot do, so skip. -->
Ofir Sonsino3274b392017-10-08 15:04:04 +030026 <skiptests>false</skiptests>
jimmydot3982f4f2017-05-07 14:58:24 -040027 <nexusproxy>https://nexus.onap.org</nexusproxy>
28 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
29 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
30 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +020031 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
Ofir Sonsino3274b392017-10-08 15:04:04 +030032
Ofir Sonsino60fcc812017-09-11 15:21:09 +030033 <!-- SONAR -->
Ofir Sonsino3274b392017-10-08 15:04:04 +030034 <sonar.language>java</sonar.language>
35 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
36 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
37 <sonar.projectVersion>${project.version}</sonar.projectVersion>
jimmydot3982f4f2017-05-07 14:58:24 -040038 </properties>
39
jimmydot15eae842017-05-09 11:03:39 -040040 <repositories>
41 <repository>
42 <id>ecomp-releases</id>
43 <name>VID Release Repository</name>
44 <url>${nexusproxy}${releaseNexusPath}</url>
45 </repository>
46 <repository>
47 <id>ecomp-snapshots</id>
48 <name>VID Snapshot Repository</name>
49 <url>${nexusproxy}${snapshotNexusPath}</url>
50 </repository>
51 <repository>
52 <id>ecomp-staging</id>
53 <name>VID Staging Repository</name>
54 <url>${nexusproxy}${stagingNexusPath}</url>
55 </repository>
56 <repository>
57 <!-- Snapshots repository has ECOMP snapshot artifacts -->
58 <id>oss-snapshots</id>
59 <name>oss Central - Snapshots</name>
60 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
61 </repository>
62 </repositories>
63 <distributionManagement>
64 <repository>
65 <id>ecomp-releases</id>
66 <name>VID Release Repository</name>
67 <url>${nexusproxy}/${releaseNexusPath}</url>
68 </repository>
69 <snapshotRepository>
70 <id>ecomp-snapshots</id>
71 <name>VID Snapshot Repository</name>
72 <url>${nexusproxy}/${snapshotNexusPath}</url>
73 </snapshotRepository>
74 <!-- added for javadoc -->
75 <site>
76 <id>ecomp-site</id>
77 <url>dav:${nexusproxy}${sitePath}</url>
78 </site>
79 </distributionManagement>
jimmydot97bd2522017-05-08 08:38:14 -040080
81 <profiles>
82 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
83 <profile>
84 <id>doclint-java8-disable</id>
85 <activation>
86 <jdk>[1.8,)</jdk>
87 </activation>
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <version>2.10.4</version>
94 <configuration>
95 <additionalparam>-Xdoclint:none</additionalparam>
96 </configuration>
97 </plugin>
98 </plugins>
99 </build>
jimmydot3982f4f2017-05-07 14:58:24 -0400100 </profile>
101 </profiles>
102
103 <build>
104 <finalName>vid</finalName>
105 <plugins>
jimmydotf88fada2017-05-07 19:42:59 -0400106 <plugin>
jimmydotf88fada2017-05-07 19:42:59 -0400107 <groupId>org.sonatype.plugins</groupId>
108 <artifactId>nexus-staging-maven-plugin</artifactId>
109 <version>1.6.7</version>
110 <extensions>true</extensions>
111 <configuration>
112 <nexusUrl>${nexusproxy}</nexusUrl>
113 <stagingProfileId>176c31dfe190a</stagingProfileId>
114 <serverId>ecomp-staging</serverId>
115 </configuration>
116 </plugin>
117
jimmydot3982f4f2017-05-07 14:58:24 -0400118 <!-- Compile to Java 1.8 class output format -->
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
122 <version>3.1</version>
123 <configuration>
124 <source>1.8</source>
125 <target>1.8</target>
126 </configuration>
127 </plugin>
128
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-surefire-plugin</artifactId>
132 <version>2.19.1</version>
133 <configuration>
134 <skipTests>${skiptests}</skipTests>
135 <includes>
136 <include>**/Test*.java</include>
137 <include>**/*Test.java</include>
138 <include>**/*TestCase.java</include>
139 </includes>
140 <additionalClasspathElements>
141 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
142 </additionalClasspathElements>
143 <systemPropertyVariables>
144 <container.classpath>classpath:</container.classpath>
145 </systemPropertyVariables>
146 </configuration>
147 </plugin>
148
149 <!-- add version number to manifest -->
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-war-plugin</artifactId>
153 <version>2.0.2</version>
154 <configuration>
155 <archive>
156 <manifest>
157 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
158 </manifest>
159 <manifestEntries>
160 <Build-Number>${project.version}</Build-Number>
161 <Build-Time>${maven.build.timestamp}</Build-Time>
162 </manifestEntries>
163 </archive>
164 <overlays>
165 <overlay>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200166 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400167 <artifactId>vid-app-common</artifactId>
168 </overlay>
169 <overlay>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300170 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400171 <artifactId>epsdk-app-overlay</artifactId>
172 </overlay>
173 </overlays>
174 </configuration>
175 </plugin>
176
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-assembly-plugin</artifactId>
180 <version>3.0.0</version>
181 <configuration>
182 <skipAssembly>${skipassembly}</skipAssembly>
183 <descriptors>
184 <descriptor>${basedir}/distribution.xml</descriptor>
185 </descriptors>
186 </configuration>
187 <executions>
188 <execution>
189 <id>make-assembly</id>
190 <phase>package</phase>
191 <goals>
192 <goal>single</goal>
193 </goals>
194 </execution>
195 </executions>
196 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-site-plugin</artifactId>
200 <version>3.6</version>
201 <dependencies>
202 <dependency>
203 <groupId>org.apache.maven.wagon</groupId>
204 <artifactId>wagon-webdav-jackrabbit</artifactId>
205 <version>2.10</version>
206 </dependency>
207 </dependencies>
208 </plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300209
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300210 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300211 <artifactId>maven-surefire-plugin</artifactId>
212 <version>2.17</version>
213 </plugin>
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300214 <plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300215 <groupId>org.sonarsource.scanner.maven</groupId>
216 <artifactId>sonar-maven-plugin</artifactId>
Ofir Sonsino1a0d63f2017-12-10 13:02:40 +0200217 <version>3.3.0.603</version>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300218 </plugin>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300219 <plugin>
220 <groupId>org.jacoco</groupId>
221 <artifactId>jacoco-maven-plugin</artifactId>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300222 <version>0.7.9</version>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300223 <executions>
224 <execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300225 <id>default-prepare-agent</id>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300226 <goals>
227 <goal>prepare-agent</goal>
228 </goals>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300229 </execution>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300230 <execution>
231 <id>default-report</id>
232 <goals>
233 <goal>report</goal>
234 </goals>
235 </execution>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300236 </executions>
237 </plugin>
Ofir Sonsino3274b392017-10-08 15:04:04 +0300238
jimmydot3982f4f2017-05-07 14:58:24 -0400239 </plugins>
240 </build>
241
jimmydot15eae842017-05-09 11:03:39 -0400242 <reporting>
243 <plugins>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-javadoc-plugin</artifactId>
247 <version>2.10.4</version>
248 <configuration>
249 <failOnError>false</failOnError>
250 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
251 <docletArtifact>
252 <groupId>org.umlgraph</groupId>
253 <artifactId>umlgraph</artifactId>
254 <version>5.6</version>
255 </docletArtifact>
256 <additionalparam>-views</additionalparam>
257 <useStandardDocletOptions>true</useStandardDocletOptions>
258 </configuration>
259 </plugin>
260 </plugins>
261 </reporting>
jimmydot3982f4f2017-05-07 14:58:24 -0400262 <dependencies>
263 <!-- SDK overlay war -->
264 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300265 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400266 <artifactId>epsdk-app-overlay</artifactId>
267 <version>${epsdk.version}</version>
268 <type>war</type>
269 </dependency>
270 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300271 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400272 <artifactId>epsdk-app-common</artifactId>
273 <version>${epsdk.version}</version>
274 <type>jar</type>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300275 <exclusions>
276 <exclusion>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-core</artifactId>
279 </exclusion>
280 </exclusions>
281 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400282 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200283 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400284 <artifactId>vid-app-common</artifactId>
285 <version>${project.version}</version>
286 <type>war</type>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300287 <exclusions>
288 <exclusion>
289 <groupId>com.fasterxml.jackson.core</groupId>
290 <artifactId>jackson-core</artifactId>
291 </exclusion>
292 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400293 </dependency>
294 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200295 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400296 <artifactId>vid-app-common</artifactId>
297 <version>${project.version}</version>
298 <type>jar</type>
299 <classifier>classes</classifier>
300 </dependency>
301 <!-- SDK components -->
302 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300303 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400304 <artifactId>epsdk-core</artifactId>
305 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300306 <exclusions>
307 <exclusion>
308 <groupId>com.fasterxml.jackson.core</groupId>
309 <artifactId>jackson-core</artifactId>
310 </exclusion>
311 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400312 </dependency>
313 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300314 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400315 <artifactId>epsdk-analytics</artifactId>
316 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300317 <exclusions>
318 <exclusion>
319 <groupId>com.fasterxml.jackson.core</groupId>
320 <artifactId>jackson-core</artifactId>
321 </exclusion>
322 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400323 </dependency>
324 <dependency>
Ofir Sonsino564a0d72017-10-22 17:03:35 +0300325 <groupId>org.onap.portal.sdk</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400326 <artifactId>epsdk-workflow</artifactId>
327 <version>${epsdk.version}</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300328 <exclusions>
329 <exclusion>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-core</artifactId>
332 </exclusion>
333 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400334 </dependency>
335 <dependency>
336 <groupId>com.att.eelf</groupId>
337 <artifactId>eelf-core</artifactId>
338 <version>1.0.0</version>
339 </dependency>
Sonsino, Ofir (os0695)a3b6fb92018-04-02 10:25:24 +0300340
Sonsino, Ofir (os0695)628750a2018-03-21 19:09:20 +0200341
342
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200343
jimmydot3982f4f2017-05-07 14:58:24 -0400344 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200345 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400346 <artifactId>vid-app-common</artifactId>
347 <version>${version}</version>
348 <type>war</type>
349 </dependency>
350 <dependency>
Ofir Sonsino94f33fa2018-02-07 13:58:40 +0200351 <groupId>org.onap.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400352 <artifactId>vid-app-common</artifactId>
353 <version>${version}</version>
354 <type>jar</type>
355 <classifier>classes</classifier>
356 </dependency>
357 <!-- Mapper -->
358 <dependency>
359 <groupId>com.fasterxml.jackson.core</groupId>
360 <artifactId>jackson-annotations</artifactId>
361 <version>2.6.3</version>
362 </dependency>
363 <dependency>
364 <groupId>com.fasterxml.jackson.core</groupId>
Sonsino, Ofir (os0695)a3b6fb92018-04-02 10:25:24 +0300365 <artifactId>jackson-core</artifactId>
366 <version>2.8.6</version>
367 </dependency>
368 <dependency>
369 <groupId>com.fasterxml.jackson.core</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400370 <artifactId>jackson-databind</artifactId>
Sonsino, Ofir (os0695)845e43d2018-03-19 18:37:37 +0200371 <version>2.6.7.1</version>
Sonsino, Ofir (os0695)745b4d52018-04-03 10:53:27 +0300372 <exclusions>
373 <exclusion>
374 <groupId>com.fasterxml.jackson.core</groupId>
375 <artifactId>jackson-core</artifactId>
376 </exclusion>
377 </exclusions>
jimmydot3982f4f2017-05-07 14:58:24 -0400378 </dependency>
379 <dependency>
380 <groupId>com.mchange</groupId>
381 <artifactId>c3p0</artifactId>
382 <version>0.9.5.2</version>
383 </dependency>
384 <dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400385 <groupId>io.searchbox</groupId>
386 <artifactId>jest</artifactId>
387 <version>2.0.0</version>
388 <exclusions>
389 <exclusion>
390 <groupId>commons-logging</groupId>
391 <artifactId>commons-logging</artifactId>
392 </exclusion>
393 </exclusions>
394 </dependency>
395 <dependency>
396 <groupId>javax.servlet</groupId>
397 <artifactId>javax.servlet-api</artifactId>
398 <version>3.1.0</version>
399 </dependency>
400 <dependency>
401 <groupId>junit</groupId>
402 <artifactId>junit</artifactId>
403 <version>4.12</version>
404 </dependency>
jimmydot3982f4f2017-05-07 14:58:24 -0400405 <dependency>
406 <groupId>org.json</groupId>
407 <artifactId>json</artifactId>
408 <version>20160212</version>
409 </dependency>
410 <dependency>
411 <groupId>org.quartz-scheduler</groupId>
412 <artifactId>quartz</artifactId>
413 <version>2.2.1</version>
414 <exclusions>
415 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
416 <exclusion>
417 <groupId>c3p0</groupId>
418 <artifactId>c3p0</artifactId>
419 </exclusion>
420 </exclusions>
421 </dependency>
422 <!-- bridge to implement commons-logging using slf4j -->
423 <dependency>
424 <groupId>org.slf4j</groupId>
425 <artifactId>jcl-over-slf4j</artifactId>
426 <version>1.7.12</version>
427 </dependency>
428 <dependency>
429 <groupId>org.springframework</groupId>
430 <artifactId>spring-context-support</artifactId>
431 <version>${springframework.version}</version>
432 </dependency>
433 <dependency>
434 <groupId>org.springframework</groupId>
435 <artifactId>spring-core</artifactId>
436 <version>${springframework.version}</version>
437 <exclusions>
438 <exclusion>
439 <groupId>commons-logging</groupId>
440 <artifactId>commons-logging</artifactId>
441 </exclusion>
442 </exclusions>
443 </dependency>
444 <dependency>
445 <groupId>org.springframework</groupId>
Sonsino, Ofir (os0695)8a9458f2018-03-25 16:33:41 +0300446 <artifactId>spring-aop</artifactId>
447 <version>${springframework.version}</version>
448 </dependency>
449 <dependency>
450 <groupId>org.springframework</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -0400451 <artifactId>spring-test</artifactId>
452 <version>${springframework.version}</version>
453 </dependency>
454 <dependency>
455 <groupId>org.springframework</groupId>
456 <artifactId>spring-tx</artifactId>
457 <version>${springframework.version}</version>
458 </dependency>
459 <dependency>
460 <groupId>org.springframework</groupId>
461 <artifactId>spring-web</artifactId>
462 <version>${springframework.version}</version>
463 </dependency>
464 <dependency>
465 <groupId>org.springframework</groupId>
466 <artifactId>spring-webmvc</artifactId>
467 <version>${springframework.version}</version>
468 </dependency>
469 </dependencies>
470</project>