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.2.9.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 run-script build</id>
189 <arguments>run-script build</arguments>
194 <phase>generate-resources</phase>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-compiler-plugin</artifactId>
202 <version>3.5.1</version>
209 <!-- Replacing default-compile as it is treated specially by maven -->
211 <id>default-compile</id>
214 <!-- Replacing default-testCompile as it is treated specially by maven -->
216 <id>default-testCompile</id>
220 <id>java-compile</id>
221 <phase>compile</phase>
222 <goals> <goal>compile</goal> </goals>
225 <id>java-test-compile</id>
226 <phase>test-compile</phase>
227 <goals> <goal>testCompile</goal> </goals>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-surefire-plugin</artifactId>
236 <version>${surefire.version}</version>
239 <include>**/Test*.java</include>
240 <include>**/*Test.java</include>
241 <include>**/*TestCase.java</include>
244 <exclude>**/selenium/*.java</exclude>
245 <exclude>**/integrationTest/*.java</exclude>
247 <additionalClasspathElements>
248 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
249 </additionalClasspathElements>
250 <systemPropertyVariables>
251 <container.classpath>classpath:</container.classpath>
252 </systemPropertyVariables>
253 <useSystemClassLoader>false</useSystemClassLoader>
256 <!-- avoid running JUnit tests within surefire-testng provider -->
261 <threadCount>1</threadCount>
264 <!-- Running TestNG and JUnit Tests -->
265 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
267 <groupId>org.apache.maven.surefire</groupId>
268 <artifactId>surefire-junit47</artifactId>
269 <version>${surefire.version}</version>
272 <groupId>org.apache.maven.surefire</groupId>
273 <artifactId>surefire-testng</artifactId>
274 <version>${surefire.version}</version>
280 <artifactId>maven-assembly-plugin</artifactId>
282 <skipAssembly>${skipassembly}</skipAssembly>
284 <descriptor>${basedir}/distribution.xml</descriptor>
289 <id>make-assembly</id>
290 <phase>package</phase>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-war-plugin</artifactId>
302 <version>3.0.0</version>
304 <!-- Build a jar with all the Java classes -->
305 <attachClasses>true</attachClasses>
306 <!-- Do not put any jars in the war -->
307 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-site-plugin</artifactId>
313 <version>3.6</version>
316 <groupId>org.apache.maven.wagon</groupId>
317 <artifactId>wagon-webdav-jackrabbit</artifactId>
318 <version>2.10</version>
323 <groupId>pl.project13.maven</groupId>
324 <artifactId>git-commit-id-plugin</artifactId>
325 <version>2.2.4</version>
328 <id>get-the-git-infos</id>
330 <goal>revision</goal>
335 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
336 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
337 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
338 <generateGitPropertiesFile>true</generateGitPropertiesFile>
339 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
340 <includeOnlyProperties>
341 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
342 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
343 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
344 </includeOnlyProperties>
350 Replace phase "none" with "process-sources" to enable.
351 Set organizationName as desired.
352 Then run `mvn license:check-file-header`, or even `mvn
353 license:update-file-header`.
355 <groupId>org.codehaus.mojo</groupId>
356 <artifactId>license-maven-plugin</artifactId>
357 <version>1.17</version>
363 <goal>update-file-header</goal>
365 <!-- replace phase "none" with "process-sources" to enable -->
371 <canUpdateCopyright>false</canUpdateCopyright>
372 <canUpdateDescription>false</canUpdateDescription>
373 <licenseName>apache_v2</licenseName>
374 <processStartTag>============LICENSE_START=======================================================</processStartTag>
375 <processEndTag>============LICENSE_END=========================================================</processEndTag>
376 <sectionDelimiter>================================================================================</sectionDelimiter>
377 <projectName>VID</projectName>
378 <inceptionYear>2017</inceptionYear>
379 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
380 <canUpdateLicense>true</canUpdateLicense>
381 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
382 <emptyLineAfterHeader>true</emptyLineAfterHeader>
383 <verbose>false</verbose>
386 <include>**/*.java</include>
387 <include>**/*.kt</include>
388 <include>**/*.jsp</include>
389 <include>**/*.xml</include>
390 <include>**/*.js</include>
391 <include>**/*.ts</include>
392 <include>**/*.html</include>
393 <include>**/*.css</include>
394 <include>**/*.sql</include>
402 <root>src/main</root>
403 <root>src/test</root>
407 <exclude>**/app/vid/external/**/*</exclude>
408 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
409 <exclude>**/test/resources/WEB-INF/**/*</exclude>
410 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-javadoc-plugin</artifactId>
424 <version>2.10.4</version>
426 <failOnError>false</failOnError>
427 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
429 <groupId>org.umlgraph</groupId>
430 <artifactId>umlgraph</artifactId>
431 <version>5.6</version>
433 <additionalparam>-views</additionalparam>
434 <useStandardDocletOptions>true</useStandardDocletOptions>
443 <groupId>com.opencsv</groupId>
444 <artifactId>opencsv</artifactId>
445 <version>4.1</version>
451 <groupId>io.joshworks.unirest</groupId>
452 <artifactId>unirest-java</artifactId>
453 <version>0.2.1</version>
456 <groupId>org.apache.httpcomponents</groupId>
457 <artifactId>httpclient</artifactId>
460 <groupId>org.apache.httpcomponents</groupId>
461 <artifactId>httpasyncclient</artifactId>
462 <version>4.0.2</version>
465 <groupId>org.apache.httpcomponents</groupId>
466 <artifactId>httpmime</artifactId>
467 <version>4.5.7</version>
470 <groupId>com.xebialabs.restito</groupId>
471 <artifactId>restito</artifactId>
472 <version>0.9.3</version>
478 <groupId>io.vavr</groupId>
479 <artifactId>vavr</artifactId>
480 <version>0.9.2</version>
483 <!-- SDK overlay war -->
485 <groupId>org.onap.portal.sdk</groupId>
486 <artifactId>epsdk-app-overlay</artifactId>
487 <version>${epsdk.version}</version>
491 <groupId>org.onap.portal.sdk</groupId>
492 <artifactId>epsdk-app-common</artifactId>
493 <version>${epsdk.version}</version>
498 <groupId>org.onap.portal.sdk</groupId>
499 <artifactId>epsdk-core</artifactId>
500 <version>${epsdk.version}</version>
503 <groupId>org.onap.portal.sdk</groupId>
504 <artifactId>epsdk-analytics</artifactId>
505 <version>${epsdk.version}</version>
508 <groupId>com.lowagie</groupId>
509 <artifactId>itext</artifactId>
514 <groupId>org.onap.portal.sdk</groupId>
515 <artifactId>epsdk-workflow</artifactId>
516 <version>${epsdk.version}</version>
519 <groupId>com.att.eelf</groupId>
520 <artifactId>eelf-core</artifactId>
521 <version>1.0.0</version>
524 <artifactId>powermock-api-mockito</artifactId>
525 <groupId>org.powermock</groupId>
530 <groupId>ch.qos.logback</groupId>
531 <artifactId>logback-classic</artifactId>
535 <groupId>org.jetbrains.kotlin</groupId>
536 <artifactId>kotlin-stdlib-jdk8</artifactId>
537 <version>${kotlin.version}</version>
542 <groupId>com.fasterxml.jackson.core</groupId>
543 <artifactId>jackson-annotations</artifactId>
544 <version>${jackson.version}</version>
547 <groupId>com.fasterxml.jackson.core</groupId>
548 <artifactId>jackson-core</artifactId>
549 <version>${jackson.version}</version>
552 <groupId>com.fasterxml.jackson.core</groupId>
553 <artifactId>jackson-databind</artifactId>
554 <version>${jackson.version}</version>
557 <groupId>com.fasterxml.jackson.module</groupId>
558 <artifactId>jackson-module-kotlin</artifactId>
559 <version>${jackson.version}</version>
561 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
563 <groupId>com.mchange</groupId>
564 <artifactId>c3p0</artifactId>
565 <version>0.9.5.3</version>
568 <groupId>io.searchbox</groupId>
569 <artifactId>jest</artifactId>
570 <version>2.0.0</version>
573 <groupId>commons-logging</groupId>
574 <artifactId>commons-logging</artifactId>
579 <groupId>javax.servlet</groupId>
580 <artifactId>javax.servlet-api</artifactId>
581 <version>3.1.0</version>
582 <scope>provided</scope>
585 <groupId>junit</groupId>
586 <artifactId>junit</artifactId>
587 <version>4.12</version>
591 <groupId>commons-io</groupId>
592 <artifactId>commons-io</artifactId>
593 <version>2.4</version>
594 <!--<scope>test</scope>-->
597 <groupId>com.google.code.bean-matchers</groupId>
598 <artifactId>bean-matchers</artifactId>
599 <version>0.11</version>
603 <groupId>org.json</groupId>
604 <artifactId>json</artifactId>
605 <version>20160212</version>
608 <groupId>org.quartz-scheduler</groupId>
609 <artifactId>quartz</artifactId>
610 <version>2.2.1</version>
612 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
614 <groupId>c3p0</groupId>
615 <artifactId>c3p0</artifactId>
619 <!-- bridge to implement commons-logging using slf4j -->
621 <groupId>org.slf4j</groupId>
622 <artifactId>jcl-over-slf4j</artifactId>
623 <version>1.7.12</version>
626 <groupId>org.springframework</groupId>
627 <artifactId>spring-context-support</artifactId>
628 <version>${springframework.version}</version>
631 <groupId>org.springframework</groupId>
632 <artifactId>spring-core</artifactId>
633 <version>${springframework.version}</version>
636 <groupId>commons-logging</groupId>
637 <artifactId>commons-logging</artifactId>
642 <groupId>org.springframework</groupId>
643 <artifactId>spring-test</artifactId>
644 <version>${springframework.version}</version>
647 <groupId>org.springframework</groupId>
648 <artifactId>spring-tx</artifactId>
649 <version>${springframework.version}</version>
652 <groupId>org.springframework</groupId>
653 <artifactId>spring-web</artifactId>
654 <version>${springframework.version}</version>
657 <groupId>org.springframework</groupId>
658 <artifactId>spring-webmvc</artifactId>
659 <version>${springframework.version}</version>
662 <groupId>org.glassfish.jersey.core</groupId>
663 <artifactId>jersey-client</artifactId>
664 <version>${jersey.version}</version>
667 <groupId>org.glassfish.jersey.connectors</groupId>
668 <artifactId>jersey-jetty-connector</artifactId>
669 <version>${jersey.version}</version>
671 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
673 <groupId>org.glassfish.jersey.inject</groupId>
674 <artifactId>jersey-hk2</artifactId>
675 <version>${jersey.version}</version>
678 <groupId>com.fasterxml.jackson.jaxrs</groupId>
679 <artifactId>jackson-jaxrs-json-provider</artifactId>
680 <version>${jackson.version}</version>
683 <groupId>commons-beanutils</groupId>
684 <artifactId>commons-beanutils</artifactId>
687 <groupId>com.googlecode.json-simple</groupId>
688 <artifactId>json-simple</artifactId>
689 <version>1.1.1</version>
692 <groupId>org.seleniumhq.selenium</groupId>
693 <artifactId>selenium-java</artifactId>
694 <version>2.53.1</version>
698 <groupId>org.seleniumhq.selenium</groupId>
699 <artifactId>selenium-api</artifactId>
700 <version>2.53.1</version>
704 <groupId>org.testng</groupId>
705 <artifactId>testng</artifactId>
706 <version>6.14.3</version>
710 <groupId>org.mockito</groupId>
711 <artifactId>mockito-core</artifactId>
712 <version>2.23.0</version>
716 <groupId>org.seleniumhq.selenium</groupId>
717 <artifactId>selenium-firefox-driver</artifactId>
718 <version>2.53.1</version>
721 <groupId>xml-apis</groupId>
722 <artifactId>xml-apis</artifactId>
723 <version>1.4.01</version>
726 <groupId>org.yaml</groupId>
727 <artifactId>snakeyaml</artifactId>
728 <version>1.16</version>
731 <groupId>org.skyscreamer</groupId>
732 <artifactId>jsonassert</artifactId>
733 <version>1.5.0</version>
737 <groupId>org.onap.sdc.sdc-tosca</groupId>
738 <artifactId>sdc-tosca</artifactId>
739 <version>1.4.7</version>
740 <scope>compile</scope>
743 <groupId>net.javacrumbs.json-unit</groupId>
744 <artifactId>json-unit</artifactId>
745 <version>1.23.0</version>
749 <groupId>org.glassfish.jersey.media</groupId>
750 <artifactId>jersey-media-json-jackson</artifactId>
751 <version>${jersey.version}</version>
755 <groupId>org.apache.commons</groupId>
756 <artifactId>commons-lang3</artifactId>
757 <version>3.6</version>
760 <groupId>org.apache.commons</groupId>
761 <artifactId>commons-text</artifactId>
762 <version>1.1</version>
765 <groupId>org.apache.commons</groupId>
766 <artifactId>commons-proxy</artifactId>
767 <version>1.0</version>
770 <groupId>org.hamcrest</groupId>
771 <artifactId>java-hamcrest</artifactId>
772 <version>2.0.0.0</version>
776 <groupId>org.togglz</groupId>
777 <artifactId>togglz-spring-core</artifactId>
778 <version>2.5.0.Final</version>
781 <groupId>com.h2database</groupId>
782 <artifactId>h2</artifactId>
783 <version>1.4.196</version>
787 <groupId>javax.xml.bind</groupId>
788 <artifactId>jaxb-api</artifactId>
789 <version>2.2.11</version>
793 <groupId>org.assertj</groupId>
794 <artifactId>assertj-core</artifactId>
795 <version>3.10.0</version>
796 <scope>compile</scope>
799 <groupId>com.google.guava</groupId>
800 <artifactId>guava</artifactId>