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 <springframework.version>4.2.9.RELEASE</springframework.version>
22 <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. -->
26 <skiptests>false</skiptests>
27 <nexusproxy>https://nexus.onap.org</nexusproxy>
28 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
29 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
30 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
31 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
34 <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>
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>
134 <skipTests>${skiptests}</skipTests>
136 <include>**/Test*.java</include>
137 <include>**/*Test.java</include>
138 <include>**/*TestCase.java</include>
140 <additionalClasspathElements>
141 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
142 </additionalClasspathElements>
143 <systemPropertyVariables>
144 <container.classpath>classpath:</container.classpath>
145 </systemPropertyVariables>
146 <useSystemClassLoader>false</useSystemClassLoader>
150 <!-- add version number to manifest -->
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-war-plugin</artifactId>
154 <version>2.0.2</version>
158 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
161 <Build-Number>${project.version}</Build-Number>
162 <Build-Time>${maven.build.timestamp}</Build-Time>
167 <groupId>org.onap.vid</groupId>
168 <artifactId>vid-app-common</artifactId>
171 <groupId>org.onap.portal.sdk</groupId>
172 <artifactId>epsdk-app-overlay</artifactId>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-assembly-plugin</artifactId>
181 <version>3.0.0</version>
183 <skipAssembly>${skipassembly}</skipAssembly>
185 <descriptor>${basedir}/distribution.xml</descriptor>
190 <id>make-assembly</id>
191 <phase>package</phase>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-site-plugin</artifactId>
201 <version>3.6</version>
204 <groupId>org.apache.maven.wagon</groupId>
205 <artifactId>wagon-webdav-jackrabbit</artifactId>
206 <version>2.10</version>
211 <groupId>org.sonarsource.scanner.maven</groupId>
212 <artifactId>sonar-maven-plugin</artifactId>
213 <version>3.3.0.603</version>
216 <groupId>org.jacoco</groupId>
217 <artifactId>jacoco-maven-plugin</artifactId>
218 <version>0.7.9</version>
221 <id>default-prepare-agent</id>
223 <goal>prepare-agent</goal>
227 <id>default-report</id>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-javadoc-plugin</artifactId>
243 <version>2.10.4</version>
245 <failOnError>false</failOnError>
246 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
248 <groupId>org.umlgraph</groupId>
249 <artifactId>umlgraph</artifactId>
250 <version>5.6</version>
252 <additionalparam>-views</additionalparam>
253 <useStandardDocletOptions>true</useStandardDocletOptions>
259 <!-- SDK overlay war -->
261 <groupId>org.onap.portal.sdk</groupId>
262 <artifactId>epsdk-app-overlay</artifactId>
263 <version>${epsdk.version}</version>
267 <groupId>org.onap.portal.sdk</groupId>
268 <artifactId>epsdk-app-common</artifactId>
269 <version>${epsdk.version}</version>
273 <groupId>com.fasterxml.jackson.core</groupId>
274 <artifactId>jackson-core</artifactId>
279 <groupId>org.onap.vid</groupId>
280 <artifactId>vid-app-common</artifactId>
281 <version>${project.version}</version>
285 <groupId>com.fasterxml.jackson.core</groupId>
286 <artifactId>jackson-core</artifactId>
291 <groupId>org.onap.vid</groupId>
292 <artifactId>vid-app-common</artifactId>
293 <version>${project.version}</version>
295 <classifier>classes</classifier>
297 <!-- SDK components -->
299 <groupId>org.onap.portal.sdk</groupId>
300 <artifactId>epsdk-core</artifactId>
301 <version>${epsdk.version}</version>
304 <groupId>com.fasterxml.jackson.core</groupId>
305 <artifactId>jackson-core</artifactId>
310 <groupId>org.onap.portal.sdk</groupId>
311 <artifactId>epsdk-analytics</artifactId>
312 <version>${epsdk.version}</version>
315 <groupId>com.fasterxml.jackson.core</groupId>
316 <artifactId>jackson-core</artifactId>
319 <groupId>com.lowagie</groupId>
320 <artifactId>itext</artifactId>
325 <groupId>org.onap.portal.sdk</groupId>
326 <artifactId>epsdk-workflow</artifactId>
327 <version>${epsdk.version}</version>
330 <groupId>com.fasterxml.jackson.core</groupId>
331 <artifactId>jackson-core</artifactId>
336 <groupId>com.att.eelf</groupId>
337 <artifactId>eelf-core</artifactId>
338 <version>1.0.0</version>
342 <groupId>com.fasterxml.jackson.core</groupId>
343 <artifactId>jackson-annotations</artifactId>
344 <version>2.6.3</version>
347 <groupId>com.fasterxml.jackson.core</groupId>
348 <artifactId>jackson-core</artifactId>
349 <version>2.8.6</version>
352 <groupId>com.fasterxml.jackson.core</groupId>
353 <artifactId>jackson-databind</artifactId>
354 <version>2.6.7.1</version>
357 <groupId>com.fasterxml.jackson.core</groupId>
358 <artifactId>jackson-core</artifactId>
363 <groupId>com.mchange</groupId>
364 <artifactId>c3p0</artifactId>
365 <version>0.9.5.2</version>
368 <groupId>io.searchbox</groupId>
369 <artifactId>jest</artifactId>
370 <version>2.0.0</version>
373 <groupId>commons-logging</groupId>
374 <artifactId>commons-logging</artifactId>
379 <groupId>javax.servlet</groupId>
380 <artifactId>javax.servlet-api</artifactId>
381 <version>3.1.0</version>
384 <groupId>junit</groupId>
385 <artifactId>junit</artifactId>
386 <version>4.12</version>
389 <groupId>org.json</groupId>
390 <artifactId>json</artifactId>
391 <version>20160212</version>
394 <groupId>org.quartz-scheduler</groupId>
395 <artifactId>quartz</artifactId>
396 <version>2.2.1</version>
398 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
400 <groupId>c3p0</groupId>
401 <artifactId>c3p0</artifactId>
405 <!-- bridge to implement commons-logging using slf4j -->
407 <groupId>org.slf4j</groupId>
408 <artifactId>jcl-over-slf4j</artifactId>
409 <version>1.7.12</version>
412 <groupId>org.springframework</groupId>
413 <artifactId>spring-context-support</artifactId>
414 <version>${springframework.version}</version>
417 <groupId>org.springframework</groupId>
418 <artifactId>spring-core</artifactId>
419 <version>${springframework.version}</version>
422 <groupId>commons-logging</groupId>
423 <artifactId>commons-logging</artifactId>
428 <groupId>org.springframework</groupId>
429 <artifactId>spring-aop</artifactId>
430 <version>${springframework.version}</version>
433 <groupId>org.springframework</groupId>
434 <artifactId>spring-test</artifactId>
435 <version>${springframework.version}</version>
438 <groupId>org.springframework</groupId>
439 <artifactId>spring-tx</artifactId>
440 <version>${springframework.version}</version>
443 <groupId>org.springframework</groupId>
444 <artifactId>spring-web</artifactId>
445 <version>${springframework.version}</version>
448 <groupId>org.springframework</groupId>
449 <artifactId>spring-webmvc</artifactId>
450 <version>${springframework.version}</version>