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 <groupId>org.onap.oparent</groupId>
19 <artifactId>oparent</artifactId>
20 <version>1.2.3</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>
131 <groupId>org.sonatype.plugins</groupId>
132 <artifactId>nexus-staging-maven-plugin</artifactId>
133 <version>1.6.7</version>
134 <extensions>true</extensions>
136 <nexusUrl>${nexusproxy}</nexusUrl>
137 <stagingProfileId>176c31dfe190a</stagingProfileId>
138 <serverId>ecomp-staging</serverId>
142 <groupId>org.jacoco</groupId>
143 <artifactId>jacoco-maven-plugin</artifactId>
144 <version>0.8.3</version>
147 <id>default-prepare-agent</id>
149 <goal>prepare-agent</goal>
153 <id>default-report</id>
161 <groupId>org.apache.tomcat.maven</groupId>
162 <artifactId>tomcat6-maven-plugin</artifactId>
163 <version>2.2</version>
166 <groupId>org.apache.tomcat.maven</groupId>
167 <artifactId>tomcat7-maven-plugin</artifactId>
168 <version>2.2</version>
172 <groupId>com.github.eirslett</groupId>
173 <artifactId>frontend-maven-plugin</artifactId>
174 <version>${eirslett.version}</version>
177 <id>install node and npm</id>
179 <goal>install-node-and-npm</goal>
181 <phase>generate-resources</phase>
183 <nodeVersion>${node.version}</nodeVersion>
189 <arguments>install</arguments>
194 <phase>generate-resources</phase>
197 <id>npm run-script build</id>
199 <arguments>run-script build</arguments>
204 <phase>generate-resources</phase>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-compiler-plugin</artifactId>
212 <version>3.5.1</version>
219 <!-- Replacing default-compile as it is treated specially by maven -->
221 <id>default-compile</id>
224 <!-- Replacing default-testCompile as it is treated specially by maven -->
226 <id>default-testCompile</id>
230 <id>java-compile</id>
231 <phase>compile</phase>
232 <goals> <goal>compile</goal> </goals>
235 <id>java-test-compile</id>
236 <phase>test-compile</phase>
237 <goals> <goal>testCompile</goal> </goals>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-surefire-plugin</artifactId>
246 <version>${surefire.version}</version>
249 <include>**/Test*.java</include>
250 <include>**/*Test.java</include>
251 <include>**/*TestCase.java</include>
254 <exclude>**/selenium/*.java</exclude>
255 <exclude>**/integrationTest/*.java</exclude>
257 <additionalClasspathElements>
258 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
259 </additionalClasspathElements>
260 <systemPropertyVariables>
261 <container.classpath>classpath:</container.classpath>
262 </systemPropertyVariables>
263 <useSystemClassLoader>false</useSystemClassLoader>
266 <!-- avoid running JUnit tests within surefire-testng provider -->
271 <threadCount>1</threadCount>
274 <!-- Running TestNG and JUnit Tests -->
275 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
277 <groupId>org.apache.maven.surefire</groupId>
278 <artifactId>surefire-junit47</artifactId>
279 <version>${surefire.version}</version>
282 <groupId>org.apache.maven.surefire</groupId>
283 <artifactId>surefire-testng</artifactId>
284 <version>${surefire.version}</version>
290 <artifactId>maven-assembly-plugin</artifactId>
292 <skipAssembly>${skipassembly}</skipAssembly>
294 <descriptor>${basedir}/distribution.xml</descriptor>
299 <id>make-assembly</id>
300 <phase>package</phase>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-war-plugin</artifactId>
312 <version>3.0.0</version>
314 <!-- Build a jar with all the Java classes -->
315 <attachClasses>true</attachClasses>
316 <!-- Do not put any jars in the war -->
317 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-site-plugin</artifactId>
323 <version>3.6</version>
326 <groupId>org.apache.maven.wagon</groupId>
327 <artifactId>wagon-webdav-jackrabbit</artifactId>
328 <version>2.10</version>
333 <groupId>pl.project13.maven</groupId>
334 <artifactId>git-commit-id-plugin</artifactId>
335 <version>2.2.4</version>
338 <id>get-the-git-infos</id>
340 <goal>revision</goal>
345 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
346 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
347 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
348 <generateGitPropertiesFile>true</generateGitPropertiesFile>
349 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
350 <includeOnlyProperties>
351 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
352 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
353 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
354 </includeOnlyProperties>
360 Replace phase "none" with "process-sources" to enable.
361 Set organizationName as desired.
362 Then run `mvn license:check-file-header`, or even `mvn
363 license:update-file-header`.
365 <groupId>org.codehaus.mojo</groupId>
366 <artifactId>license-maven-plugin</artifactId>
367 <version>1.17</version>
373 <goal>update-file-header</goal>
375 <!-- replace phase "none" with "process-sources" to enable -->
381 <canUpdateCopyright>false</canUpdateCopyright>
382 <canUpdateDescription>false</canUpdateDescription>
383 <licenseName>apache_v2</licenseName>
384 <processStartTag>============LICENSE_START=======================================================</processStartTag>
385 <processEndTag>============LICENSE_END=========================================================</processEndTag>
386 <sectionDelimiter>================================================================================</sectionDelimiter>
387 <projectName>VID</projectName>
388 <inceptionYear>2017</inceptionYear>
389 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
390 <canUpdateLicense>true</canUpdateLicense>
391 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
392 <emptyLineAfterHeader>true</emptyLineAfterHeader>
393 <verbose>false</verbose>
396 <include>**/*.java</include>
397 <include>**/*.kt</include>
398 <include>**/*.jsp</include>
399 <include>**/*.xml</include>
400 <include>**/*.js</include>
401 <include>**/*.ts</include>
402 <include>**/*.html</include>
403 <include>**/*.css</include>
404 <include>**/*.sql</include>
412 <root>src/main</root>
413 <root>src/test</root>
417 <exclude>**/app/vid/external/**/*</exclude>
418 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
419 <exclude>**/test/resources/WEB-INF/**/*</exclude>
420 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-javadoc-plugin</artifactId>
434 <version>2.10.4</version>
436 <failOnError>false</failOnError>
437 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
439 <groupId>org.umlgraph</groupId>
440 <artifactId>umlgraph</artifactId>
441 <version>5.6</version>
443 <additionalparam>-views</additionalparam>
444 <useStandardDocletOptions>true</useStandardDocletOptions>
453 <groupId>com.opencsv</groupId>
454 <artifactId>opencsv</artifactId>
455 <version>4.1</version>
461 <groupId>io.joshworks.unirest</groupId>
462 <artifactId>unirest-java</artifactId>
463 <version>0.2.1</version>
466 <groupId>org.apache.httpcomponents</groupId>
467 <artifactId>httpclient</artifactId>
470 <groupId>org.apache.httpcomponents</groupId>
471 <artifactId>httpasyncclient</artifactId>
472 <version>4.0.2</version>
475 <groupId>org.apache.httpcomponents</groupId>
476 <artifactId>httpmime</artifactId>
477 <version>4.5.7</version>
480 <groupId>com.xebialabs.restito</groupId>
481 <artifactId>restito</artifactId>
482 <version>0.9.3</version>
486 <groupId>org.jeasy</groupId>
487 <artifactId>easy-random-core</artifactId>
488 <version>4.0.0.RC1</version>
494 <groupId>io.vavr</groupId>
495 <artifactId>vavr</artifactId>
496 <version>0.9.2</version>
499 <!-- SDK overlay war -->
501 <groupId>org.onap.portal.sdk</groupId>
502 <artifactId>epsdk-app-overlay</artifactId>
503 <version>${epsdk.version}</version>
507 <groupId>org.onap.portal.sdk</groupId>
508 <artifactId>epsdk-app-common</artifactId>
509 <version>${epsdk.version}</version>
514 <groupId>org.onap.portal.sdk</groupId>
515 <artifactId>epsdk-core</artifactId>
516 <version>${epsdk.version}</version>
519 <groupId>org.onap.portal.sdk</groupId>
520 <artifactId>epsdk-analytics</artifactId>
521 <version>${epsdk.version}</version>
524 <groupId>com.lowagie</groupId>
525 <artifactId>itext</artifactId>
530 <groupId>org.onap.portal.sdk</groupId>
531 <artifactId>epsdk-workflow</artifactId>
532 <version>${epsdk.version}</version>
535 <groupId>com.att.eelf</groupId>
536 <artifactId>eelf-core</artifactId>
537 <version>1.0.0</version>
540 <artifactId>powermock-api-mockito</artifactId>
541 <groupId>org.powermock</groupId>
546 <groupId>ch.qos.logback</groupId>
547 <artifactId>logback-classic</artifactId>
551 <groupId>org.jetbrains.kotlin</groupId>
552 <artifactId>kotlin-stdlib-jdk8</artifactId>
553 <version>${kotlin.version}</version>
558 <groupId>com.fasterxml.jackson.core</groupId>
559 <artifactId>jackson-annotations</artifactId>
560 <version>${jackson.version}</version>
563 <groupId>com.fasterxml.jackson.core</groupId>
564 <artifactId>jackson-core</artifactId>
565 <version>${jackson.version}</version>
568 <groupId>com.fasterxml.jackson.core</groupId>
569 <artifactId>jackson-databind</artifactId>
570 <version>${jackson.version}</version>
573 <groupId>com.fasterxml.jackson.module</groupId>
574 <artifactId>jackson-module-kotlin</artifactId>
575 <version>${jackson.version}</version>
577 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
579 <groupId>com.mchange</groupId>
580 <artifactId>c3p0</artifactId>
581 <version>0.9.5.4</version>
584 <groupId>io.searchbox</groupId>
585 <artifactId>jest</artifactId>
586 <version>2.0.0</version>
589 <groupId>commons-logging</groupId>
590 <artifactId>commons-logging</artifactId>
595 <groupId>javax.servlet</groupId>
596 <artifactId>javax.servlet-api</artifactId>
597 <version>3.1.0</version>
598 <scope>provided</scope>
601 <groupId>junit</groupId>
602 <artifactId>junit</artifactId>
603 <version>4.12</version>
607 <groupId>commons-io</groupId>
608 <artifactId>commons-io</artifactId>
609 <version>2.4</version>
610 <!--<scope>test</scope>-->
613 <groupId>com.google.code.bean-matchers</groupId>
614 <artifactId>bean-matchers</artifactId>
615 <version>0.11</version>
619 <groupId>org.json</groupId>
620 <artifactId>json</artifactId>
621 <version>20160212</version>
624 <groupId>org.quartz-scheduler</groupId>
625 <artifactId>quartz</artifactId>
626 <version>2.2.1</version>
628 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
630 <groupId>c3p0</groupId>
631 <artifactId>c3p0</artifactId>
635 <!-- bridge to implement commons-logging using slf4j -->
637 <groupId>org.slf4j</groupId>
638 <artifactId>jcl-over-slf4j</artifactId>
639 <version>1.7.12</version>
642 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
644 <groupId>org.springframework</groupId>
645 <artifactId>spring-core</artifactId>
646 <version>${springframework.version}</version>
649 <groupId>commons-logging</groupId>
650 <artifactId>commons-logging</artifactId>
655 <groupId>org.springframework</groupId>
656 <artifactId>spring-test</artifactId>
657 <version>${springframework.version}</version>
660 <groupId>org.springframework</groupId>
661 <artifactId>spring-tx</artifactId>
662 <version>${springframework.version}</version>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring-web</artifactId>
667 <version>${springframework.version}</version>
670 <groupId>org.springframework</groupId>
671 <artifactId>spring-webmvc</artifactId>
672 <version>${springframework.version}</version>
675 <groupId>org.springframework</groupId>
676 <artifactId>spring-context-support</artifactId>
677 <version>${springframework.version}</version>
680 <groupId>org.springframework</groupId>
681 <artifactId>spring-orm</artifactId>
682 <version>${springframework.version}</version>
685 <groupId>org.springframework</groupId>
686 <artifactId>spring-aop</artifactId>
687 <version>${springframework.version}</version>
691 <groupId>org.glassfish.jersey.core</groupId>
692 <artifactId>jersey-client</artifactId>
693 <version>${jersey.version}</version>
696 <groupId>org.glassfish.jersey.connectors</groupId>
697 <artifactId>jersey-jetty-connector</artifactId>
698 <version>${jersey.version}</version>
700 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
702 <groupId>org.glassfish.jersey.inject</groupId>
703 <artifactId>jersey-hk2</artifactId>
704 <version>${jersey.version}</version>
707 <groupId>com.fasterxml.jackson.jaxrs</groupId>
708 <artifactId>jackson-jaxrs-json-provider</artifactId>
709 <version>${jackson.version}</version>
712 <groupId>commons-beanutils</groupId>
713 <artifactId>commons-beanutils</artifactId>
716 <groupId>com.googlecode.json-simple</groupId>
717 <artifactId>json-simple</artifactId>
718 <version>1.1.1</version>
721 <groupId>org.seleniumhq.selenium</groupId>
722 <artifactId>selenium-java</artifactId>
723 <version>2.53.1</version>
727 <groupId>org.seleniumhq.selenium</groupId>
728 <artifactId>selenium-api</artifactId>
729 <version>2.53.1</version>
733 <groupId>org.testng</groupId>
734 <artifactId>testng</artifactId>
735 <version>6.14.3</version>
739 <groupId>org.mockito</groupId>
740 <artifactId>mockito-core</artifactId>
741 <version>2.23.0</version>
745 <groupId>org.seleniumhq.selenium</groupId>
746 <artifactId>selenium-firefox-driver</artifactId>
747 <version>2.53.1</version>
750 <groupId>xml-apis</groupId>
751 <artifactId>xml-apis</artifactId>
752 <version>1.4.01</version>
755 <groupId>org.yaml</groupId>
756 <artifactId>snakeyaml</artifactId>
757 <version>1.16</version>
760 <groupId>org.skyscreamer</groupId>
761 <artifactId>jsonassert</artifactId>
762 <version>1.5.0</version>
766 <groupId>org.onap.sdc.sdc-tosca</groupId>
767 <artifactId>sdc-tosca</artifactId>
768 <version>1.4.7</version>
769 <scope>compile</scope>
772 <groupId>net.javacrumbs.json-unit</groupId>
773 <artifactId>json-unit</artifactId>
774 <version>1.23.0</version>
778 <groupId>org.glassfish.jersey.media</groupId>
779 <artifactId>jersey-media-json-jackson</artifactId>
780 <version>${jersey.version}</version>
784 <groupId>org.apache.commons</groupId>
785 <artifactId>commons-lang3</artifactId>
786 <version>3.6</version>
789 <groupId>org.apache.commons</groupId>
790 <artifactId>commons-text</artifactId>
791 <version>1.1</version>
794 <groupId>org.apache.commons</groupId>
795 <artifactId>commons-proxy</artifactId>
796 <version>1.0</version>
799 <groupId>org.hamcrest</groupId>
800 <artifactId>java-hamcrest</artifactId>
801 <version>2.0.0.0</version>
805 <groupId>org.togglz</groupId>
806 <artifactId>togglz-spring-core</artifactId>
807 <version>2.5.0.Final</version>
810 <groupId>com.h2database</groupId>
811 <artifactId>h2</artifactId>
812 <version>1.4.196</version>
816 <groupId>javax.xml.bind</groupId>
817 <artifactId>jaxb-api</artifactId>
818 <version>2.2.11</version>
822 <groupId>org.assertj</groupId>
823 <artifactId>assertj-core</artifactId>
824 <version>3.10.0</version>
825 <scope>compile</scope>
828 <groupId>com.google.guava</groupId>
829 <artifactId>guava</artifactId>
832 <groupId>io.springfox</groupId>
833 <artifactId>springfox-swagger2</artifactId>
834 <version>2.9.2</version>