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>
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>
476 <groupId>org.jeasy</groupId>
477 <artifactId>easy-random-core</artifactId>
478 <version>4.0.0.RC1</version>
484 <groupId>io.vavr</groupId>
485 <artifactId>vavr</artifactId>
486 <version>0.9.2</version>
489 <!-- SDK overlay war -->
491 <groupId>org.onap.portal.sdk</groupId>
492 <artifactId>epsdk-app-overlay</artifactId>
493 <version>${epsdk.version}</version>
497 <groupId>org.onap.portal.sdk</groupId>
498 <artifactId>epsdk-app-common</artifactId>
499 <version>${epsdk.version}</version>
504 <groupId>org.onap.portal.sdk</groupId>
505 <artifactId>epsdk-core</artifactId>
506 <version>${epsdk.version}</version>
509 <groupId>org.onap.portal.sdk</groupId>
510 <artifactId>epsdk-analytics</artifactId>
511 <version>${epsdk.version}</version>
514 <groupId>com.lowagie</groupId>
515 <artifactId>itext</artifactId>
520 <groupId>org.onap.portal.sdk</groupId>
521 <artifactId>epsdk-workflow</artifactId>
522 <version>${epsdk.version}</version>
525 <groupId>com.att.eelf</groupId>
526 <artifactId>eelf-core</artifactId>
527 <version>1.0.0</version>
530 <artifactId>powermock-api-mockito</artifactId>
531 <groupId>org.powermock</groupId>
536 <groupId>ch.qos.logback</groupId>
537 <artifactId>logback-classic</artifactId>
541 <groupId>org.jetbrains.kotlin</groupId>
542 <artifactId>kotlin-stdlib-jdk8</artifactId>
543 <version>${kotlin.version}</version>
548 <groupId>com.fasterxml.jackson.core</groupId>
549 <artifactId>jackson-annotations</artifactId>
550 <version>${jackson.version}</version>
553 <groupId>com.fasterxml.jackson.core</groupId>
554 <artifactId>jackson-core</artifactId>
555 <version>${jackson.version}</version>
558 <groupId>com.fasterxml.jackson.core</groupId>
559 <artifactId>jackson-databind</artifactId>
560 <version>${jackson.version}</version>
563 <groupId>com.fasterxml.jackson.module</groupId>
564 <artifactId>jackson-module-kotlin</artifactId>
565 <version>${jackson.version}</version>
567 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
569 <groupId>com.mchange</groupId>
570 <artifactId>c3p0</artifactId>
571 <version>0.9.5.3</version>
574 <groupId>io.searchbox</groupId>
575 <artifactId>jest</artifactId>
576 <version>2.0.0</version>
579 <groupId>commons-logging</groupId>
580 <artifactId>commons-logging</artifactId>
585 <groupId>javax.servlet</groupId>
586 <artifactId>javax.servlet-api</artifactId>
587 <version>3.1.0</version>
588 <scope>provided</scope>
591 <groupId>junit</groupId>
592 <artifactId>junit</artifactId>
593 <version>4.12</version>
597 <groupId>commons-io</groupId>
598 <artifactId>commons-io</artifactId>
599 <version>2.4</version>
600 <!--<scope>test</scope>-->
603 <groupId>com.google.code.bean-matchers</groupId>
604 <artifactId>bean-matchers</artifactId>
605 <version>0.11</version>
609 <groupId>org.json</groupId>
610 <artifactId>json</artifactId>
611 <version>20160212</version>
614 <groupId>org.quartz-scheduler</groupId>
615 <artifactId>quartz</artifactId>
616 <version>2.2.1</version>
618 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
620 <groupId>c3p0</groupId>
621 <artifactId>c3p0</artifactId>
625 <!-- bridge to implement commons-logging using slf4j -->
627 <groupId>org.slf4j</groupId>
628 <artifactId>jcl-over-slf4j</artifactId>
629 <version>1.7.12</version>
632 <!-- springframework to override epsdk-app-common's and epsdk-core's versions -->
634 <groupId>org.springframework</groupId>
635 <artifactId>spring-core</artifactId>
636 <version>${springframework.version}</version>
639 <groupId>commons-logging</groupId>
640 <artifactId>commons-logging</artifactId>
645 <groupId>org.springframework</groupId>
646 <artifactId>spring-test</artifactId>
647 <version>${springframework.version}</version>
650 <groupId>org.springframework</groupId>
651 <artifactId>spring-tx</artifactId>
652 <version>${springframework.version}</version>
655 <groupId>org.springframework</groupId>
656 <artifactId>spring-web</artifactId>
657 <version>${springframework.version}</version>
660 <groupId>org.springframework</groupId>
661 <artifactId>spring-webmvc</artifactId>
662 <version>${springframework.version}</version>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring-context-support</artifactId>
667 <version>${springframework.version}</version>
670 <groupId>org.springframework</groupId>
671 <artifactId>spring-orm</artifactId>
672 <version>${springframework.version}</version>
675 <groupId>org.springframework</groupId>
676 <artifactId>spring-aop</artifactId>
677 <version>${springframework.version}</version>
681 <groupId>org.glassfish.jersey.core</groupId>
682 <artifactId>jersey-client</artifactId>
683 <version>${jersey.version}</version>
686 <groupId>org.glassfish.jersey.connectors</groupId>
687 <artifactId>jersey-jetty-connector</artifactId>
688 <version>${jersey.version}</version>
690 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
692 <groupId>org.glassfish.jersey.inject</groupId>
693 <artifactId>jersey-hk2</artifactId>
694 <version>${jersey.version}</version>
697 <groupId>com.fasterxml.jackson.jaxrs</groupId>
698 <artifactId>jackson-jaxrs-json-provider</artifactId>
699 <version>${jackson.version}</version>
702 <groupId>commons-beanutils</groupId>
703 <artifactId>commons-beanutils</artifactId>
706 <groupId>com.googlecode.json-simple</groupId>
707 <artifactId>json-simple</artifactId>
708 <version>1.1.1</version>
711 <groupId>org.seleniumhq.selenium</groupId>
712 <artifactId>selenium-java</artifactId>
713 <version>2.53.1</version>
717 <groupId>org.seleniumhq.selenium</groupId>
718 <artifactId>selenium-api</artifactId>
719 <version>2.53.1</version>
723 <groupId>org.testng</groupId>
724 <artifactId>testng</artifactId>
725 <version>6.14.3</version>
729 <groupId>org.mockito</groupId>
730 <artifactId>mockito-core</artifactId>
731 <version>2.23.0</version>
735 <groupId>org.seleniumhq.selenium</groupId>
736 <artifactId>selenium-firefox-driver</artifactId>
737 <version>2.53.1</version>
740 <groupId>xml-apis</groupId>
741 <artifactId>xml-apis</artifactId>
742 <version>1.4.01</version>
745 <groupId>org.yaml</groupId>
746 <artifactId>snakeyaml</artifactId>
747 <version>1.16</version>
750 <groupId>org.skyscreamer</groupId>
751 <artifactId>jsonassert</artifactId>
752 <version>1.5.0</version>
756 <groupId>org.onap.sdc.sdc-tosca</groupId>
757 <artifactId>sdc-tosca</artifactId>
758 <version>1.4.7</version>
759 <scope>compile</scope>
762 <groupId>net.javacrumbs.json-unit</groupId>
763 <artifactId>json-unit</artifactId>
764 <version>1.23.0</version>
768 <groupId>org.glassfish.jersey.media</groupId>
769 <artifactId>jersey-media-json-jackson</artifactId>
770 <version>${jersey.version}</version>
774 <groupId>org.apache.commons</groupId>
775 <artifactId>commons-lang3</artifactId>
776 <version>3.6</version>
779 <groupId>org.apache.commons</groupId>
780 <artifactId>commons-text</artifactId>
781 <version>1.1</version>
784 <groupId>org.apache.commons</groupId>
785 <artifactId>commons-proxy</artifactId>
786 <version>1.0</version>
789 <groupId>org.hamcrest</groupId>
790 <artifactId>java-hamcrest</artifactId>
791 <version>2.0.0.0</version>
795 <groupId>org.togglz</groupId>
796 <artifactId>togglz-spring-core</artifactId>
797 <version>2.5.0.Final</version>
800 <groupId>com.h2database</groupId>
801 <artifactId>h2</artifactId>
802 <version>1.4.196</version>
806 <groupId>javax.xml.bind</groupId>
807 <artifactId>jaxb-api</artifactId>
808 <version>2.2.11</version>
812 <groupId>org.assertj</groupId>
813 <artifactId>assertj-core</artifactId>
814 <version>3.10.0</version>
815 <scope>compile</scope>
818 <groupId>com.google.guava</groupId>
819 <artifactId>guava</artifactId>
822 <groupId>io.springfox</groupId>
823 <artifactId>springfox-swagger2</artifactId>
824 <version>2.9.2</version>