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>5.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 <groupId>org.onap.oparent</groupId>
18 <artifactId>oparent</artifactId>
19 <version>2.0.0</version>
24 <encoding>UTF-8</encoding>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
27 <epsdk.version>2.4.0</epsdk.version>
28 <jackson.version>2.9.8</jackson.version>
29 <springframework.version>5.1.6.RELEASE</springframework.version>
30 <!-- epsdk-core is importing this class, which is only on spring-orm 4 but not in orm 5:
31 org.springframework.orm.hibernate4.HibernateTransactionManager
32 so following orm.version lets epsdk-core find it -->
33 <springframework.orm.version>4.3.22.RELEASE</springframework.orm.version>
34 <hibernate.version>4.3.11.Final</hibernate.version>
35 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
36 <skipassembly>true</skipassembly>
37 <nexusproxy>https://nexus.onap.org</nexusproxy>
38 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
39 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
40 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
41 <sitePath>content/sites/site/org/onap/vid/${project.version}</sitePath>
44 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
45 <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
46 <sonar.projectVersion>${project.version}</sonar.projectVersion>
47 <!-- ignore all .js files on sonar coverage report -->
48 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
53 <id>ecomp-releases</id>
54 <name>VID Release Repository</name>
55 <url>${nexusproxy}/${releaseNexusPath}</url>
58 <id>ecomp-snapshots</id>
59 <name>VID Snapshot Repository</name>
60 <url>${nexusproxy}/${snapshotNexusPath}</url>
63 <id>ecomp-staging</id>
64 <name>VID Staging Repository</name>
65 <url>${nexusproxy}/${stagingNexusPath}</url>
68 <!-- Snapshots repository has ECOMP snapshot artifacts -->
69 <id>oss-snapshots</id>
70 <name>oss Central - Snapshots</name>
71 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
74 <distributionManagement>
76 <id>ecomp-releases</id>
77 <name>VID Release Repository</name>
78 <url>${nexusproxy}/${releaseNexusPath}</url>
81 <id>ecomp-snapshots</id>
82 <name>VID Snapshot Repository</name>
83 <url>${nexusproxy}/${snapshotNexusPath}</url>
85 <!-- added for javadoc -->
88 <url>dav:${nexusproxy}/${sitePath}</url>
90 </distributionManagement>
93 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
95 <id>doclint-java8-disable</id>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-javadoc-plugin</artifactId>
104 <version>2.10.4</version>
106 <additionalparam>-Xdoclint:none</additionalparam>
115 <finalName>vid</finalName>
117 <!-- Compile to Java 1.8 class output format -->
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <version>3.1</version>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
131 <version>2.22.1</version>
134 <include>**/Test*.java</include>
135 <include>**/*Test.java</include>
136 <include>**/*TestCase.java</include>
138 <additionalClasspathElements>
139 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
140 </additionalClasspathElements>
141 <systemPropertyVariables>
142 <container.classpath>classpath:</container.classpath>
143 </systemPropertyVariables>
144 <useSystemClassLoader>false</useSystemClassLoader>
148 <!-- add version number to manifest -->
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-war-plugin</artifactId>
152 <version>2.0.2</version>
156 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
159 <Build-Number>${project.version}</Build-Number>
160 <Build-Time>${maven.build.timestamp}</Build-Time>
165 <groupId>org.onap.vid</groupId>
166 <artifactId>vid-app-common</artifactId>
169 <groupId>org.onap.portal.sdk</groupId>
170 <artifactId>epsdk-app-overlay</artifactId>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-assembly-plugin</artifactId>
179 <version>3.0.0</version>
181 <skipAssembly>${skipassembly}</skipAssembly>
183 <descriptor>${basedir}/distribution.xml</descriptor>
188 <id>make-assembly</id>
189 <phase>package</phase>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-site-plugin</artifactId>
199 <version>3.6</version>
202 <groupId>org.apache.maven.wagon</groupId>
203 <artifactId>wagon-webdav-jackrabbit</artifactId>
204 <version>2.10</version>
209 <groupId>org.sonarsource.scanner.maven</groupId>
210 <artifactId>sonar-maven-plugin</artifactId>
211 <version>3.6.0.1398</version>
214 <groupId>org.jacoco</groupId>
215 <artifactId>jacoco-maven-plugin</artifactId>
216 <version>0.8.3</version>
219 <id>default-prepare-agent</id>
221 <goal>prepare-agent</goal>
225 <id>default-report</id>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-javadoc-plugin</artifactId>
241 <version>2.10.4</version>
243 <failOnError>false</failOnError>
244 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
246 <groupId>org.umlgraph</groupId>
247 <artifactId>umlgraph</artifactId>
248 <version>5.6</version>
250 <additionalparam>-views</additionalparam>
251 <useStandardDocletOptions>true</useStandardDocletOptions>
257 <!-- SDK overlay war -->
259 <groupId>org.onap.portal.sdk</groupId>
260 <artifactId>epsdk-app-overlay</artifactId>
261 <version>${epsdk.version}</version>
265 <groupId>org.onap.portal.sdk</groupId>
266 <artifactId>epsdk-app-common</artifactId>
267 <version>${epsdk.version}</version>
271 <groupId>org.onap.vid</groupId>
272 <artifactId>vid-app-common</artifactId>
273 <version>${project.version}</version>
277 <groupId>org.onap.vid</groupId>
278 <artifactId>vid-app-common</artifactId>
279 <version>${project.version}</version>
281 <classifier>classes</classifier>
283 <!-- SDK components -->
285 <groupId>org.onap.portal.sdk</groupId>
286 <artifactId>epsdk-core</artifactId>
287 <version>${epsdk.version}</version>
290 <groupId>org.onap.portal.sdk</groupId>
291 <artifactId>epsdk-analytics</artifactId>
292 <version>${epsdk.version}</version>
295 <groupId>com.lowagie</groupId>
296 <artifactId>itext</artifactId>
301 <groupId>org.onap.portal.sdk</groupId>
302 <artifactId>epsdk-workflow</artifactId>
303 <version>${epsdk.version}</version>
306 <groupId>com.att.eelf</groupId>
307 <artifactId>eelf-core</artifactId>
308 <version>1.0.0</version>
312 <groupId>com.fasterxml.jackson.core</groupId>
313 <artifactId>jackson-annotations</artifactId>
314 <version>${jackson.version}</version>
317 <groupId>com.fasterxml.jackson.core</groupId>
318 <artifactId>jackson-core</artifactId>
319 <version>${jackson.version}</version>
322 <groupId>com.fasterxml.jackson.core</groupId>
323 <artifactId>jackson-databind</artifactId>
324 <version>${jackson.version}</version>
326 <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell -->
327 <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) -->
329 <groupId>com.fasterxml.jackson.dataformat</groupId>
330 <artifactId>jackson-dataformat-smile</artifactId>
331 <version>${jackson.version}</version>
334 <groupId>com.fasterxml.jackson.dataformat</groupId>
335 <artifactId>jackson-dataformat-yaml</artifactId>
336 <version>${jackson.version}</version>
339 <groupId>com.fasterxml.jackson.dataformat</groupId>
340 <artifactId>jackson-dataformat-cbor</artifactId>
341 <version>${jackson.version}</version>
343 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
345 <groupId>com.mchange</groupId>
346 <artifactId>c3p0</artifactId>
347 <version>0.9.5.4</version>
350 <groupId>io.searchbox</groupId>
351 <artifactId>jest</artifactId>
352 <version>2.0.0</version>
355 <groupId>commons-logging</groupId>
356 <artifactId>commons-logging</artifactId>
361 <groupId>javax.servlet</groupId>
362 <artifactId>javax.servlet-api</artifactId>
363 <version>3.1.0</version>
366 <groupId>junit</groupId>
367 <artifactId>junit</artifactId>
368 <version>4.12</version>
371 <groupId>org.json</groupId>
372 <artifactId>json</artifactId>
373 <version>20160212</version>
376 <groupId>org.quartz-scheduler</groupId>
377 <artifactId>quartz</artifactId>
378 <version>2.2.1</version>
380 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
382 <groupId>c3p0</groupId>
383 <artifactId>c3p0</artifactId>
387 <!-- bridge to implement commons-logging using slf4j -->
389 <groupId>org.slf4j</groupId>
390 <artifactId>jcl-over-slf4j</artifactId>
391 <version>1.7.12</version>
394 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
396 <groupId>org.springframework</groupId>
397 <artifactId>spring-core</artifactId>
398 <version>${springframework.version}</version>
401 <groupId>commons-logging</groupId>
402 <artifactId>commons-logging</artifactId>
407 <groupId>org.springframework</groupId>
408 <artifactId>spring-test</artifactId>
409 <version>${springframework.version}</version>
412 <groupId>org.springframework</groupId>
413 <artifactId>spring-tx</artifactId>
414 <version>${springframework.version}</version>
417 <groupId>org.springframework</groupId>
418 <artifactId>spring-web</artifactId>
419 <version>${springframework.version}</version>
422 <groupId>org.springframework</groupId>
423 <artifactId>spring-webmvc</artifactId>
424 <version>${springframework.version}</version>
427 <groupId>org.springframework</groupId>
428 <artifactId>spring-context-support</artifactId>
429 <version>${springframework.version}</version>
432 <groupId>org.springframework</groupId>
433 <artifactId>spring-orm</artifactId>
434 <version>${springframework.orm.version}</version>
437 <groupId>org.springframework</groupId>
438 <artifactId>spring-aop</artifactId>
439 <version>${springframework.version}</version>