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>v6.16.0</node.version>
54 <!-- this should be commented for local debugging -->
55 <!-- <deployenv>local</deployenv> -->
59 <id>ecomp-releases</id>
60 <name>VID Release Repository</name>
61 <url>${nexusproxy}/${releaseNexusPath}</url>
64 <id>ecomp-snapshots</id>
65 <name>VID Snapshot Repository</name>
66 <url>${nexusproxy}/${snapshotNexusPath}</url>
69 <id>ecomp-staging</id>
70 <name>VID Staging Repository</name>
71 <url>${nexusproxy}/${stagingNexusPath}</url>
74 <!-- Snapshots repository has ECOMP snapshot artifacts -->
75 <id>oss-snapshots</id>
76 <name>oss Central - Snapshots</name>
77 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
81 <distributionManagement>
83 <id>ecomp-releases</id>
84 <name>VID Release Repository</name>
85 <url>${nexusproxy}/${releaseNexusPath}</url>
88 <id>ecomp-snapshots</id>
89 <name>VID Snapshot Repository</name>
90 <url>${nexusproxy}/${snapshotNexusPath}</url>
92 <!-- added for javadoc -->
95 <url>dav:${nexusproxy}/${sitePath}</url>
97 </distributionManagement>
100 <finalName>vid-common</finalName>
105 <artifactId>kotlin-maven-plugin</artifactId>
106 <groupId>org.jetbrains.kotlin</groupId>
107 <version>${kotlin.version}</version>
111 <goals> <goal>compile</goal> </goals>
114 <sourceDir>${project.basedir}/src/main/java</sourceDir>
119 <id>test-compile</id>
120 <goals> <goal>test-compile</goal> </goals>
123 <sourceDir>${project.basedir}/src/test/java</sourceDir>
130 <groupId>org.jacoco</groupId>
131 <artifactId>jacoco-maven-plugin</artifactId>
132 <version>0.8.3</version>
135 <id>default-prepare-agent</id>
137 <goal>prepare-agent</goal>
141 <id>default-report</id>
149 <groupId>org.apache.tomcat.maven</groupId>
150 <artifactId>tomcat6-maven-plugin</artifactId>
151 <version>2.2</version>
154 <groupId>org.apache.tomcat.maven</groupId>
155 <artifactId>tomcat7-maven-plugin</artifactId>
156 <version>2.2</version>
160 <groupId>com.github.eirslett</groupId>
161 <artifactId>frontend-maven-plugin</artifactId>
162 <version>${eirslett.version}</version>
165 <id>install node and npm</id>
167 <goal>install-node-and-npm</goal>
169 <phase>generate-resources</phase>
171 <nodeVersion>${node.version}</nodeVersion>
175 <id>npm config list</id>
177 <arguments>config ls -l</arguments>
182 <phase>generate-resources</phase>
187 <arguments>install</arguments>
192 <phase>generate-resources</phase>
195 <id>npm run-script build</id>
197 <arguments>run-script build</arguments>
202 <phase>generate-resources</phase>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-compiler-plugin</artifactId>
210 <version>3.5.1</version>
217 <!-- Replacing default-compile as it is treated specially by maven -->
219 <id>default-compile</id>
222 <!-- Replacing default-testCompile as it is treated specially by maven -->
224 <id>default-testCompile</id>
228 <id>java-compile</id>
229 <phase>compile</phase>
230 <goals> <goal>compile</goal> </goals>
233 <id>java-test-compile</id>
234 <phase>test-compile</phase>
235 <goals> <goal>testCompile</goal> </goals>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-surefire-plugin</artifactId>
244 <version>${surefire.version}</version>
247 <include>**/Test*.java</include>
248 <include>**/*Test.java</include>
249 <include>**/*TestCase.java</include>
252 <exclude>**/selenium/*.java</exclude>
253 <exclude>**/integrationTest/*.java</exclude>
255 <additionalClasspathElements>
256 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
257 </additionalClasspathElements>
258 <systemPropertyVariables>
259 <container.classpath>classpath:</container.classpath>
260 </systemPropertyVariables>
261 <useSystemClassLoader>false</useSystemClassLoader>
264 <!-- avoid running JUnit tests within surefire-testng provider -->
269 <threadCount>1</threadCount>
272 <!-- Running TestNG and JUnit Tests -->
273 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
275 <groupId>org.apache.maven.surefire</groupId>
276 <artifactId>surefire-junit47</artifactId>
277 <version>${surefire.version}</version>
280 <groupId>org.apache.maven.surefire</groupId>
281 <artifactId>surefire-testng</artifactId>
282 <version>${surefire.version}</version>
288 <artifactId>maven-assembly-plugin</artifactId>
290 <skipAssembly>${skipassembly}</skipAssembly>
292 <descriptor>${basedir}/distribution.xml</descriptor>
297 <id>make-assembly</id>
298 <phase>package</phase>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-war-plugin</artifactId>
310 <version>3.0.0</version>
312 <!-- Build a jar with all the Java classes -->
313 <attachClasses>true</attachClasses>
314 <!-- Do not put any jars in the war -->
315 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-site-plugin</artifactId>
321 <version>3.6</version>
324 <groupId>org.apache.maven.wagon</groupId>
325 <artifactId>wagon-webdav-jackrabbit</artifactId>
326 <version>2.10</version>
331 <groupId>pl.project13.maven</groupId>
332 <artifactId>git-commit-id-plugin</artifactId>
333 <version>2.2.4</version>
336 <id>get-the-git-infos</id>
338 <goal>revision</goal>
343 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
344 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
345 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
346 <generateGitPropertiesFile>true</generateGitPropertiesFile>
347 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
348 <includeOnlyProperties>
349 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
350 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
351 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
352 </includeOnlyProperties>
358 Replace phase "none" with "process-sources" to enable.
359 Set organizationName as desired.
360 Then run `mvn license:check-file-header`, or even `mvn
361 license:update-file-header`.
363 <groupId>org.codehaus.mojo</groupId>
364 <artifactId>license-maven-plugin</artifactId>
365 <version>1.17</version>
371 <goal>update-file-header</goal>
373 <!-- replace phase "none" with "process-sources" to enable -->
379 <canUpdateCopyright>false</canUpdateCopyright>
380 <canUpdateDescription>false</canUpdateDescription>
381 <licenseName>apache_v2</licenseName>
382 <processStartTag>============LICENSE_START=======================================================</processStartTag>
383 <processEndTag>============LICENSE_END=========================================================</processEndTag>
384 <sectionDelimiter>================================================================================</sectionDelimiter>
385 <projectName>VID</projectName>
386 <inceptionYear>2017</inceptionYear>
387 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
388 <canUpdateLicense>true</canUpdateLicense>
389 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
390 <emptyLineAfterHeader>true</emptyLineAfterHeader>
391 <verbose>false</verbose>
394 <include>**/*.java</include>
395 <include>**/*.kt</include>
396 <include>**/*.jsp</include>
397 <include>**/*.xml</include>
398 <include>**/*.js</include>
399 <include>**/*.ts</include>
400 <include>**/*.html</include>
401 <include>**/*.css</include>
402 <include>**/*.sql</include>
410 <root>src/main</root>
411 <root>src/test</root>
415 <exclude>**/app/vid/external/**/*</exclude>
416 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
417 <exclude>**/test/resources/WEB-INF/**/*</exclude>
418 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-javadoc-plugin</artifactId>
432 <version>2.10.4</version>
434 <failOnError>false</failOnError>
435 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
437 <groupId>org.umlgraph</groupId>
438 <artifactId>umlgraph</artifactId>
439 <version>5.6</version>
441 <additionalparam>-views</additionalparam>
442 <useStandardDocletOptions>true</useStandardDocletOptions>
451 <groupId>com.opencsv</groupId>
452 <artifactId>opencsv</artifactId>
453 <version>4.1</version>
459 <groupId>io.joshworks.unirest</groupId>
460 <artifactId>unirest-java</artifactId>
461 <version>0.2.1</version>
464 <groupId>org.apache.httpcomponents</groupId>
465 <artifactId>httpclient</artifactId>
468 <groupId>org.apache.httpcomponents</groupId>
469 <artifactId>httpasyncclient</artifactId>
470 <version>4.0.2</version>
473 <groupId>org.apache.httpcomponents</groupId>
474 <artifactId>httpmime</artifactId>
475 <version>4.5.7</version>
478 <groupId>com.xebialabs.restito</groupId>
479 <artifactId>restito</artifactId>
480 <version>0.9.3</version>
484 <groupId>org.jeasy</groupId>
485 <artifactId>easy-random-core</artifactId>
486 <version>4.0.0.RC1</version>
492 <groupId>io.vavr</groupId>
493 <artifactId>vavr</artifactId>
494 <version>0.9.2</version>
497 <!-- SDK overlay war -->
499 <groupId>org.onap.portal.sdk</groupId>
500 <artifactId>epsdk-app-overlay</artifactId>
501 <version>${epsdk.version}</version>
505 <groupId>org.onap.portal.sdk</groupId>
506 <artifactId>epsdk-app-common</artifactId>
507 <version>${epsdk.version}</version>
512 <groupId>org.onap.portal.sdk</groupId>
513 <artifactId>epsdk-core</artifactId>
514 <version>${epsdk.version}</version>
517 <groupId>org.onap.portal.sdk</groupId>
518 <artifactId>epsdk-analytics</artifactId>
519 <version>${epsdk.version}</version>
522 <groupId>com.lowagie</groupId>
523 <artifactId>itext</artifactId>
528 <groupId>org.onap.portal.sdk</groupId>
529 <artifactId>epsdk-workflow</artifactId>
530 <version>${epsdk.version}</version>
533 <groupId>com.att.eelf</groupId>
534 <artifactId>eelf-core</artifactId>
535 <version>1.0.0</version>
538 <artifactId>powermock-api-mockito</artifactId>
539 <groupId>org.powermock</groupId>
544 <groupId>ch.qos.logback</groupId>
545 <artifactId>logback-classic</artifactId>
549 <groupId>org.jetbrains.kotlin</groupId>
550 <artifactId>kotlin-stdlib-jdk8</artifactId>
551 <version>${kotlin.version}</version>
556 <groupId>com.fasterxml.jackson.core</groupId>
557 <artifactId>jackson-annotations</artifactId>
558 <version>${jackson.version}</version>
561 <groupId>com.fasterxml.jackson.core</groupId>
562 <artifactId>jackson-core</artifactId>
563 <version>${jackson.version}</version>
566 <groupId>com.fasterxml.jackson.core</groupId>
567 <artifactId>jackson-databind</artifactId>
568 <version>${jackson.version}</version>
571 <groupId>com.fasterxml.jackson.module</groupId>
572 <artifactId>jackson-module-kotlin</artifactId>
573 <version>${jackson.version}</version>
575 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
577 <groupId>com.mchange</groupId>
578 <artifactId>c3p0</artifactId>
579 <version>0.9.5.4</version>
582 <groupId>io.searchbox</groupId>
583 <artifactId>jest</artifactId>
584 <version>2.0.0</version>
587 <groupId>commons-logging</groupId>
588 <artifactId>commons-logging</artifactId>
593 <groupId>javax.servlet</groupId>
594 <artifactId>javax.servlet-api</artifactId>
595 <version>3.1.0</version>
596 <scope>provided</scope>
599 <groupId>junit</groupId>
600 <artifactId>junit</artifactId>
601 <version>4.12</version>
605 <groupId>commons-io</groupId>
606 <artifactId>commons-io</artifactId>
607 <version>2.4</version>
608 <!--<scope>test</scope>-->
611 <groupId>com.google.code.bean-matchers</groupId>
612 <artifactId>bean-matchers</artifactId>
613 <version>0.11</version>
617 <groupId>org.json</groupId>
618 <artifactId>json</artifactId>
619 <version>20160212</version>
622 <groupId>org.quartz-scheduler</groupId>
623 <artifactId>quartz</artifactId>
624 <version>2.2.1</version>
626 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
628 <groupId>c3p0</groupId>
629 <artifactId>c3p0</artifactId>
633 <!-- bridge to implement commons-logging using slf4j -->
635 <groupId>org.slf4j</groupId>
636 <artifactId>jcl-over-slf4j</artifactId>
637 <version>1.7.12</version>
640 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
642 <groupId>org.springframework</groupId>
643 <artifactId>spring-core</artifactId>
644 <version>${springframework.version}</version>
647 <groupId>commons-logging</groupId>
648 <artifactId>commons-logging</artifactId>
653 <groupId>org.springframework</groupId>
654 <artifactId>spring-test</artifactId>
655 <version>${springframework.version}</version>
658 <groupId>org.springframework</groupId>
659 <artifactId>spring-tx</artifactId>
660 <version>${springframework.version}</version>
663 <groupId>org.springframework</groupId>
664 <artifactId>spring-web</artifactId>
665 <version>${springframework.version}</version>
668 <groupId>org.springframework</groupId>
669 <artifactId>spring-webmvc</artifactId>
670 <version>${springframework.version}</version>
673 <groupId>org.springframework</groupId>
674 <artifactId>spring-context-support</artifactId>
675 <version>${springframework.version}</version>
678 <groupId>org.springframework</groupId>
679 <artifactId>spring-orm</artifactId>
680 <version>${springframework.version}</version>
683 <groupId>org.springframework</groupId>
684 <artifactId>spring-aop</artifactId>
685 <version>${springframework.version}</version>
689 <groupId>org.glassfish.jersey.core</groupId>
690 <artifactId>jersey-client</artifactId>
691 <version>${jersey.version}</version>
694 <groupId>org.glassfish.jersey.connectors</groupId>
695 <artifactId>jersey-jetty-connector</artifactId>
696 <version>${jersey.version}</version>
698 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
700 <groupId>org.glassfish.jersey.inject</groupId>
701 <artifactId>jersey-hk2</artifactId>
702 <version>${jersey.version}</version>
705 <groupId>com.fasterxml.jackson.jaxrs</groupId>
706 <artifactId>jackson-jaxrs-json-provider</artifactId>
707 <version>${jackson.version}</version>
710 <groupId>commons-beanutils</groupId>
711 <artifactId>commons-beanutils</artifactId>
714 <groupId>com.googlecode.json-simple</groupId>
715 <artifactId>json-simple</artifactId>
716 <version>1.1.1</version>
719 <groupId>org.seleniumhq.selenium</groupId>
720 <artifactId>selenium-java</artifactId>
721 <version>2.53.1</version>
725 <groupId>org.seleniumhq.selenium</groupId>
726 <artifactId>selenium-api</artifactId>
727 <version>2.53.1</version>
731 <groupId>org.testng</groupId>
732 <artifactId>testng</artifactId>
733 <version>6.14.3</version>
737 <groupId>org.mockito</groupId>
738 <artifactId>mockito-core</artifactId>
739 <version>2.23.0</version>
743 <groupId>org.seleniumhq.selenium</groupId>
744 <artifactId>selenium-firefox-driver</artifactId>
745 <version>2.53.1</version>
748 <groupId>xml-apis</groupId>
749 <artifactId>xml-apis</artifactId>
750 <version>1.4.01</version>
753 <groupId>org.yaml</groupId>
754 <artifactId>snakeyaml</artifactId>
755 <version>1.16</version>
758 <groupId>org.skyscreamer</groupId>
759 <artifactId>jsonassert</artifactId>
760 <version>1.5.0</version>
764 <groupId>org.onap.sdc.sdc-tosca</groupId>
765 <artifactId>sdc-tosca</artifactId>
766 <version>1.5.1</version>
767 <scope>compile</scope>
770 <groupId>net.javacrumbs.json-unit</groupId>
771 <artifactId>json-unit</artifactId>
772 <version>1.23.0</version>
776 <groupId>org.glassfish.jersey.media</groupId>
777 <artifactId>jersey-media-json-jackson</artifactId>
778 <version>${jersey.version}</version>
782 <groupId>org.apache.commons</groupId>
783 <artifactId>commons-lang3</artifactId>
784 <version>3.6</version>
787 <groupId>org.apache.commons</groupId>
788 <artifactId>commons-text</artifactId>
789 <version>1.1</version>
792 <groupId>org.apache.commons</groupId>
793 <artifactId>commons-proxy</artifactId>
794 <version>1.0</version>
797 <groupId>org.hamcrest</groupId>
798 <artifactId>java-hamcrest</artifactId>
799 <version>2.0.0.0</version>
803 <groupId>org.togglz</groupId>
804 <artifactId>togglz-spring-core</artifactId>
805 <version>2.5.0.Final</version>
808 <groupId>com.h2database</groupId>
809 <artifactId>h2</artifactId>
810 <version>1.4.196</version>
814 <groupId>javax.xml.bind</groupId>
815 <artifactId>jaxb-api</artifactId>
816 <version>2.2.11</version>
820 <groupId>org.assertj</groupId>
821 <artifactId>assertj-core</artifactId>
822 <version>3.10.0</version>
826 <groupId>com.google.guava</groupId>
827 <artifactId>guava</artifactId>
830 <groupId>io.springfox</groupId>
831 <artifactId>springfox-swagger2</artifactId>
832 <version>2.9.2</version>