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 <encoding>UTF-8</encoding>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21 <epsdk.version>2.4.0</epsdk.version>
22 <springframework.version>4.2.9.RELEASE</springframework.version>
23 <hibernate.version>4.3.11.Final</hibernate.version>
24 <jackson.version>2.9.7</jackson.version>
25 <jersey.version>2.27</jersey.version>
26 <surefire.version>2.22.1</surefire.version>
27 <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
29 <!-- Skip assembling the zip by default -->
30 <skipassembly>true</skipassembly>
31 <nexusproxy>https://nexus.onap.org</nexusproxy>
32 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
33 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
34 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
35 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
37 <aspectj.version>1.8.9</aspectj.version>
38 <kotlin.version>1.3.11</kotlin.version>
39 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
41 <eirslett.version>1.6</eirslett.version>
42 <node.version>v6.16.0</node.version>
47 <!-- this should be commented for local debugging -->
48 <!-- <deployenv>local</deployenv> -->
52 <id>ecomp-releases</id>
53 <name>VID Release Repository</name>
54 <url>${nexusproxy}${releaseNexusPath}</url>
57 <id>ecomp-snapshots</id>
58 <name>VID Snapshot Repository</name>
59 <url>${nexusproxy}${snapshotNexusPath}</url>
62 <id>ecomp-staging</id>
63 <name>VID Staging Repository</name>
64 <url>${nexusproxy}${stagingNexusPath}</url>
67 <!-- Snapshots repository has ECOMP snapshot artifacts -->
68 <id>oss-snapshots</id>
69 <name>oss Central - Snapshots</name>
70 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
74 <distributionManagement>
76 <id>ecomp-releases</id>
77 <name>VID Release Repository</name>
78 <url>${nexusproxy}/${releaseNexusPath}</url>
81 <id>ecomp-snapshots</id>
82 <name>VID Snapshot Repository</name>
83 <url>${nexusproxy}/${snapshotNexusPath}</url>
85 <!-- added for javadoc -->
88 <url>dav:${nexusproxy}${sitePath}</url>
90 </distributionManagement>
93 <finalName>vid-common</finalName>
98 <artifactId>kotlin-maven-plugin</artifactId>
99 <groupId>org.jetbrains.kotlin</groupId>
100 <version>${kotlin.version}</version>
104 <goals> <goal>compile</goal> </goals>
107 <sourceDir>${project.basedir}/src/main/java</sourceDir>
112 <id>test-compile</id>
113 <goals> <goal>test-compile</goal> </goals>
116 <sourceDir>${project.basedir}/src/test/java</sourceDir>
124 <groupId>org.sonatype.plugins</groupId>
125 <artifactId>nexus-staging-maven-plugin</artifactId>
126 <version>1.6.7</version>
127 <extensions>true</extensions>
129 <nexusUrl>${nexusproxy}</nexusUrl>
130 <stagingProfileId>176c31dfe190a</stagingProfileId>
131 <serverId>ecomp-staging</serverId>
135 <groupId>org.jacoco</groupId>
136 <artifactId>jacoco-maven-plugin</artifactId>
137 <version>0.8.3</version>
140 <id>default-prepare-agent</id>
142 <goal>prepare-agent</goal>
146 <id>default-report</id>
154 <groupId>org.apache.tomcat.maven</groupId>
155 <artifactId>tomcat6-maven-plugin</artifactId>
156 <version>2.2</version>
159 <groupId>org.apache.tomcat.maven</groupId>
160 <artifactId>tomcat7-maven-plugin</artifactId>
161 <version>2.2</version>
165 <groupId>com.github.eirslett</groupId>
166 <artifactId>frontend-maven-plugin</artifactId>
167 <version>${eirslett.version}</version>
170 <id>install node and npm</id>
172 <goal>install-node-and-npm</goal>
174 <phase>generate-resources</phase>
176 <nodeVersion>${node.version}</nodeVersion>
180 <id>npm run-script build</id>
182 <arguments>run-script build</arguments>
187 <phase>generate-resources</phase>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-compiler-plugin</artifactId>
195 <version>3.5.1</version>
202 <!-- Replacing default-compile as it is treated specially by maven -->
204 <id>default-compile</id>
207 <!-- Replacing default-testCompile as it is treated specially by maven -->
209 <id>default-testCompile</id>
213 <id>java-compile</id>
214 <phase>compile</phase>
215 <goals> <goal>compile</goal> </goals>
218 <id>java-test-compile</id>
219 <phase>test-compile</phase>
220 <goals> <goal>testCompile</goal> </goals>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-surefire-plugin</artifactId>
229 <version>${surefire.version}</version>
232 <include>**/Test*.java</include>
233 <include>**/*Test.java</include>
234 <include>**/*TestCase.java</include>
237 <exclude>**/selenium/*.java</exclude>
238 <exclude>**/integrationTest/*.java</exclude>
240 <additionalClasspathElements>
241 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
242 </additionalClasspathElements>
243 <systemPropertyVariables>
244 <container.classpath>classpath:</container.classpath>
245 </systemPropertyVariables>
246 <useSystemClassLoader>false</useSystemClassLoader>
249 <!-- avoid running JUnit tests within surefire-testng provider -->
254 <threadCount>1</threadCount>
257 <!-- Running TestNG and JUnit Tests -->
258 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
260 <groupId>org.apache.maven.surefire</groupId>
261 <artifactId>surefire-junit47</artifactId>
262 <version>${surefire.version}</version>
265 <groupId>org.apache.maven.surefire</groupId>
266 <artifactId>surefire-testng</artifactId>
267 <version>${surefire.version}</version>
273 <artifactId>maven-assembly-plugin</artifactId>
275 <skipAssembly>${skipassembly}</skipAssembly>
277 <descriptor>${basedir}/distribution.xml</descriptor>
282 <id>make-assembly</id>
283 <phase>package</phase>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-war-plugin</artifactId>
295 <version>3.0.0</version>
297 <!-- Build a jar with all the Java classes -->
298 <attachClasses>true</attachClasses>
299 <!-- Do not put any jars in the war -->
300 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-site-plugin</artifactId>
306 <version>3.6</version>
309 <groupId>org.apache.maven.wagon</groupId>
310 <artifactId>wagon-webdav-jackrabbit</artifactId>
311 <version>2.10</version>
316 <groupId>pl.project13.maven</groupId>
317 <artifactId>git-commit-id-plugin</artifactId>
318 <version>2.2.4</version>
321 <id>get-the-git-infos</id>
323 <goal>revision</goal>
328 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
329 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
330 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
331 <generateGitPropertiesFile>true</generateGitPropertiesFile>
332 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
333 <includeOnlyProperties>
334 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
335 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
336 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
337 </includeOnlyProperties>
343 Replace phase "none" with "process-sources" to enable.
344 Set organizationName as desired.
345 Then run `mvn license:check-file-header`, or even `mvn
346 license:update-file-header`.
348 <groupId>org.codehaus.mojo</groupId>
349 <artifactId>license-maven-plugin</artifactId>
350 <version>1.17</version>
356 <goal>update-file-header</goal>
358 <!-- replace phase "none" with "process-sources" to enable -->
364 <canUpdateCopyright>false</canUpdateCopyright>
365 <canUpdateDescription>false</canUpdateDescription>
366 <licenseName>apache_v2</licenseName>
367 <processStartTag>============LICENSE_START=======================================================</processStartTag>
368 <processEndTag>============LICENSE_END=========================================================</processEndTag>
369 <sectionDelimiter>================================================================================</sectionDelimiter>
370 <projectName>VID</projectName>
371 <inceptionYear>2017</inceptionYear>
372 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
373 <canUpdateLicense>true</canUpdateLicense>
374 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
375 <emptyLineAfterHeader>true</emptyLineAfterHeader>
376 <verbose>false</verbose>
379 <include>**/*.java</include>
380 <include>**/*.kt</include>
381 <include>**/*.jsp</include>
382 <include>**/*.xml</include>
383 <include>**/*.js</include>
384 <include>**/*.ts</include>
385 <include>**/*.html</include>
386 <include>**/*.css</include>
387 <include>**/*.sql</include>
395 <root>src/main</root>
396 <root>src/test</root>
400 <exclude>**/app/vid/external/**/*</exclude>
401 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
402 <exclude>**/test/resources/WEB-INF/**/*</exclude>
403 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-javadoc-plugin</artifactId>
417 <version>2.10.4</version>
419 <failOnError>false</failOnError>
420 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
422 <groupId>org.umlgraph</groupId>
423 <artifactId>umlgraph</artifactId>
424 <version>5.6</version>
426 <additionalparam>-views</additionalparam>
427 <useStandardDocletOptions>true</useStandardDocletOptions>
436 <groupId>com.opencsv</groupId>
437 <artifactId>opencsv</artifactId>
438 <version>4.1</version>
444 <groupId>io.joshworks.unirest</groupId>
445 <artifactId>unirest-java</artifactId>
446 <version>0.2.1</version>
449 <groupId>org.apache.httpcomponents</groupId>
450 <artifactId>httpclient</artifactId>
451 <version>4.5.6</version>
454 <groupId>org.apache.httpcomponents</groupId>
455 <artifactId>httpasyncclient</artifactId>
456 <version>4.0.2</version>
459 <groupId>org.apache.httpcomponents</groupId>
460 <artifactId>httpmime</artifactId>
461 <version>4.3.6</version>
464 <groupId>com.xebialabs.restito</groupId>
465 <artifactId>restito</artifactId>
466 <version>0.9.3</version>
472 <groupId>io.vavr</groupId>
473 <artifactId>vavr</artifactId>
474 <version>0.9.2</version>
477 <!-- SDK overlay war -->
479 <groupId>org.onap.portal.sdk</groupId>
480 <artifactId>epsdk-app-overlay</artifactId>
481 <version>${epsdk.version}</version>
485 <groupId>org.onap.portal.sdk</groupId>
486 <artifactId>epsdk-app-common</artifactId>
487 <version>${epsdk.version}</version>
492 <groupId>org.onap.portal.sdk</groupId>
493 <artifactId>epsdk-core</artifactId>
494 <version>${epsdk.version}</version>
497 <groupId>org.onap.portal.sdk</groupId>
498 <artifactId>epsdk-analytics</artifactId>
499 <version>${epsdk.version}</version>
502 <groupId>com.lowagie</groupId>
503 <artifactId>itext</artifactId>
508 <groupId>org.onap.portal.sdk</groupId>
509 <artifactId>epsdk-workflow</artifactId>
510 <version>${epsdk.version}</version>
513 <groupId>com.att.eelf</groupId>
514 <artifactId>eelf-core</artifactId>
515 <version>1.0.0</version>
518 <artifactId>powermock-api-mockito</artifactId>
519 <groupId>org.powermock</groupId>
524 <groupId>ch.qos.logback</groupId>
525 <artifactId>logback-core</artifactId>
526 <version>1.2.3</version>
529 <groupId>ch.qos.logback</groupId>
530 <artifactId>logback-classic</artifactId>
531 <version>1.2.3</version>
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>
685 <version>1.9.3</version>
688 <groupId>com.googlecode.json-simple</groupId>
689 <artifactId>json-simple</artifactId>
690 <version>1.1.1</version>
693 <groupId>org.seleniumhq.selenium</groupId>
694 <artifactId>selenium-java</artifactId>
695 <version>2.53.1</version>
699 <groupId>org.seleniumhq.selenium</groupId>
700 <artifactId>selenium-api</artifactId>
701 <version>2.53.1</version>
705 <groupId>org.testng</groupId>
706 <artifactId>testng</artifactId>
707 <version>6.14.3</version>
711 <groupId>org.mockito</groupId>
712 <artifactId>mockito-core</artifactId>
713 <version>2.23.0</version>
717 <groupId>org.seleniumhq.selenium</groupId>
718 <artifactId>selenium-firefox-driver</artifactId>
719 <version>2.53.1</version>
722 <groupId>xml-apis</groupId>
723 <artifactId>xml-apis</artifactId>
724 <version>1.4.01</version>
727 <groupId>org.yaml</groupId>
728 <artifactId>snakeyaml</artifactId>
729 <version>1.16</version>
732 <groupId>org.skyscreamer</groupId>
733 <artifactId>jsonassert</artifactId>
734 <version>1.5.0</version>
738 <groupId>org.onap.sdc.sdc-tosca</groupId>
739 <artifactId>sdc-tosca</artifactId>
740 <version>1.4.7</version>
741 <scope>compile</scope>
744 <groupId>net.javacrumbs.json-unit</groupId>
745 <artifactId>json-unit</artifactId>
746 <version>1.23.0</version>
750 <groupId>org.glassfish.jersey.media</groupId>
751 <artifactId>jersey-media-json-jackson</artifactId>
752 <version>${jersey.version}</version>
756 <groupId>org.apache.commons</groupId>
757 <artifactId>commons-lang3</artifactId>
758 <version>3.6</version>
761 <groupId>org.apache.commons</groupId>
762 <artifactId>commons-text</artifactId>
763 <version>1.1</version>
766 <groupId>org.apache.commons</groupId>
767 <artifactId>commons-proxy</artifactId>
768 <version>1.0</version>
771 <groupId>org.hamcrest</groupId>
772 <artifactId>java-hamcrest</artifactId>
773 <version>2.0.0.0</version>
777 <groupId>org.togglz</groupId>
778 <artifactId>togglz-spring-core</artifactId>
779 <version>2.5.0.Final</version>
782 <groupId>com.h2database</groupId>
783 <artifactId>h2</artifactId>
784 <version>1.4.196</version>
788 <groupId>javax.xml.bind</groupId>
789 <artifactId>jaxb-api</artifactId>
790 <version>2.2.11</version>
794 <groupId>org.assertj</groupId>
795 <artifactId>assertj-core</artifactId>
796 <version>3.10.0</version>
797 <scope>compile</scope>
800 <groupId>com.google.guava</groupId>
801 <artifactId>guava</artifactId>
802 <version>23.0</version>