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>
28 <!-- Skip assembling the zip by default -->
29 <skipassembly>true</skipassembly>
30 <nexusproxy>https://nexus.onap.org</nexusproxy>
31 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
32 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
33 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
34 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
36 <aspectj.version>1.8.9</aspectj.version>
37 <kotlin.version>1.3.11</kotlin.version>
38 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
40 <eirslett.version>1.6</eirslett.version>
41 <node.version>v6.16.0</node.version>
46 <!-- this should be commented for local debugging -->
47 <!-- <deployenv>local</deployenv> -->
51 <id>ecomp-releases</id>
52 <name>VID Release Repository</name>
53 <url>${nexusproxy}${releaseNexusPath}</url>
56 <id>ecomp-snapshots</id>
57 <name>VID Snapshot Repository</name>
58 <url>${nexusproxy}${snapshotNexusPath}</url>
61 <id>ecomp-staging</id>
62 <name>VID Staging Repository</name>
63 <url>${nexusproxy}${stagingNexusPath}</url>
66 <!-- Snapshots repository has ECOMP snapshot artifacts -->
67 <id>oss-snapshots</id>
68 <name>oss Central - Snapshots</name>
69 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
73 <distributionManagement>
75 <id>ecomp-releases</id>
76 <name>VID Release Repository</name>
77 <url>${nexusproxy}/${releaseNexusPath}</url>
80 <id>ecomp-snapshots</id>
81 <name>VID Snapshot Repository</name>
82 <url>${nexusproxy}/${snapshotNexusPath}</url>
84 <!-- added for javadoc -->
87 <url>dav:${nexusproxy}${sitePath}</url>
89 </distributionManagement>
92 <finalName>vid-common</finalName>
97 <artifactId>kotlin-maven-plugin</artifactId>
98 <groupId>org.jetbrains.kotlin</groupId>
99 <version>${kotlin.version}</version>
103 <goals> <goal>compile</goal> </goals>
106 <sourceDir>${project.basedir}/src/main/java</sourceDir>
111 <id>test-compile</id>
112 <goals> <goal>test-compile</goal> </goals>
115 <sourceDir>${project.basedir}/src/test/java</sourceDir>
123 <groupId>org.sonatype.plugins</groupId>
124 <artifactId>nexus-staging-maven-plugin</artifactId>
125 <version>1.6.7</version>
126 <extensions>true</extensions>
128 <nexusUrl>${nexusproxy}</nexusUrl>
129 <stagingProfileId>176c31dfe190a</stagingProfileId>
130 <serverId>ecomp-staging</serverId>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
136 <version>0.7.9</version>
139 <id>default-prepare-agent</id>
141 <goal>prepare-agent</goal>
145 <id>default-report</id>
153 <groupId>org.apache.tomcat.maven</groupId>
154 <artifactId>tomcat6-maven-plugin</artifactId>
155 <version>2.2</version>
158 <groupId>org.apache.tomcat.maven</groupId>
159 <artifactId>tomcat7-maven-plugin</artifactId>
160 <version>2.2</version>
164 <groupId>com.github.eirslett</groupId>
165 <artifactId>frontend-maven-plugin</artifactId>
166 <version>${eirslett.version}</version>
169 <id>install node and npm</id>
171 <goal>install-node-and-npm</goal>
173 <phase>generate-resources</phase>
175 <nodeVersion>${node.version}</nodeVersion>
179 <id>npm run-script build</id>
181 <arguments>run-script build</arguments>
186 <phase>generate-resources</phase>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-compiler-plugin</artifactId>
194 <version>3.5.1</version>
201 <!-- Replacing default-compile as it is treated specially by maven -->
203 <id>default-compile</id>
206 <!-- Replacing default-testCompile as it is treated specially by maven -->
208 <id>default-testCompile</id>
212 <id>java-compile</id>
213 <phase>compile</phase>
214 <goals> <goal>compile</goal> </goals>
217 <id>java-test-compile</id>
218 <phase>test-compile</phase>
219 <goals> <goal>testCompile</goal> </goals>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-surefire-plugin</artifactId>
228 <version>${surefire.version}</version>
231 <include>**/Test*.java</include>
232 <include>**/*Test.java</include>
233 <include>**/*TestCase.java</include>
236 <exclude>**/selenium/*.java</exclude>
237 <exclude>**/integrationTest/*.java</exclude>
239 <additionalClasspathElements>
240 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
241 </additionalClasspathElements>
242 <systemPropertyVariables>
243 <container.classpath>classpath:</container.classpath>
244 </systemPropertyVariables>
245 <useSystemClassLoader>false</useSystemClassLoader>
248 <!-- avoid running JUnit tests within surefire-testng provider -->
253 <threadCount>1</threadCount>
256 <!-- Running TestNG and JUnit Tests -->
257 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
259 <groupId>org.apache.maven.surefire</groupId>
260 <artifactId>surefire-junit47</artifactId>
261 <version>${surefire.version}</version>
264 <groupId>org.apache.maven.surefire</groupId>
265 <artifactId>surefire-testng</artifactId>
266 <version>${surefire.version}</version>
272 <artifactId>maven-assembly-plugin</artifactId>
274 <skipAssembly>${skipassembly}</skipAssembly>
276 <descriptor>${basedir}/distribution.xml</descriptor>
281 <id>make-assembly</id>
282 <phase>package</phase>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-war-plugin</artifactId>
294 <version>3.0.0</version>
296 <!-- Build a jar with all the Java classes -->
297 <attachClasses>true</attachClasses>
298 <!-- Do not put any jars in the war -->
299 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-site-plugin</artifactId>
305 <version>3.6</version>
308 <groupId>org.apache.maven.wagon</groupId>
309 <artifactId>wagon-webdav-jackrabbit</artifactId>
310 <version>2.10</version>
315 <groupId>pl.project13.maven</groupId>
316 <artifactId>git-commit-id-plugin</artifactId>
317 <version>2.2.4</version>
320 <id>get-the-git-infos</id>
322 <goal>revision</goal>
327 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
328 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
329 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
330 <generateGitPropertiesFile>true</generateGitPropertiesFile>
331 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
332 <includeOnlyProperties>
333 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
334 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
335 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
336 </includeOnlyProperties>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-javadoc-plugin</artifactId>
347 <version>2.10.4</version>
349 <failOnError>false</failOnError>
350 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
352 <groupId>org.umlgraph</groupId>
353 <artifactId>umlgraph</artifactId>
354 <version>5.6</version>
356 <additionalparam>-views</additionalparam>
357 <useStandardDocletOptions>true</useStandardDocletOptions>
366 <groupId>com.opencsv</groupId>
367 <artifactId>opencsv</artifactId>
368 <version>4.1</version>
374 <groupId>io.joshworks.unirest</groupId>
375 <artifactId>unirest-java</artifactId>
376 <version>0.2.1</version>
379 <groupId>org.apache.httpcomponents</groupId>
380 <artifactId>httpclient</artifactId>
381 <version>4.5.6</version>
384 <groupId>org.apache.httpcomponents</groupId>
385 <artifactId>httpasyncclient</artifactId>
386 <version>4.0.2</version>
389 <groupId>org.apache.httpcomponents</groupId>
390 <artifactId>httpmime</artifactId>
391 <version>4.3.6</version>
394 <groupId>com.xebialabs.restito</groupId>
395 <artifactId>restito</artifactId>
396 <version>0.9.3</version>
402 <groupId>io.vavr</groupId>
403 <artifactId>vavr</artifactId>
404 <version>0.9.2</version>
407 <!-- SDK overlay war -->
409 <groupId>org.onap.portal.sdk</groupId>
410 <artifactId>epsdk-app-overlay</artifactId>
411 <version>${epsdk.version}</version>
415 <groupId>org.onap.portal.sdk</groupId>
416 <artifactId>epsdk-app-common</artifactId>
417 <version>${epsdk.version}</version>
422 <groupId>org.onap.portal.sdk</groupId>
423 <artifactId>epsdk-core</artifactId>
424 <version>${epsdk.version}</version>
427 <groupId>org.onap.portal.sdk</groupId>
428 <artifactId>epsdk-analytics</artifactId>
429 <version>${epsdk.version}</version>
432 <groupId>com.lowagie</groupId>
433 <artifactId>itext</artifactId>
438 <groupId>org.onap.portal.sdk</groupId>
439 <artifactId>epsdk-workflow</artifactId>
440 <version>${epsdk.version}</version>
443 <groupId>com.att.eelf</groupId>
444 <artifactId>eelf-core</artifactId>
445 <version>1.0.0</version>
448 <artifactId>powermock-api-mockito</artifactId>
449 <groupId>org.powermock</groupId>
454 <groupId>ch.qos.logback</groupId>
455 <artifactId>logback-core</artifactId>
456 <version>1.2.3</version>
459 <groupId>ch.qos.logback</groupId>
460 <artifactId>logback-classic</artifactId>
461 <version>1.2.3</version>
465 <groupId>org.jetbrains.kotlin</groupId>
466 <artifactId>kotlin-stdlib-jdk8</artifactId>
467 <version>${kotlin.version}</version>
472 <groupId>com.fasterxml.jackson.core</groupId>
473 <artifactId>jackson-annotations</artifactId>
474 <version>${jackson.version}</version>
477 <groupId>com.fasterxml.jackson.core</groupId>
478 <artifactId>jackson-core</artifactId>
479 <version>${jackson.version}</version>
482 <groupId>com.fasterxml.jackson.core</groupId>
483 <artifactId>jackson-databind</artifactId>
484 <version>${jackson.version}</version>
487 <groupId>com.fasterxml.jackson.module</groupId>
488 <artifactId>jackson-module-kotlin</artifactId>
489 <version>${jackson.version}</version>
491 <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability -->
493 <groupId>com.mchange</groupId>
494 <artifactId>c3p0</artifactId>
495 <version>0.9.5.3</version>
498 <groupId>io.searchbox</groupId>
499 <artifactId>jest</artifactId>
500 <version>2.0.0</version>
503 <groupId>commons-logging</groupId>
504 <artifactId>commons-logging</artifactId>
509 <groupId>javax.servlet</groupId>
510 <artifactId>javax.servlet-api</artifactId>
511 <version>3.1.0</version>
512 <scope>provided</scope>
515 <groupId>junit</groupId>
516 <artifactId>junit</artifactId>
517 <version>4.12</version>
521 <groupId>commons-io</groupId>
522 <artifactId>commons-io</artifactId>
523 <version>2.4</version>
524 <!--<scope>test</scope>-->
527 <groupId>com.google.code.bean-matchers</groupId>
528 <artifactId>bean-matchers</artifactId>
529 <version>0.11</version>
533 <groupId>org.json</groupId>
534 <artifactId>json</artifactId>
535 <version>20160212</version>
538 <groupId>org.quartz-scheduler</groupId>
539 <artifactId>quartz</artifactId>
540 <version>2.2.1</version>
542 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
544 <groupId>c3p0</groupId>
545 <artifactId>c3p0</artifactId>
549 <!-- bridge to implement commons-logging using slf4j -->
551 <groupId>org.slf4j</groupId>
552 <artifactId>jcl-over-slf4j</artifactId>
553 <version>1.7.12</version>
556 <groupId>org.springframework</groupId>
557 <artifactId>spring-context-support</artifactId>
558 <version>${springframework.version}</version>
561 <groupId>org.springframework</groupId>
562 <artifactId>spring-core</artifactId>
563 <version>${springframework.version}</version>
566 <groupId>commons-logging</groupId>
567 <artifactId>commons-logging</artifactId>
572 <groupId>org.springframework</groupId>
573 <artifactId>spring-test</artifactId>
574 <version>${springframework.version}</version>
577 <groupId>org.springframework</groupId>
578 <artifactId>spring-tx</artifactId>
579 <version>${springframework.version}</version>
582 <groupId>org.springframework</groupId>
583 <artifactId>spring-web</artifactId>
584 <version>${springframework.version}</version>
587 <groupId>org.springframework</groupId>
588 <artifactId>spring-webmvc</artifactId>
589 <version>${springframework.version}</version>
592 <groupId>org.glassfish.jersey.core</groupId>
593 <artifactId>jersey-client</artifactId>
594 <version>${jersey.version}</version>
597 <groupId>org.glassfish.jersey.connectors</groupId>
598 <artifactId>jersey-jetty-connector</artifactId>
599 <version>${jersey.version}</version>
601 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
603 <groupId>org.glassfish.jersey.inject</groupId>
604 <artifactId>jersey-hk2</artifactId>
605 <version>${jersey.version}</version>
608 <groupId>com.fasterxml.jackson.jaxrs</groupId>
609 <artifactId>jackson-jaxrs-json-provider</artifactId>
610 <version>${jackson.version}</version>
613 <groupId>commons-beanutils</groupId>
614 <artifactId>commons-beanutils</artifactId>
615 <version>1.9.3</version>
618 <groupId>com.googlecode.json-simple</groupId>
619 <artifactId>json-simple</artifactId>
620 <version>1.1.1</version>
623 <groupId>org.seleniumhq.selenium</groupId>
624 <artifactId>selenium-java</artifactId>
625 <version>2.53.1</version>
629 <groupId>org.seleniumhq.selenium</groupId>
630 <artifactId>selenium-api</artifactId>
631 <version>2.53.1</version>
635 <groupId>org.testng</groupId>
636 <artifactId>testng</artifactId>
637 <version>6.14.3</version>
641 <groupId>org.mockito</groupId>
642 <artifactId>mockito-core</artifactId>
643 <version>2.23.0</version>
647 <groupId>org.seleniumhq.selenium</groupId>
648 <artifactId>selenium-firefox-driver</artifactId>
649 <version>2.53.1</version>
652 <groupId>xml-apis</groupId>
653 <artifactId>xml-apis</artifactId>
654 <version>1.4.01</version>
657 <groupId>org.yaml</groupId>
658 <artifactId>snakeyaml</artifactId>
659 <version>1.16</version>
662 <groupId>org.skyscreamer</groupId>
663 <artifactId>jsonassert</artifactId>
664 <version>1.5.0</version>
668 <groupId>org.onap.sdc.sdc-tosca</groupId>
669 <artifactId>sdc-tosca</artifactId>
670 <version>1.4.7</version>
671 <scope>compile</scope>
674 <groupId>net.javacrumbs.json-unit</groupId>
675 <artifactId>json-unit</artifactId>
676 <version>1.23.0</version>
680 <groupId>org.glassfish.jersey.media</groupId>
681 <artifactId>jersey-media-json-jackson</artifactId>
682 <version>${jersey.version}</version>
686 <groupId>org.apache.commons</groupId>
687 <artifactId>commons-lang3</artifactId>
688 <version>3.6</version>
691 <groupId>org.apache.commons</groupId>
692 <artifactId>commons-text</artifactId>
693 <version>1.1</version>
696 <groupId>org.apache.commons</groupId>
697 <artifactId>commons-proxy</artifactId>
698 <version>1.0</version>
701 <groupId>org.hamcrest</groupId>
702 <artifactId>java-hamcrest</artifactId>
703 <version>2.0.0.0</version>
707 <groupId>org.togglz</groupId>
708 <artifactId>togglz-spring-core</artifactId>
709 <version>2.5.0.Final</version>
712 <groupId>com.h2database</groupId>
713 <artifactId>h2</artifactId>
714 <version>1.4.196</version>
718 <groupId>javax.xml.bind</groupId>
719 <artifactId>jaxb-api</artifactId>
720 <version>2.2.11</version>
724 <groupId>org.assertj</groupId>
725 <artifactId>assertj-core</artifactId>
726 <version>3.10.0</version>
727 <scope>compile</scope>
730 <groupId>com.google.guava</groupId>
731 <artifactId>guava</artifactId>
732 <version>23.0</version>