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>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 run-script build</id>
177 <arguments>run-script build</arguments>
182 <phase>generate-resources</phase>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-compiler-plugin</artifactId>
190 <version>3.5.1</version>
197 <!-- Replacing default-compile as it is treated specially by maven -->
199 <id>default-compile</id>
202 <!-- Replacing default-testCompile as it is treated specially by maven -->
204 <id>default-testCompile</id>
208 <id>java-compile</id>
209 <phase>compile</phase>
210 <goals> <goal>compile</goal> </goals>
213 <id>java-test-compile</id>
214 <phase>test-compile</phase>
215 <goals> <goal>testCompile</goal> </goals>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
224 <version>${surefire.version}</version>
227 <include>**/Test*.java</include>
228 <include>**/*Test.java</include>
229 <include>**/*TestCase.java</include>
232 <exclude>**/selenium/*.java</exclude>
233 <exclude>**/integrationTest/*.java</exclude>
235 <additionalClasspathElements>
236 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
237 </additionalClasspathElements>
238 <systemPropertyVariables>
239 <container.classpath>classpath:</container.classpath>
240 </systemPropertyVariables>
241 <useSystemClassLoader>false</useSystemClassLoader>
244 <!-- avoid running JUnit tests within surefire-testng provider -->
249 <threadCount>1</threadCount>
252 <!-- Running TestNG and JUnit Tests -->
253 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
255 <groupId>org.apache.maven.surefire</groupId>
256 <artifactId>surefire-junit47</artifactId>
257 <version>${surefire.version}</version>
260 <groupId>org.apache.maven.surefire</groupId>
261 <artifactId>surefire-testng</artifactId>
262 <version>${surefire.version}</version>
268 <artifactId>maven-assembly-plugin</artifactId>
270 <skipAssembly>${skipassembly}</skipAssembly>
272 <descriptor>${basedir}/distribution.xml</descriptor>
277 <id>make-assembly</id>
278 <phase>package</phase>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-war-plugin</artifactId>
290 <version>3.0.0</version>
292 <!-- Build a jar with all the Java classes -->
293 <attachClasses>true</attachClasses>
294 <!-- Do not put any jars in the war -->
295 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-site-plugin</artifactId>
301 <version>3.6</version>
304 <groupId>org.apache.maven.wagon</groupId>
305 <artifactId>wagon-webdav-jackrabbit</artifactId>
306 <version>2.10</version>
311 <groupId>pl.project13.maven</groupId>
312 <artifactId>git-commit-id-plugin</artifactId>
313 <version>2.2.4</version>
316 <id>get-the-git-infos</id>
318 <goal>revision</goal>
323 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
324 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
325 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
326 <generateGitPropertiesFile>true</generateGitPropertiesFile>
327 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
328 <includeOnlyProperties>
329 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
330 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
331 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
332 </includeOnlyProperties>
338 Replace phase "none" with "process-sources" to enable.
339 Set organizationName as desired.
340 Then run `mvn license:check-file-header`, or even `mvn
341 license:update-file-header`.
343 <groupId>org.codehaus.mojo</groupId>
344 <artifactId>license-maven-plugin</artifactId>
345 <version>1.17</version>
351 <goal>update-file-header</goal>
353 <!-- replace phase "none" with "process-sources" to enable -->
359 <canUpdateCopyright>false</canUpdateCopyright>
360 <canUpdateDescription>false</canUpdateDescription>
361 <licenseName>apache_v2</licenseName>
362 <processStartTag>============LICENSE_START=======================================================</processStartTag>
363 <processEndTag>============LICENSE_END=========================================================</processEndTag>
364 <sectionDelimiter>================================================================================</sectionDelimiter>
365 <projectName>VID</projectName>
366 <inceptionYear>2017</inceptionYear>
367 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
368 <canUpdateLicense>true</canUpdateLicense>
369 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
370 <emptyLineAfterHeader>true</emptyLineAfterHeader>
371 <verbose>false</verbose>
374 <include>**/*.java</include>
375 <include>**/*.kt</include>
376 <include>**/*.jsp</include>
377 <include>**/*.xml</include>
378 <include>**/*.js</include>
379 <include>**/*.ts</include>
380 <include>**/*.html</include>
381 <include>**/*.css</include>
382 <include>**/*.sql</include>
390 <root>src/main</root>
391 <root>src/test</root>
395 <exclude>**/app/vid/external/**/*</exclude>
396 <exclude>**/main/webapp/WEB-INF/**/*</exclude>
397 <exclude>**/test/resources/WEB-INF/**/*</exclude>
398 <exclude>**/app/vid/scripts/angular-ui-tree.js</exclude>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-javadoc-plugin</artifactId>
412 <version>2.10.4</version>
414 <failOnError>false</failOnError>
415 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
417 <groupId>org.umlgraph</groupId>
418 <artifactId>umlgraph</artifactId>
419 <version>5.6</version>
421 <additionalparam>-views</additionalparam>
422 <useStandardDocletOptions>true</useStandardDocletOptions>
431 <groupId>com.opencsv</groupId>
432 <artifactId>opencsv</artifactId>
433 <version>4.1</version>
439 <groupId>io.joshworks.unirest</groupId>
440 <artifactId>unirest-java</artifactId>
441 <version>0.2.1</version>
444 <groupId>org.apache.httpcomponents</groupId>
445 <artifactId>httpclient</artifactId>
448 <groupId>org.apache.httpcomponents</groupId>
449 <artifactId>httpasyncclient</artifactId>
450 <version>4.0.2</version>
453 <groupId>org.apache.httpcomponents</groupId>
454 <artifactId>httpmime</artifactId>
455 <version>4.5.7</version>
458 <groupId>com.xebialabs.restito</groupId>
459 <artifactId>restito</artifactId>
460 <version>0.9.3</version>
464 <groupId>org.jeasy</groupId>
465 <artifactId>easy-random-core</artifactId>
466 <version>4.0.0.RC1</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-classic</artifactId>
529 <groupId>org.jetbrains.kotlin</groupId>
530 <artifactId>kotlin-stdlib-jdk8</artifactId>
531 <version>${kotlin.version}</version>
536 <groupId>com.fasterxml.jackson.core</groupId>
537 <artifactId>jackson-annotations</artifactId>
538 <version>${jackson.version}</version>
541 <groupId>com.fasterxml.jackson.core</groupId>
542 <artifactId>jackson-core</artifactId>
543 <version>${jackson.version}</version>
546 <groupId>com.fasterxml.jackson.core</groupId>
547 <artifactId>jackson-databind</artifactId>
548 <version>${jackson.version}</version>
551 <groupId>com.fasterxml.jackson.module</groupId>
552 <artifactId>jackson-module-kotlin</artifactId>
553 <version>${jackson.version}</version>
555 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
557 <groupId>com.mchange</groupId>
558 <artifactId>c3p0</artifactId>
559 <version>0.9.5.4</version>
562 <groupId>io.searchbox</groupId>
563 <artifactId>jest</artifactId>
564 <version>2.0.0</version>
567 <groupId>commons-logging</groupId>
568 <artifactId>commons-logging</artifactId>
573 <groupId>javax.servlet</groupId>
574 <artifactId>javax.servlet-api</artifactId>
575 <version>3.1.0</version>
576 <scope>provided</scope>
579 <groupId>junit</groupId>
580 <artifactId>junit</artifactId>
581 <version>4.12</version>
585 <groupId>commons-io</groupId>
586 <artifactId>commons-io</artifactId>
587 <version>2.4</version>
588 <!--<scope>test</scope>-->
591 <groupId>com.google.code.bean-matchers</groupId>
592 <artifactId>bean-matchers</artifactId>
593 <version>0.11</version>
597 <groupId>org.json</groupId>
598 <artifactId>json</artifactId>
599 <version>20160212</version>
602 <groupId>org.quartz-scheduler</groupId>
603 <artifactId>quartz</artifactId>
604 <version>2.2.1</version>
606 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
608 <groupId>c3p0</groupId>
609 <artifactId>c3p0</artifactId>
613 <!-- bridge to implement commons-logging using slf4j -->
615 <groupId>org.slf4j</groupId>
616 <artifactId>jcl-over-slf4j</artifactId>
617 <version>1.7.12</version>
620 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
622 <groupId>org.springframework</groupId>
623 <artifactId>spring-core</artifactId>
624 <version>${springframework.version}</version>
627 <groupId>commons-logging</groupId>
628 <artifactId>commons-logging</artifactId>
633 <groupId>org.springframework</groupId>
634 <artifactId>spring-test</artifactId>
635 <version>${springframework.version}</version>
638 <groupId>org.springframework</groupId>
639 <artifactId>spring-tx</artifactId>
640 <version>${springframework.version}</version>
643 <groupId>org.springframework</groupId>
644 <artifactId>spring-web</artifactId>
645 <version>${springframework.version}</version>
648 <groupId>org.springframework</groupId>
649 <artifactId>spring-webmvc</artifactId>
650 <version>${springframework.version}</version>
653 <groupId>org.springframework</groupId>
654 <artifactId>spring-context-support</artifactId>
655 <version>${springframework.version}</version>
658 <groupId>org.springframework</groupId>
659 <artifactId>spring-orm</artifactId>
660 <version>${springframework.version}</version>
663 <groupId>org.springframework</groupId>
664 <artifactId>spring-aop</artifactId>
665 <version>${springframework.version}</version>
669 <groupId>org.glassfish.jersey.core</groupId>
670 <artifactId>jersey-client</artifactId>
671 <version>${jersey.version}</version>
674 <groupId>org.glassfish.jersey.connectors</groupId>
675 <artifactId>jersey-jetty-connector</artifactId>
676 <version>${jersey.version}</version>
678 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
680 <groupId>org.glassfish.jersey.inject</groupId>
681 <artifactId>jersey-hk2</artifactId>
682 <version>${jersey.version}</version>
685 <groupId>com.fasterxml.jackson.jaxrs</groupId>
686 <artifactId>jackson-jaxrs-json-provider</artifactId>
687 <version>${jackson.version}</version>
690 <groupId>commons-beanutils</groupId>
691 <artifactId>commons-beanutils</artifactId>
694 <groupId>com.googlecode.json-simple</groupId>
695 <artifactId>json-simple</artifactId>
696 <version>1.1.1</version>
699 <groupId>org.seleniumhq.selenium</groupId>
700 <artifactId>selenium-java</artifactId>
701 <version>2.53.1</version>
705 <groupId>org.seleniumhq.selenium</groupId>
706 <artifactId>selenium-api</artifactId>
707 <version>2.53.1</version>
711 <groupId>org.testng</groupId>
712 <artifactId>testng</artifactId>
713 <version>6.14.3</version>
717 <groupId>org.mockito</groupId>
718 <artifactId>mockito-core</artifactId>
719 <version>2.23.0</version>
723 <groupId>org.seleniumhq.selenium</groupId>
724 <artifactId>selenium-firefox-driver</artifactId>
725 <version>2.53.1</version>
728 <groupId>xml-apis</groupId>
729 <artifactId>xml-apis</artifactId>
730 <version>1.4.01</version>
733 <groupId>org.yaml</groupId>
734 <artifactId>snakeyaml</artifactId>
735 <version>1.16</version>
738 <groupId>org.skyscreamer</groupId>
739 <artifactId>jsonassert</artifactId>
740 <version>1.5.0</version>
744 <groupId>org.onap.sdc.sdc-tosca</groupId>
745 <artifactId>sdc-tosca</artifactId>
746 <version>1.4.7</version>
747 <scope>compile</scope>
750 <groupId>net.javacrumbs.json-unit</groupId>
751 <artifactId>json-unit</artifactId>
752 <version>1.23.0</version>
756 <groupId>org.glassfish.jersey.media</groupId>
757 <artifactId>jersey-media-json-jackson</artifactId>
758 <version>${jersey.version}</version>
762 <groupId>org.apache.commons</groupId>
763 <artifactId>commons-lang3</artifactId>
764 <version>3.6</version>
767 <groupId>org.apache.commons</groupId>
768 <artifactId>commons-text</artifactId>
769 <version>1.1</version>
772 <groupId>org.apache.commons</groupId>
773 <artifactId>commons-proxy</artifactId>
774 <version>1.0</version>
777 <groupId>org.hamcrest</groupId>
778 <artifactId>java-hamcrest</artifactId>
779 <version>2.0.0.0</version>
783 <groupId>org.togglz</groupId>
784 <artifactId>togglz-spring-core</artifactId>
785 <version>2.5.0.Final</version>
788 <groupId>com.h2database</groupId>
789 <artifactId>h2</artifactId>
790 <version>1.4.196</version>
794 <groupId>javax.xml.bind</groupId>
795 <artifactId>jaxb-api</artifactId>
796 <version>2.2.11</version>
800 <groupId>org.assertj</groupId>
801 <artifactId>assertj-core</artifactId>
802 <version>3.10.0</version>
803 <scope>compile</scope>
806 <groupId>com.google.guava</groupId>
807 <artifactId>guava</artifactId>
810 <groupId>io.springfox</groupId>
811 <artifactId>springfox-swagger2</artifactId>
812 <version>2.9.2</version>