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>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>
187 <id>npm config list</id>
189 <arguments>config ls -l</arguments>
194 <phase>generate-resources</phase>
199 <arguments>install</arguments>
204 <phase>generate-resources</phase>
207 <id>npm run-script build</id>
209 <arguments>run-script build</arguments>
214 <phase>generate-resources</phase>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-compiler-plugin</artifactId>
222 <version>3.5.1</version>
229 <!-- Replacing default-compile as it is treated specially by maven -->
231 <id>default-compile</id>
234 <!-- Replacing default-testCompile as it is treated specially by maven -->
236 <id>default-testCompile</id>
240 <id>java-compile</id>
241 <phase>compile</phase>
242 <goals> <goal>compile</goal> </goals>
245 <id>java-test-compile</id>
246 <phase>test-compile</phase>
247 <goals> <goal>testCompile</goal> </goals>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-surefire-plugin</artifactId>
256 <version>${surefire.version}</version>
259 <include>**/Test*.java</include>
260 <include>**/*Test.java</include>
261 <include>**/*TestCase.java</include>
264 <exclude>**/selenium/*.java</exclude>
265 <exclude>**/integrationTest/*.java</exclude>
267 <additionalClasspathElements>
268 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
269 </additionalClasspathElements>
270 <systemPropertyVariables>
271 <container.classpath>classpath:</container.classpath>
272 </systemPropertyVariables>
273 <useSystemClassLoader>false</useSystemClassLoader>
276 <!-- avoid running JUnit tests within surefire-testng provider -->
281 <threadCount>1</threadCount>
284 <!-- Running TestNG and JUnit Tests -->
285 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
287 <groupId>org.apache.maven.surefire</groupId>
288 <artifactId>surefire-junit47</artifactId>
289 <version>${surefire.version}</version>
292 <groupId>org.apache.maven.surefire</groupId>
293 <artifactId>surefire-testng</artifactId>
294 <version>${surefire.version}</version>
300 <artifactId>maven-assembly-plugin</artifactId>
302 <skipAssembly>${skipassembly}</skipAssembly>
304 <descriptor>${basedir}/distribution.xml</descriptor>
309 <id>make-assembly</id>
310 <phase>package</phase>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-war-plugin</artifactId>
322 <version>3.0.0</version>
324 <!-- Build a jar with all the Java classes -->
325 <attachClasses>true</attachClasses>
326 <!-- Do not put any jars in the war -->
327 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-site-plugin</artifactId>
333 <version>3.6</version>
336 <groupId>org.apache.maven.wagon</groupId>
337 <artifactId>wagon-webdav-jackrabbit</artifactId>
338 <version>2.10</version>
343 <groupId>pl.project13.maven</groupId>
344 <artifactId>git-commit-id-plugin</artifactId>
345 <version>2.2.4</version>
348 <id>get-the-git-infos</id>
350 <goal>revision</goal>
355 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
356 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
357 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
358 <generateGitPropertiesFile>true</generateGitPropertiesFile>
359 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
360 <includeOnlyProperties>
361 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
362 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
363 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
364 </includeOnlyProperties>
370 Replace phase "none" with "process-sources" to enable.
371 Set organizationName as desired.
372 Then run `mvn license:check-file-header`, or even `mvn
373 license:update-file-header`.
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>license-maven-plugin</artifactId>
377 <version>1.17</version>
383 <goal>update-file-header</goal>
385 <!-- replace phase "none" with "process-sources" to enable -->
391 <canUpdateCopyright>false</canUpdateCopyright>
392 <canUpdateDescription>false</canUpdateDescription>
393 <licenseName>apache_v2</licenseName>
394 <processStartTag>============LICENSE_START=======================================================</processStartTag>
395 <processEndTag>============LICENSE_END=========================================================</processEndTag>
396 <sectionDelimiter>================================================================================</sectionDelimiter>
397 <projectName>VID</projectName>
398 <inceptionYear>2017</inceptionYear>
399 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
400 <canUpdateLicense>true</canUpdateLicense>
401 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
402 <emptyLineAfterHeader>true</emptyLineAfterHeader>
403 <verbose>false</verbose>
406 <include>**/*.java</include>
407 <include>**/*.kt</include>
408 <include>**/*.jsp</include>
409 <include>**/*.xml</include>
410 <include>**/*.js</include>
411 <include>**/*.ts</include>
412 <include>**/*.html</include>
413 <include>**/*.css</include>
414 <include>**/*.sql</include>
422 <root>src/main</root>
423 <root>src/test</root>
427 <exclude>**/app/vid/external/**/*</exclude>
428 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
429 <exclude>**/test/resources/WEB-INF/**/*</exclude>
430 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-javadoc-plugin</artifactId>
444 <version>2.10.4</version>
446 <failOnError>false</failOnError>
447 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
449 <groupId>org.umlgraph</groupId>
450 <artifactId>umlgraph</artifactId>
451 <version>5.6</version>
453 <additionalparam>-views</additionalparam>
454 <useStandardDocletOptions>true</useStandardDocletOptions>
463 <groupId>com.opencsv</groupId>
464 <artifactId>opencsv</artifactId>
465 <version>4.1</version>
471 <groupId>io.joshworks.unirest</groupId>
472 <artifactId>unirest-java</artifactId>
473 <version>0.2.1</version>
476 <groupId>org.apache.httpcomponents</groupId>
477 <artifactId>httpclient</artifactId>
480 <groupId>org.apache.httpcomponents</groupId>
481 <artifactId>httpasyncclient</artifactId>
482 <version>4.0.2</version>
485 <groupId>org.apache.httpcomponents</groupId>
486 <artifactId>httpmime</artifactId>
487 <version>4.5.7</version>
490 <groupId>com.xebialabs.restito</groupId>
491 <artifactId>restito</artifactId>
492 <version>0.9.3</version>
496 <groupId>org.jeasy</groupId>
497 <artifactId>easy-random-core</artifactId>
498 <version>4.0.0.RC1</version>
504 <groupId>io.vavr</groupId>
505 <artifactId>vavr</artifactId>
506 <version>0.9.2</version>
509 <!-- SDK overlay war -->
511 <groupId>org.onap.portal.sdk</groupId>
512 <artifactId>epsdk-app-overlay</artifactId>
513 <version>${epsdk.version}</version>
517 <groupId>org.onap.portal.sdk</groupId>
518 <artifactId>epsdk-app-common</artifactId>
519 <version>${epsdk.version}</version>
524 <groupId>org.onap.portal.sdk</groupId>
525 <artifactId>epsdk-core</artifactId>
526 <version>${epsdk.version}</version>
529 <groupId>org.onap.portal.sdk</groupId>
530 <artifactId>epsdk-analytics</artifactId>
531 <version>${epsdk.version}</version>
534 <groupId>com.lowagie</groupId>
535 <artifactId>itext</artifactId>
540 <groupId>org.onap.portal.sdk</groupId>
541 <artifactId>epsdk-workflow</artifactId>
542 <version>${epsdk.version}</version>
545 <groupId>com.att.eelf</groupId>
546 <artifactId>eelf-core</artifactId>
547 <version>1.0.0</version>
550 <artifactId>powermock-api-mockito</artifactId>
551 <groupId>org.powermock</groupId>
556 <groupId>ch.qos.logback</groupId>
557 <artifactId>logback-classic</artifactId>
561 <groupId>org.jetbrains.kotlin</groupId>
562 <artifactId>kotlin-stdlib-jdk8</artifactId>
563 <version>${kotlin.version}</version>
568 <groupId>com.fasterxml.jackson.core</groupId>
569 <artifactId>jackson-annotations</artifactId>
570 <version>${jackson.version}</version>
573 <groupId>com.fasterxml.jackson.core</groupId>
574 <artifactId>jackson-core</artifactId>
575 <version>${jackson.version}</version>
578 <groupId>com.fasterxml.jackson.core</groupId>
579 <artifactId>jackson-databind</artifactId>
580 <version>${jackson.version}</version>
583 <groupId>com.fasterxml.jackson.module</groupId>
584 <artifactId>jackson-module-kotlin</artifactId>
585 <version>${jackson.version}</version>
587 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
589 <groupId>com.mchange</groupId>
590 <artifactId>c3p0</artifactId>
591 <version>0.9.5.4</version>
594 <groupId>io.searchbox</groupId>
595 <artifactId>jest</artifactId>
596 <version>2.0.0</version>
599 <groupId>commons-logging</groupId>
600 <artifactId>commons-logging</artifactId>
605 <groupId>javax.servlet</groupId>
606 <artifactId>javax.servlet-api</artifactId>
607 <version>3.1.0</version>
608 <scope>provided</scope>
611 <groupId>junit</groupId>
612 <artifactId>junit</artifactId>
613 <version>4.12</version>
617 <groupId>commons-io</groupId>
618 <artifactId>commons-io</artifactId>
619 <version>2.4</version>
620 <!--<scope>test</scope>-->
623 <groupId>com.google.code.bean-matchers</groupId>
624 <artifactId>bean-matchers</artifactId>
625 <version>0.11</version>
629 <groupId>org.json</groupId>
630 <artifactId>json</artifactId>
631 <version>20160212</version>
634 <groupId>org.quartz-scheduler</groupId>
635 <artifactId>quartz</artifactId>
636 <version>2.2.1</version>
638 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
640 <groupId>c3p0</groupId>
641 <artifactId>c3p0</artifactId>
645 <!-- bridge to implement commons-logging using slf4j -->
647 <groupId>org.slf4j</groupId>
648 <artifactId>jcl-over-slf4j</artifactId>
649 <version>1.7.12</version>
652 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
654 <groupId>org.springframework</groupId>
655 <artifactId>spring-core</artifactId>
656 <version>${springframework.version}</version>
659 <groupId>commons-logging</groupId>
660 <artifactId>commons-logging</artifactId>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring-test</artifactId>
667 <version>${springframework.version}</version>
670 <groupId>org.springframework</groupId>
671 <artifactId>spring-tx</artifactId>
672 <version>${springframework.version}</version>
675 <groupId>org.springframework</groupId>
676 <artifactId>spring-web</artifactId>
677 <version>${springframework.version}</version>
680 <groupId>org.springframework</groupId>
681 <artifactId>spring-webmvc</artifactId>
682 <version>${springframework.version}</version>
685 <groupId>org.springframework</groupId>
686 <artifactId>spring-context-support</artifactId>
687 <version>${springframework.version}</version>
690 <groupId>org.springframework</groupId>
691 <artifactId>spring-orm</artifactId>
692 <version>${springframework.version}</version>
695 <groupId>org.springframework</groupId>
696 <artifactId>spring-aop</artifactId>
697 <version>${springframework.version}</version>
701 <groupId>org.glassfish.jersey.core</groupId>
702 <artifactId>jersey-client</artifactId>
703 <version>${jersey.version}</version>
706 <groupId>org.glassfish.jersey.connectors</groupId>
707 <artifactId>jersey-jetty-connector</artifactId>
708 <version>${jersey.version}</version>
710 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
712 <groupId>org.glassfish.jersey.inject</groupId>
713 <artifactId>jersey-hk2</artifactId>
714 <version>${jersey.version}</version>
717 <groupId>com.fasterxml.jackson.jaxrs</groupId>
718 <artifactId>jackson-jaxrs-json-provider</artifactId>
719 <version>${jackson.version}</version>
722 <groupId>commons-beanutils</groupId>
723 <artifactId>commons-beanutils</artifactId>
726 <groupId>com.googlecode.json-simple</groupId>
727 <artifactId>json-simple</artifactId>
728 <version>1.1.1</version>
731 <groupId>org.seleniumhq.selenium</groupId>
732 <artifactId>selenium-java</artifactId>
733 <version>2.53.1</version>
737 <groupId>org.seleniumhq.selenium</groupId>
738 <artifactId>selenium-api</artifactId>
739 <version>2.53.1</version>
743 <groupId>org.testng</groupId>
744 <artifactId>testng</artifactId>
745 <version>6.14.3</version>
749 <groupId>org.mockito</groupId>
750 <artifactId>mockito-core</artifactId>
751 <version>2.23.0</version>
755 <groupId>org.seleniumhq.selenium</groupId>
756 <artifactId>selenium-firefox-driver</artifactId>
757 <version>2.53.1</version>
760 <groupId>xml-apis</groupId>
761 <artifactId>xml-apis</artifactId>
762 <version>1.4.01</version>
765 <groupId>org.yaml</groupId>
766 <artifactId>snakeyaml</artifactId>
767 <version>1.16</version>
770 <groupId>org.skyscreamer</groupId>
771 <artifactId>jsonassert</artifactId>
772 <version>1.5.0</version>
776 <groupId>org.onap.sdc.sdc-tosca</groupId>
777 <artifactId>sdc-tosca</artifactId>
778 <version>1.5.1</version>
779 <scope>compile</scope>
782 <groupId>net.javacrumbs.json-unit</groupId>
783 <artifactId>json-unit</artifactId>
784 <version>1.23.0</version>
788 <groupId>org.glassfish.jersey.media</groupId>
789 <artifactId>jersey-media-json-jackson</artifactId>
790 <version>${jersey.version}</version>
794 <groupId>org.apache.commons</groupId>
795 <artifactId>commons-lang3</artifactId>
796 <version>3.6</version>
799 <groupId>org.apache.commons</groupId>
800 <artifactId>commons-text</artifactId>
801 <version>1.1</version>
804 <groupId>org.apache.commons</groupId>
805 <artifactId>commons-proxy</artifactId>
806 <version>1.0</version>
809 <groupId>org.hamcrest</groupId>
810 <artifactId>java-hamcrest</artifactId>
811 <version>2.0.0.0</version>
815 <groupId>org.togglz</groupId>
816 <artifactId>togglz-spring-core</artifactId>
817 <version>2.5.0.Final</version>
820 <groupId>com.h2database</groupId>
821 <artifactId>h2</artifactId>
822 <version>1.4.196</version>
826 <groupId>javax.xml.bind</groupId>
827 <artifactId>jaxb-api</artifactId>
828 <version>2.2.11</version>
832 <groupId>org.assertj</groupId>
833 <artifactId>assertj-core</artifactId>
834 <version>3.10.0</version>
838 <groupId>com.google.guava</groupId>
839 <artifactId>guava</artifactId>
842 <groupId>io.springfox</groupId>
843 <artifactId>springfox-swagger2</artifactId>
844 <version>2.9.2</version>