3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <modelVersion>4.0.0</modelVersion>
7 <!-- This is the Maven project object model (POM) file for VID web application
8 based on the ECOMP SDK distribution. This file stands alone; it does not
9 inherit from a parent maven module. -->
10 <groupId>org.onap.vid</groupId>
11 <artifactId>vid-app-common</artifactId>
12 <version>4.0.0-SNAPSHOT</version>
13 <packaging>war</packaging>
14 <name>VID Common</name>
15 <description>VID Common code for opensource version</description>
18 <encoding>UTF-8</encoding>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21 <epsdk.version>2.4.0</epsdk.version>
22 <springframework.version>4.2.9.RELEASE</springframework.version>
23 <hibernate.version>4.3.11.Final</hibernate.version>
24 <jackson.version>2.9.7</jackson.version>
25 <jersey.version>2.27</jersey.version>
26 <surefire.version>2.22.1</surefire.version>
27 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
29 <!-- Skip assembling the zip by default -->
30 <skipassembly>true</skipassembly>
31 <nexusproxy>https://nexus.onap.org</nexusproxy>
32 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
33 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
34 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
35 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
37 <aspectj.version>1.8.9</aspectj.version>
38 <kotlin.version>1.3.11</kotlin.version>
39 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
41 <eirslett.version>1.6</eirslett.version>
42 <node.version>v6.16.0</node.version>
47 <!-- this should be commented for local debugging -->
48 <!-- <deployenv>local</deployenv> -->
52 <id>ecomp-releases</id>
53 <name>VID Release Repository</name>
54 <url>${nexusproxy}${releaseNexusPath}</url>
57 <id>ecomp-snapshots</id>
58 <name>VID Snapshot Repository</name>
59 <url>${nexusproxy}${snapshotNexusPath}</url>
62 <id>ecomp-staging</id>
63 <name>VID Staging Repository</name>
64 <url>${nexusproxy}${stagingNexusPath}</url>
67 <!-- Snapshots repository has ECOMP snapshot artifacts -->
68 <id>oss-snapshots</id>
69 <name>oss Central - Snapshots</name>
70 <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 <finalName>vid-common</finalName>
98 <artifactId>kotlin-maven-plugin</artifactId>
99 <groupId>org.jetbrains.kotlin</groupId>
100 <version>${kotlin.version}</version>
104 <goals> <goal>compile</goal> </goals>
107 <sourceDir>${project.basedir}/src/main/java</sourceDir>
112 <id>test-compile</id>
113 <goals> <goal>test-compile</goal> </goals>
116 <sourceDir>${project.basedir}/src/test/java</sourceDir>
124 <groupId>org.sonatype.plugins</groupId>
125 <artifactId>nexus-staging-maven-plugin</artifactId>
126 <version>1.6.7</version>
127 <extensions>true</extensions>
129 <nexusUrl>${nexusproxy}</nexusUrl>
130 <stagingProfileId>176c31dfe190a</stagingProfileId>
131 <serverId>ecomp-staging</serverId>
135 <groupId>org.jacoco</groupId>
136 <artifactId>jacoco-maven-plugin</artifactId>
137 <version>0.8.3</version>
140 <id>default-prepare-agent</id>
142 <goal>prepare-agent</goal>
146 <id>default-report</id>
154 <groupId>org.apache.tomcat.maven</groupId>
155 <artifactId>tomcat6-maven-plugin</artifactId>
156 <version>2.2</version>
159 <groupId>org.apache.tomcat.maven</groupId>
160 <artifactId>tomcat7-maven-plugin</artifactId>
161 <version>2.2</version>
165 <groupId>com.github.eirslett</groupId>
166 <artifactId>frontend-maven-plugin</artifactId>
167 <version>${eirslett.version}</version>
170 <id>install node and npm</id>
172 <goal>install-node-and-npm</goal>
174 <phase>generate-resources</phase>
176 <nodeVersion>${node.version}</nodeVersion>
180 <id>npm run-script build</id>
182 <arguments>run-script build</arguments>
187 <phase>generate-resources</phase>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-compiler-plugin</artifactId>
195 <version>3.5.1</version>
202 <!-- Replacing default-compile as it is treated specially by maven -->
204 <id>default-compile</id>
207 <!-- Replacing default-testCompile as it is treated specially by maven -->
209 <id>default-testCompile</id>
213 <id>java-compile</id>
214 <phase>compile</phase>
215 <goals> <goal>compile</goal> </goals>
218 <id>java-test-compile</id>
219 <phase>test-compile</phase>
220 <goals> <goal>testCompile</goal> </goals>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-surefire-plugin</artifactId>
229 <version>${surefire.version}</version>
232 <include>**/Test*.java</include>
233 <include>**/*Test.java</include>
234 <include>**/*TestCase.java</include>
237 <exclude>**/selenium/*.java</exclude>
238 <exclude>**/integrationTest/*.java</exclude>
240 <additionalClasspathElements>
241 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
242 </additionalClasspathElements>
243 <systemPropertyVariables>
244 <container.classpath>classpath:</container.classpath>
245 </systemPropertyVariables>
246 <useSystemClassLoader>false</useSystemClassLoader>
249 <!-- avoid running JUnit tests within surefire-testng provider -->
254 <threadCount>1</threadCount>
257 <!-- Running TestNG and JUnit Tests -->
258 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
260 <groupId>org.apache.maven.surefire</groupId>
261 <artifactId>surefire-junit47</artifactId>
262 <version>${surefire.version}</version>
265 <groupId>org.apache.maven.surefire</groupId>
266 <artifactId>surefire-testng</artifactId>
267 <version>${surefire.version}</version>
273 <artifactId>maven-assembly-plugin</artifactId>
275 <skipAssembly>${skipassembly}</skipAssembly>
277 <descriptor>${basedir}/distribution.xml</descriptor>
282 <id>make-assembly</id>
283 <phase>package</phase>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-war-plugin</artifactId>
295 <version>3.0.0</version>
297 <!-- Build a jar with all the Java classes -->
298 <attachClasses>true</attachClasses>
299 <!-- Do not put any jars in the war -->
300 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-site-plugin</artifactId>
306 <version>3.6</version>
309 <groupId>org.apache.maven.wagon</groupId>
310 <artifactId>wagon-webdav-jackrabbit</artifactId>
311 <version>2.10</version>
316 <groupId>pl.project13.maven</groupId>
317 <artifactId>git-commit-id-plugin</artifactId>
318 <version>2.2.4</version>
321 <id>get-the-git-infos</id>
323 <goal>revision</goal>
328 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
329 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
330 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
331 <generateGitPropertiesFile>true</generateGitPropertiesFile>
332 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
333 <includeOnlyProperties>
334 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
335 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
336 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
337 </includeOnlyProperties>
346 <groupId>org.apache.maven.plugins</groupId>
347 <artifactId>maven-javadoc-plugin</artifactId>
348 <version>2.10.4</version>
350 <failOnError>false</failOnError>
351 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
353 <groupId>org.umlgraph</groupId>
354 <artifactId>umlgraph</artifactId>
355 <version>5.6</version>
357 <additionalparam>-views</additionalparam>
358 <useStandardDocletOptions>true</useStandardDocletOptions>
367 <groupId>com.opencsv</groupId>
368 <artifactId>opencsv</artifactId>
369 <version>4.1</version>
375 <groupId>io.joshworks.unirest</groupId>
376 <artifactId>unirest-java</artifactId>
377 <version>0.2.1</version>
380 <groupId>org.apache.httpcomponents</groupId>
381 <artifactId>httpclient</artifactId>
382 <version>4.5.6</version>
385 <groupId>org.apache.httpcomponents</groupId>
386 <artifactId>httpasyncclient</artifactId>
387 <version>4.0.2</version>
390 <groupId>org.apache.httpcomponents</groupId>
391 <artifactId>httpmime</artifactId>
392 <version>4.3.6</version>
395 <groupId>com.xebialabs.restito</groupId>
396 <artifactId>restito</artifactId>
397 <version>0.9.3</version>
403 <groupId>io.vavr</groupId>
404 <artifactId>vavr</artifactId>
405 <version>0.9.2</version>
408 <!-- SDK overlay war -->
410 <groupId>org.onap.portal.sdk</groupId>
411 <artifactId>epsdk-app-overlay</artifactId>
412 <version>${epsdk.version}</version>
416 <groupId>org.onap.portal.sdk</groupId>
417 <artifactId>epsdk-app-common</artifactId>
418 <version>${epsdk.version}</version>
423 <groupId>org.onap.portal.sdk</groupId>
424 <artifactId>epsdk-core</artifactId>
425 <version>${epsdk.version}</version>
428 <groupId>org.onap.portal.sdk</groupId>
429 <artifactId>epsdk-analytics</artifactId>
430 <version>${epsdk.version}</version>
433 <groupId>com.lowagie</groupId>
434 <artifactId>itext</artifactId>
439 <groupId>org.onap.portal.sdk</groupId>
440 <artifactId>epsdk-workflow</artifactId>
441 <version>${epsdk.version}</version>
444 <groupId>com.att.eelf</groupId>
445 <artifactId>eelf-core</artifactId>
446 <version>1.0.0</version>
449 <artifactId>powermock-api-mockito</artifactId>
450 <groupId>org.powermock</groupId>
455 <groupId>ch.qos.logback</groupId>
456 <artifactId>logback-core</artifactId>
457 <version>1.2.3</version>
460 <groupId>ch.qos.logback</groupId>
461 <artifactId>logback-classic</artifactId>
462 <version>1.2.3</version>
466 <groupId>org.jetbrains.kotlin</groupId>
467 <artifactId>kotlin-stdlib-jdk8</artifactId>
468 <version>${kotlin.version}</version>
473 <groupId>com.fasterxml.jackson.core</groupId>
474 <artifactId>jackson-annotations</artifactId>
475 <version>${jackson.version}</version>
478 <groupId>com.fasterxml.jackson.core</groupId>
479 <artifactId>jackson-core</artifactId>
480 <version>${jackson.version}</version>
483 <groupId>com.fasterxml.jackson.core</groupId>
484 <artifactId>jackson-databind</artifactId>
485 <version>${jackson.version}</version>
488 <groupId>com.fasterxml.jackson.module</groupId>
489 <artifactId>jackson-module-kotlin</artifactId>
490 <version>${jackson.version}</version>
492 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
494 <groupId>com.mchange</groupId>
495 <artifactId>c3p0</artifactId>
496 <version>0.9.5.3</version>
499 <groupId>io.searchbox</groupId>
500 <artifactId>jest</artifactId>
501 <version>2.0.0</version>
504 <groupId>commons-logging</groupId>
505 <artifactId>commons-logging</artifactId>
510 <groupId>javax.servlet</groupId>
511 <artifactId>javax.servlet-api</artifactId>
512 <version>3.1.0</version>
513 <scope>provided</scope>
516 <groupId>junit</groupId>
517 <artifactId>junit</artifactId>
518 <version>4.12</version>
522 <groupId>commons-io</groupId>
523 <artifactId>commons-io</artifactId>
524 <version>2.4</version>
525 <!--<scope>test</scope>-->
528 <groupId>com.google.code.bean-matchers</groupId>
529 <artifactId>bean-matchers</artifactId>
530 <version>0.11</version>
534 <groupId>org.json</groupId>
535 <artifactId>json</artifactId>
536 <version>20160212</version>
539 <groupId>org.quartz-scheduler</groupId>
540 <artifactId>quartz</artifactId>
541 <version>2.2.1</version>
543 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
545 <groupId>c3p0</groupId>
546 <artifactId>c3p0</artifactId>
550 <!-- bridge to implement commons-logging using slf4j -->
552 <groupId>org.slf4j</groupId>
553 <artifactId>jcl-over-slf4j</artifactId>
554 <version>1.7.12</version>
557 <groupId>org.springframework</groupId>
558 <artifactId>spring-context-support</artifactId>
559 <version>${springframework.version}</version>
562 <groupId>org.springframework</groupId>
563 <artifactId>spring-core</artifactId>
564 <version>${springframework.version}</version>
567 <groupId>commons-logging</groupId>
568 <artifactId>commons-logging</artifactId>
573 <groupId>org.springframework</groupId>
574 <artifactId>spring-test</artifactId>
575 <version>${springframework.version}</version>
578 <groupId>org.springframework</groupId>
579 <artifactId>spring-tx</artifactId>
580 <version>${springframework.version}</version>
583 <groupId>org.springframework</groupId>
584 <artifactId>spring-web</artifactId>
585 <version>${springframework.version}</version>
588 <groupId>org.springframework</groupId>
589 <artifactId>spring-webmvc</artifactId>
590 <version>${springframework.version}</version>
593 <groupId>org.glassfish.jersey.core</groupId>
594 <artifactId>jersey-client</artifactId>
595 <version>${jersey.version}</version>
598 <groupId>org.glassfish.jersey.connectors</groupId>
599 <artifactId>jersey-jetty-connector</artifactId>
600 <version>${jersey.version}</version>
602 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
604 <groupId>org.glassfish.jersey.inject</groupId>
605 <artifactId>jersey-hk2</artifactId>
606 <version>${jersey.version}</version>
609 <groupId>com.fasterxml.jackson.jaxrs</groupId>
610 <artifactId>jackson-jaxrs-json-provider</artifactId>
611 <version>${jackson.version}</version>
614 <groupId>commons-beanutils</groupId>
615 <artifactId>commons-beanutils</artifactId>
616 <version>1.9.3</version>
619 <groupId>com.googlecode.json-simple</groupId>
620 <artifactId>json-simple</artifactId>
621 <version>1.1.1</version>
624 <groupId>org.seleniumhq.selenium</groupId>
625 <artifactId>selenium-java</artifactId>
626 <version>2.53.1</version>
630 <groupId>org.seleniumhq.selenium</groupId>
631 <artifactId>selenium-api</artifactId>
632 <version>2.53.1</version>
636 <groupId>org.testng</groupId>
637 <artifactId>testng</artifactId>
638 <version>6.14.3</version>
642 <groupId>org.mockito</groupId>
643 <artifactId>mockito-core</artifactId>
644 <version>2.23.0</version>
648 <groupId>org.seleniumhq.selenium</groupId>
649 <artifactId>selenium-firefox-driver</artifactId>
650 <version>2.53.1</version>
653 <groupId>xml-apis</groupId>
654 <artifactId>xml-apis</artifactId>
655 <version>1.4.01</version>
658 <groupId>org.yaml</groupId>
659 <artifactId>snakeyaml</artifactId>
660 <version>1.16</version>
663 <groupId>org.skyscreamer</groupId>
664 <artifactId>jsonassert</artifactId>
665 <version>1.5.0</version>
669 <groupId>org.onap.sdc.sdc-tosca</groupId>
670 <artifactId>sdc-tosca</artifactId>
671 <version>1.4.7</version>
672 <scope>compile</scope>
675 <groupId>net.javacrumbs.json-unit</groupId>
676 <artifactId>json-unit</artifactId>
677 <version>1.23.0</version>
681 <groupId>org.glassfish.jersey.media</groupId>
682 <artifactId>jersey-media-json-jackson</artifactId>
683 <version>${jersey.version}</version>
687 <groupId>org.apache.commons</groupId>
688 <artifactId>commons-lang3</artifactId>
689 <version>3.6</version>
692 <groupId>org.apache.commons</groupId>
693 <artifactId>commons-text</artifactId>
694 <version>1.1</version>
697 <groupId>org.apache.commons</groupId>
698 <artifactId>commons-proxy</artifactId>
699 <version>1.0</version>
702 <groupId>org.hamcrest</groupId>
703 <artifactId>java-hamcrest</artifactId>
704 <version>2.0.0.0</version>
708 <groupId>org.togglz</groupId>
709 <artifactId>togglz-spring-core</artifactId>
710 <version>2.5.0.Final</version>
713 <groupId>com.h2database</groupId>
714 <artifactId>h2</artifactId>
715 <version>1.4.196</version>
719 <groupId>javax.xml.bind</groupId>
720 <artifactId>jaxb-api</artifactId>
721 <version>2.2.11</version>
725 <groupId>org.assertj</groupId>
726 <artifactId>assertj-core</artifactId>
727 <version>3.10.0</version>
728 <scope>compile</scope>
731 <groupId>com.google.guava</groupId>
732 <artifactId>guava</artifactId>
733 <version>23.0</version>