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>5.0.0-SNAPSHOT</version>
13 <packaging>war</packaging>
14 <name>VID Common</name>
15 <description>VID Common code for opensource version</description>
18 <groupId>org.onap.oparent</groupId>
19 <artifactId>oparent</artifactId>
20 <version>2.0.0</version>
25 <encoding>UTF-8</encoding>
26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
28 <epsdk.version>2.4.0</epsdk.version>
29 <springframework.version>4.3.22.RELEASE</springframework.version>
30 <hibernate.version>4.3.11.Final</hibernate.version>
31 <jackson.version>2.9.8</jackson.version>
32 <jersey.version>2.27</jersey.version>
33 <surefire.version>2.22.1</surefire.version>
34 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
36 <!-- Skip assembling the zip by default -->
37 <skipassembly>true</skipassembly>
38 <nexusproxy>https://nexus.onap.org</nexusproxy>
39 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
40 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
41 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
42 <sitePath>content/sites/site/org/onap/vid/${project.version}</sitePath>
44 <aspectj.version>1.8.9</aspectj.version>
45 <kotlin.version>1.3.11</kotlin.version>
46 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
48 <eirslett.version>1.6</eirslett.version>
49 <node.version>v8.9.4</node.version>
50 <npm.version>5.6.0</npm.version>
52 <!-- override using -Drelease_version=foo -Dpatch_version=bar -->
53 <release_version>${env.RELEASE_VERSION}</release_version>
58 <!-- this should be commented for local debugging -->
59 <!-- <deployenv>local</deployenv> -->
63 <id>ecomp-releases</id>
64 <name>VID Release Repository</name>
65 <url>${nexusproxy}/${releaseNexusPath}</url>
68 <id>ecomp-snapshots</id>
69 <name>VID Snapshot Repository</name>
70 <url>${nexusproxy}/${snapshotNexusPath}</url>
73 <id>ecomp-staging</id>
74 <name>VID Staging Repository</name>
75 <url>${nexusproxy}/${stagingNexusPath}</url>
78 <!-- Snapshots repository has ECOMP snapshot artifacts -->
79 <id>oss-snapshots</id>
80 <name>oss Central - Snapshots</name>
81 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
85 <distributionManagement>
87 <id>ecomp-releases</id>
88 <name>VID Release Repository</name>
89 <url>${nexusproxy}/${releaseNexusPath}</url>
92 <id>ecomp-snapshots</id>
93 <name>VID Snapshot Repository</name>
94 <url>${nexusproxy}/${snapshotNexusPath}</url>
96 <!-- added for javadoc -->
99 <url>dav:${nexusproxy}/${sitePath}</url>
101 </distributionManagement>
104 <finalName>vid-common</finalName>
109 <artifactId>kotlin-maven-plugin</artifactId>
110 <groupId>org.jetbrains.kotlin</groupId>
111 <version>${kotlin.version}</version>
115 <goals> <goal>compile</goal> </goals>
118 <sourceDir>${project.basedir}/src/main/java</sourceDir>
123 <id>test-compile</id>
124 <goals> <goal>test-compile</goal> </goals>
127 <sourceDir>${project.basedir}/src/test/java</sourceDir>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
136 <version>0.8.3</version>
139 <id>default-prepare-agent</id>
141 <goal>prepare-agent</goal>
145 <id>default-report</id>
153 <groupId>org.apache.tomcat.maven</groupId>
154 <artifactId>tomcat6-maven-plugin</artifactId>
155 <version>2.2</version>
158 <groupId>org.apache.tomcat.maven</groupId>
159 <artifactId>tomcat7-maven-plugin</artifactId>
160 <version>2.2</version>
164 <groupId>com.github.eirslett</groupId>
165 <artifactId>frontend-maven-plugin</artifactId>
166 <version>${eirslett.version}</version>
169 <id>install node and npm</id>
171 <goal>install-node-and-npm</goal>
173 <phase>generate-resources</phase>
175 <npmVersion>${npm.version}</npmVersion>
176 <nodeVersion>${node.version}</nodeVersion>
180 <id>npm config list</id>
182 <arguments>config ls -l</arguments>
187 <phase>generate-resources</phase>
192 <arguments>install</arguments>
197 <phase>generate-resources</phase>
200 <id>npm run-script build</id>
202 <arguments>run-script build</arguments>
207 <phase>generate-resources</phase>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-compiler-plugin</artifactId>
215 <version>3.5.1</version>
222 <!-- Replacing default-compile as it is treated specially by maven -->
224 <id>default-compile</id>
227 <!-- Replacing default-testCompile as it is treated specially by maven -->
229 <id>default-testCompile</id>
233 <id>java-compile</id>
234 <phase>compile</phase>
235 <goals> <goal>compile</goal> </goals>
238 <id>java-test-compile</id>
239 <phase>test-compile</phase>
240 <goals> <goal>testCompile</goal> </goals>
247 <groupId>com.google.code.maven-replacer-plugin</groupId>
248 <artifactId>replacer</artifactId>
249 <version>1.5.3</version>
252 <phase>prepare-package</phase>
260 <file>${project.basedir}/src/main/webapp/app/vid/scripts/constants/version.json</file>
263 <token>BUILD_NUMBER</token>
264 <value>${release_version}.${patch_version}.${env.BUILD_NUMBER}</value>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-surefire-plugin</artifactId>
273 <version>${surefire.version}</version>
276 <include>**/Test*.java</include>
277 <include>**/*Test.java</include>
278 <include>**/*TestCase.java</include>
281 <exclude>**/selenium/*.java</exclude>
282 <exclude>**/integrationTest/*.java</exclude>
284 <additionalClasspathElements>
285 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
286 </additionalClasspathElements>
287 <systemPropertyVariables>
288 <container.classpath>classpath:</container.classpath>
289 </systemPropertyVariables>
290 <useSystemClassLoader>false</useSystemClassLoader>
293 <!-- avoid running JUnit tests within surefire-testng provider -->
298 <threadCount>1</threadCount>
301 <!-- Running TestNG and JUnit Tests -->
302 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
304 <groupId>org.apache.maven.surefire</groupId>
305 <artifactId>surefire-junit47</artifactId>
306 <version>${surefire.version}</version>
309 <groupId>org.apache.maven.surefire</groupId>
310 <artifactId>surefire-testng</artifactId>
311 <version>${surefire.version}</version>
317 <artifactId>maven-assembly-plugin</artifactId>
319 <skipAssembly>${skipassembly}</skipAssembly>
321 <descriptor>${basedir}/distribution.xml</descriptor>
326 <id>make-assembly</id>
327 <phase>package</phase>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-war-plugin</artifactId>
339 <version>3.0.0</version>
341 <!-- Build a jar with all the Java classes -->
342 <attachClasses>true</attachClasses>
343 <!-- Do not put any jars in the war -->
344 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-site-plugin</artifactId>
350 <version>3.6</version>
353 <groupId>org.apache.maven.wagon</groupId>
354 <artifactId>wagon-webdav-jackrabbit</artifactId>
355 <version>2.10</version>
360 <groupId>pl.project13.maven</groupId>
361 <artifactId>git-commit-id-plugin</artifactId>
362 <version>2.2.4</version>
365 <id>get-the-git-infos</id>
367 <goal>revision</goal>
372 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
373 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
374 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
375 <generateGitPropertiesFile>true</generateGitPropertiesFile>
376 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
377 <includeOnlyProperties>
378 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
379 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
380 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
381 </includeOnlyProperties>
387 Replace phase "none" with "process-sources" to enable.
388 Set organizationName as desired.
389 Then run `mvn license:check-file-header`, or even `mvn
390 license:update-file-header`.
392 <groupId>org.codehaus.mojo</groupId>
393 <artifactId>license-maven-plugin</artifactId>
394 <version>1.17</version>
400 <goal>update-file-header</goal>
402 <!-- replace phase "none" with "process-sources" to enable -->
408 <canUpdateCopyright>false</canUpdateCopyright>
409 <canUpdateDescription>false</canUpdateDescription>
410 <licenseName>apache_v2</licenseName>
411 <processStartTag>============LICENSE_START=======================================================</processStartTag>
412 <processEndTag>============LICENSE_END=========================================================</processEndTag>
413 <sectionDelimiter>================================================================================</sectionDelimiter>
414 <projectName>VID</projectName>
415 <inceptionYear>2017</inceptionYear>
416 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
417 <canUpdateLicense>true</canUpdateLicense>
418 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
419 <emptyLineAfterHeader>true</emptyLineAfterHeader>
420 <verbose>false</verbose>
423 <include>**/*.java</include>
424 <include>**/*.kt</include>
425 <include>**/*.jsp</include>
426 <include>**/*.xml</include>
427 <include>**/*.js</include>
428 <include>**/*.ts</include>
429 <include>**/*.html</include>
430 <include>**/*.css</include>
431 <include>**/*.sql</include>
439 <root>src/main</root>
440 <root>src/test</root>
444 <exclude>**/app/vid/external/**/*</exclude>
445 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
446 <exclude>**/test/resources/WEB-INF/**/*</exclude>
447 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
459 <groupId>org.apache.maven.plugins</groupId>
460 <artifactId>maven-javadoc-plugin</artifactId>
461 <version>2.10.4</version>
463 <failOnError>false</failOnError>
464 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
466 <groupId>org.umlgraph</groupId>
467 <artifactId>umlgraph</artifactId>
468 <version>5.6</version>
470 <additionalparam>-views</additionalparam>
471 <useStandardDocletOptions>true</useStandardDocletOptions>
480 <groupId>com.opencsv</groupId>
481 <artifactId>opencsv</artifactId>
482 <version>4.1</version>
488 <groupId>io.joshworks.unirest</groupId>
489 <artifactId>unirest-java</artifactId>
490 <version>0.2.1</version>
493 <groupId>org.apache.httpcomponents</groupId>
494 <artifactId>httpclient</artifactId>
497 <groupId>org.apache.httpcomponents</groupId>
498 <artifactId>httpasyncclient</artifactId>
499 <version>4.0.2</version>
502 <groupId>org.apache.httpcomponents</groupId>
503 <artifactId>httpmime</artifactId>
504 <version>4.5.7</version>
507 <groupId>com.xebialabs.restito</groupId>
508 <artifactId>restito</artifactId>
509 <version>0.9.3</version>
513 <groupId>org.jeasy</groupId>
514 <artifactId>easy-random-core</artifactId>
515 <version>4.0.0.RC1</version>
521 <groupId>io.vavr</groupId>
522 <artifactId>vavr</artifactId>
523 <version>0.9.2</version>
526 <!-- SDK overlay war -->
528 <groupId>org.onap.portal.sdk</groupId>
529 <artifactId>epsdk-app-overlay</artifactId>
530 <version>${epsdk.version}</version>
534 <groupId>org.onap.portal.sdk</groupId>
535 <artifactId>epsdk-app-common</artifactId>
536 <version>${epsdk.version}</version>
541 <groupId>org.onap.portal.sdk</groupId>
542 <artifactId>epsdk-core</artifactId>
543 <version>${epsdk.version}</version>
546 <groupId>org.onap.portal.sdk</groupId>
547 <artifactId>epsdk-analytics</artifactId>
548 <version>${epsdk.version}</version>
551 <groupId>com.lowagie</groupId>
552 <artifactId>itext</artifactId>
557 <groupId>org.onap.portal.sdk</groupId>
558 <artifactId>epsdk-workflow</artifactId>
559 <version>${epsdk.version}</version>
562 <groupId>com.att.eelf</groupId>
563 <artifactId>eelf-core</artifactId>
564 <version>1.0.0</version>
567 <artifactId>powermock-api-mockito</artifactId>
568 <groupId>org.powermock</groupId>
573 <groupId>ch.qos.logback</groupId>
574 <artifactId>logback-classic</artifactId>
578 <groupId>org.jetbrains.kotlin</groupId>
579 <artifactId>kotlin-stdlib-jdk8</artifactId>
580 <version>${kotlin.version}</version>
585 <groupId>com.fasterxml.jackson.core</groupId>
586 <artifactId>jackson-annotations</artifactId>
587 <version>${jackson.version}</version>
590 <groupId>com.fasterxml.jackson.core</groupId>
591 <artifactId>jackson-core</artifactId>
592 <version>${jackson.version}</version>
595 <groupId>com.fasterxml.jackson.core</groupId>
596 <artifactId>jackson-databind</artifactId>
597 <version>${jackson.version}</version>
600 <groupId>com.fasterxml.jackson.module</groupId>
601 <artifactId>jackson-module-kotlin</artifactId>
602 <version>${jackson.version}</version>
604 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
606 <groupId>com.mchange</groupId>
607 <artifactId>c3p0</artifactId>
608 <version>0.9.5.4</version>
611 <groupId>io.searchbox</groupId>
612 <artifactId>jest</artifactId>
613 <version>2.0.0</version>
616 <groupId>commons-logging</groupId>
617 <artifactId>commons-logging</artifactId>
622 <groupId>javax.servlet</groupId>
623 <artifactId>javax.servlet-api</artifactId>
624 <version>3.1.0</version>
625 <scope>provided</scope>
628 <groupId>junit</groupId>
629 <artifactId>junit</artifactId>
630 <version>4.12</version>
634 <groupId>commons-io</groupId>
635 <artifactId>commons-io</artifactId>
636 <version>2.4</version>
637 <!--<scope>test</scope>-->
640 <groupId>com.google.code.bean-matchers</groupId>
641 <artifactId>bean-matchers</artifactId>
642 <version>0.11</version>
646 <groupId>org.json</groupId>
647 <artifactId>json</artifactId>
648 <version>20160212</version>
651 <groupId>org.quartz-scheduler</groupId>
652 <artifactId>quartz</artifactId>
653 <version>2.2.1</version>
655 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
657 <groupId>c3p0</groupId>
658 <artifactId>c3p0</artifactId>
662 <!-- bridge to implement commons-logging using slf4j -->
664 <groupId>org.slf4j</groupId>
665 <artifactId>jcl-over-slf4j</artifactId>
666 <version>1.7.12</version>
669 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
671 <groupId>org.springframework</groupId>
672 <artifactId>spring-core</artifactId>
673 <version>${springframework.version}</version>
676 <groupId>commons-logging</groupId>
677 <artifactId>commons-logging</artifactId>
682 <groupId>org.springframework</groupId>
683 <artifactId>spring-test</artifactId>
684 <version>${springframework.version}</version>
687 <groupId>org.springframework</groupId>
688 <artifactId>spring-tx</artifactId>
689 <version>${springframework.version}</version>
692 <groupId>org.springframework</groupId>
693 <artifactId>spring-web</artifactId>
694 <version>${springframework.version}</version>
697 <groupId>org.springframework</groupId>
698 <artifactId>spring-webmvc</artifactId>
699 <version>${springframework.version}</version>
702 <groupId>org.springframework</groupId>
703 <artifactId>spring-context-support</artifactId>
704 <version>${springframework.version}</version>
707 <groupId>org.springframework</groupId>
708 <artifactId>spring-orm</artifactId>
709 <version>${springframework.version}</version>
712 <groupId>org.springframework</groupId>
713 <artifactId>spring-aop</artifactId>
714 <version>${springframework.version}</version>
718 <groupId>org.glassfish.jersey.core</groupId>
719 <artifactId>jersey-client</artifactId>
720 <version>${jersey.version}</version>
723 <groupId>org.glassfish.jersey.connectors</groupId>
724 <artifactId>jersey-jetty-connector</artifactId>
725 <version>${jersey.version}</version>
727 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
729 <groupId>org.glassfish.jersey.inject</groupId>
730 <artifactId>jersey-hk2</artifactId>
731 <version>${jersey.version}</version>
734 <groupId>com.fasterxml.jackson.jaxrs</groupId>
735 <artifactId>jackson-jaxrs-json-provider</artifactId>
736 <version>${jackson.version}</version>
739 <groupId>commons-beanutils</groupId>
740 <artifactId>commons-beanutils</artifactId>
743 <groupId>com.googlecode.json-simple</groupId>
744 <artifactId>json-simple</artifactId>
745 <version>1.1.1</version>
748 <groupId>org.seleniumhq.selenium</groupId>
749 <artifactId>selenium-java</artifactId>
750 <version>2.53.1</version>
754 <groupId>org.seleniumhq.selenium</groupId>
755 <artifactId>selenium-api</artifactId>
756 <version>2.53.1</version>
760 <groupId>org.testng</groupId>
761 <artifactId>testng</artifactId>
762 <version>6.14.3</version>
766 <groupId>org.mockito</groupId>
767 <artifactId>mockito-core</artifactId>
768 <version>2.23.0</version>
772 <groupId>org.seleniumhq.selenium</groupId>
773 <artifactId>selenium-firefox-driver</artifactId>
774 <version>2.53.1</version>
777 <groupId>xml-apis</groupId>
778 <artifactId>xml-apis</artifactId>
779 <version>1.4.01</version>
782 <groupId>org.yaml</groupId>
783 <artifactId>snakeyaml</artifactId>
784 <version>1.16</version>
787 <groupId>org.skyscreamer</groupId>
788 <artifactId>jsonassert</artifactId>
789 <version>1.5.0</version>
793 <groupId>org.onap.sdc.sdc-tosca</groupId>
794 <artifactId>sdc-tosca</artifactId>
795 <version>1.5.1</version>
796 <scope>compile</scope>
799 <groupId>net.javacrumbs.json-unit</groupId>
800 <artifactId>json-unit</artifactId>
801 <version>1.23.0</version>
805 <groupId>org.glassfish.jersey.media</groupId>
806 <artifactId>jersey-media-json-jackson</artifactId>
807 <version>${jersey.version}</version>
811 <groupId>org.apache.commons</groupId>
812 <artifactId>commons-lang3</artifactId>
813 <version>3.6</version>
816 <groupId>org.apache.commons</groupId>
817 <artifactId>commons-text</artifactId>
818 <version>1.1</version>
821 <groupId>org.apache.commons</groupId>
822 <artifactId>commons-proxy</artifactId>
823 <version>1.0</version>
826 <groupId>org.hamcrest</groupId>
827 <artifactId>java-hamcrest</artifactId>
828 <version>2.0.0.0</version>
832 <groupId>org.togglz</groupId>
833 <artifactId>togglz-spring-core</artifactId>
834 <version>2.5.0.Final</version>
837 <groupId>com.h2database</groupId>
838 <artifactId>h2</artifactId>
839 <version>1.4.196</version>
843 <groupId>javax.xml.bind</groupId>
844 <artifactId>jaxb-api</artifactId>
845 <version>2.2.11</version>
849 <groupId>org.assertj</groupId>
850 <artifactId>assertj-core</artifactId>
851 <version>3.10.0</version>
855 <groupId>com.google.guava</groupId>
856 <artifactId>guava</artifactId>
859 <groupId>io.springfox</groupId>
860 <artifactId>springfox-swagger2</artifactId>
861 <version>2.9.2</version>