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>
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
9 <groupId>org.onap.vid</groupId>
10 <artifactId>epsdk-app-onap</artifactId>
11 <version>4.0.0-SNAPSHOT</version>
12 <packaging>war</packaging>
13 <name>ECOMP SDK Webapp for OpenSource</name>
14 <description>ECOMP SDK Web Application for public release</description>
17 <encoding>UTF-8</encoding>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20 <epsdk.version>2.4.0</epsdk.version>
21 <jackson.version>2.9.7</jackson.version>
22 <springframework.version>4.2.9.RELEASE</springframework.version>
23 <hibernate.version>4.3.11.Final</hibernate.version>
24 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
25 <skipassembly>true</skipassembly>
26 <nexusproxy>https://nexus.onap.org</nexusproxy>
27 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
28 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
29 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
30 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
33 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
34 <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
35 <sonar.projectVersion>${project.version}</sonar.projectVersion>
36 <!-- ignore all .js files on sonar coverage report -->
37 <sonar.coverage.exclusions>**/*.js</sonar.coverage.exclusions>
42 <id>ecomp-releases</id>
43 <name>VID Release Repository</name>
44 <url>${nexusproxy}${releaseNexusPath}</url>
47 <id>ecomp-snapshots</id>
48 <name>VID Snapshot Repository</name>
49 <url>${nexusproxy}${snapshotNexusPath}</url>
52 <id>ecomp-staging</id>
53 <name>VID Staging Repository</name>
54 <url>${nexusproxy}${stagingNexusPath}</url>
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>
63 <distributionManagement>
65 <id>ecomp-releases</id>
66 <name>VID Release Repository</name>
67 <url>${nexusproxy}/${releaseNexusPath}</url>
70 <id>ecomp-snapshots</id>
71 <name>VID Snapshot Repository</name>
72 <url>${nexusproxy}/${snapshotNexusPath}</url>
74 <!-- added for javadoc -->
77 <url>dav:${nexusproxy}${sitePath}</url>
79 </distributionManagement>
82 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
84 <id>doclint-java8-disable</id>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <version>2.10.4</version>
95 <additionalparam>-Xdoclint:none</additionalparam>
104 <finalName>vid</finalName>
107 <groupId>org.sonatype.plugins</groupId>
108 <artifactId>nexus-staging-maven-plugin</artifactId>
109 <version>1.6.7</version>
110 <extensions>true</extensions>
112 <nexusUrl>${nexusproxy}</nexusUrl>
113 <stagingProfileId>176c31dfe190a</stagingProfileId>
114 <serverId>ecomp-staging</serverId>
118 <!-- Compile to Java 1.8 class output format -->
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
122 <version>3.1</version>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-surefire-plugin</artifactId>
132 <version>2.22.1</version>
135 <include>**/Test*.java</include>
136 <include>**/*Test.java</include>
137 <include>**/*TestCase.java</include>
139 <additionalClasspathElements>
140 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
141 </additionalClasspathElements>
142 <systemPropertyVariables>
143 <container.classpath>classpath:</container.classpath>
144 </systemPropertyVariables>
145 <useSystemClassLoader>false</useSystemClassLoader>
149 <!-- add version number to manifest -->
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-war-plugin</artifactId>
153 <version>2.0.2</version>
157 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
160 <Build-Number>${project.version}</Build-Number>
161 <Build-Time>${maven.build.timestamp}</Build-Time>
166 <groupId>org.onap.vid</groupId>
167 <artifactId>vid-app-common</artifactId>
170 <groupId>org.onap.portal.sdk</groupId>
171 <artifactId>epsdk-app-overlay</artifactId>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-assembly-plugin</artifactId>
180 <version>3.0.0</version>
182 <skipAssembly>${skipassembly}</skipAssembly>
184 <descriptor>${basedir}/distribution.xml</descriptor>
189 <id>make-assembly</id>
190 <phase>package</phase>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-site-plugin</artifactId>
200 <version>3.6</version>
203 <groupId>org.apache.maven.wagon</groupId>
204 <artifactId>wagon-webdav-jackrabbit</artifactId>
205 <version>2.10</version>
210 <groupId>org.sonarsource.scanner.maven</groupId>
211 <artifactId>sonar-maven-plugin</artifactId>
212 <version>3.6.0.1398</version>
215 <groupId>org.jacoco</groupId>
216 <artifactId>jacoco-maven-plugin</artifactId>
217 <version>0.8.3</version>
220 <id>default-prepare-agent</id>
222 <goal>prepare-agent</goal>
226 <id>default-report</id>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-javadoc-plugin</artifactId>
242 <version>2.10.4</version>
244 <failOnError>false</failOnError>
245 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
247 <groupId>org.umlgraph</groupId>
248 <artifactId>umlgraph</artifactId>
249 <version>5.6</version>
251 <additionalparam>-views</additionalparam>
252 <useStandardDocletOptions>true</useStandardDocletOptions>
258 <!-- SDK overlay war -->
260 <groupId>org.onap.portal.sdk</groupId>
261 <artifactId>epsdk-app-overlay</artifactId>
262 <version>${epsdk.version}</version>
266 <groupId>org.onap.portal.sdk</groupId>
267 <artifactId>epsdk-app-common</artifactId>
268 <version>${epsdk.version}</version>
272 <groupId>org.onap.vid</groupId>
273 <artifactId>vid-app-common</artifactId>
274 <version>${project.version}</version>
278 <groupId>org.onap.vid</groupId>
279 <artifactId>vid-app-common</artifactId>
280 <version>${project.version}</version>
282 <classifier>classes</classifier>
284 <!-- SDK components -->
286 <groupId>org.onap.portal.sdk</groupId>
287 <artifactId>epsdk-core</artifactId>
288 <version>${epsdk.version}</version>
291 <groupId>org.onap.portal.sdk</groupId>
292 <artifactId>epsdk-analytics</artifactId>
293 <version>${epsdk.version}</version>
296 <groupId>com.lowagie</groupId>
297 <artifactId>itext</artifactId>
302 <groupId>org.onap.portal.sdk</groupId>
303 <artifactId>epsdk-workflow</artifactId>
304 <version>${epsdk.version}</version>
307 <groupId>com.att.eelf</groupId>
308 <artifactId>eelf-core</artifactId>
309 <version>1.0.0</version>
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-annotations</artifactId>
315 <version>${jackson.version}</version>
318 <groupId>com.fasterxml.jackson.core</groupId>
319 <artifactId>jackson-core</artifactId>
320 <version>${jackson.version}</version>
323 <groupId>com.fasterxml.jackson.core</groupId>
324 <artifactId>jackson-databind</artifactId>
325 <version>${jackson.version}</version>
327 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
328 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
330 <groupId>com.fasterxml.jackson.dataformat</groupId>
331 <artifactId>jackson-dataformat-smile</artifactId>
332 <version>${jackson.version}</version>
335 <groupId>com.fasterxml.jackson.dataformat</groupId>
336 <artifactId>jackson-dataformat-yaml</artifactId>
337 <version>${jackson.version}</version>
340 <groupId>com.fasterxml.jackson.dataformat</groupId>
341 <artifactId>jackson-dataformat-cbor</artifactId>
342 <version>${jackson.version}</version>
344 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
346 <groupId>com.mchange</groupId>
347 <artifactId>c3p0</artifactId>
348 <version>0.9.5.3</version>
351 <groupId>io.searchbox</groupId>
352 <artifactId>jest</artifactId>
353 <version>2.0.0</version>
356 <groupId>commons-logging</groupId>
357 <artifactId>commons-logging</artifactId>
362 <groupId>javax.servlet</groupId>
363 <artifactId>javax.servlet-api</artifactId>
364 <version>3.1.0</version>
367 <groupId>junit</groupId>
368 <artifactId>junit</artifactId>
369 <version>4.12</version>
372 <groupId>org.json</groupId>
373 <artifactId>json</artifactId>
374 <version>20160212</version>
377 <groupId>org.quartz-scheduler</groupId>
378 <artifactId>quartz</artifactId>
379 <version>2.2.1</version>
381 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
383 <groupId>c3p0</groupId>
384 <artifactId>c3p0</artifactId>
388 <!-- bridge to implement commons-logging using slf4j -->
390 <groupId>org.slf4j</groupId>
391 <artifactId>jcl-over-slf4j</artifactId>
392 <version>1.7.12</version>
395 <groupId>org.springframework</groupId>
396 <artifactId>spring-context-support</artifactId>
397 <version>${springframework.version}</version>
400 <groupId>org.springframework</groupId>
401 <artifactId>spring-core</artifactId>
402 <version>${springframework.version}</version>
405 <groupId>commons-logging</groupId>
406 <artifactId>commons-logging</artifactId>
411 <groupId>org.springframework</groupId>
412 <artifactId>spring-aop</artifactId>
413 <version>${springframework.version}</version>
416 <groupId>org.springframework</groupId>
417 <artifactId>spring-test</artifactId>
418 <version>${springframework.version}</version>
421 <groupId>org.springframework</groupId>
422 <artifactId>spring-tx</artifactId>
423 <version>${springframework.version}</version>
426 <groupId>org.springframework</groupId>
427 <artifactId>spring-web</artifactId>
428 <version>${springframework.version}</version>
431 <groupId>org.springframework</groupId>
432 <artifactId>spring-webmvc</artifactId>
433 <version>${springframework.version}</version>