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 <!-- Tests usually require some setup that maven cannot do, so skip. -->
31 <skiptests>false</skiptests>
32 <nexusproxy>https://nexus.onap.org</nexusproxy>
33 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
34 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
35 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
36 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
38 <aspectj.version>1.8.9</aspectj.version>
39 <kotlin.version>1.3.11</kotlin.version>
40 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
45 <!-- this should be commented for local debugging -->
46 <!-- <deployenv>local</deployenv> -->
50 <id>ecomp-releases</id>
51 <name>VID Release Repository</name>
52 <url>${nexusproxy}${releaseNexusPath}</url>
55 <id>ecomp-snapshots</id>
56 <name>VID Snapshot Repository</name>
57 <url>${nexusproxy}${snapshotNexusPath}</url>
60 <id>ecomp-staging</id>
61 <name>VID Staging Repository</name>
62 <url>${nexusproxy}${stagingNexusPath}</url>
65 <!-- Snapshots repository has ECOMP snapshot artifacts -->
66 <id>oss-snapshots</id>
67 <name>oss Central - Snapshots</name>
68 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
72 <distributionManagement>
74 <id>ecomp-releases</id>
75 <name>VID Release Repository</name>
76 <url>${nexusproxy}/${releaseNexusPath}</url>
79 <id>ecomp-snapshots</id>
80 <name>VID Snapshot Repository</name>
81 <url>${nexusproxy}/${snapshotNexusPath}</url>
83 <!-- added for javadoc -->
86 <url>dav:${nexusproxy}${sitePath}</url>
88 </distributionManagement>
91 <finalName>vid-common</finalName>
96 <artifactId>kotlin-maven-plugin</artifactId>
97 <groupId>org.jetbrains.kotlin</groupId>
98 <version>${kotlin.version}</version>
102 <goals> <goal>compile</goal> </goals>
105 <sourceDir>${project.basedir}/src/main/java</sourceDir>
110 <id>test-compile</id>
111 <goals> <goal>test-compile</goal> </goals>
114 <sourceDir>${project.basedir}/src/test/java</sourceDir>
122 <groupId>org.sonatype.plugins</groupId>
123 <artifactId>nexus-staging-maven-plugin</artifactId>
124 <version>1.6.7</version>
125 <extensions>true</extensions>
127 <nexusUrl>${nexusproxy}</nexusUrl>
128 <stagingProfileId>176c31dfe190a</stagingProfileId>
129 <serverId>ecomp-staging</serverId>
133 <groupId>org.jacoco</groupId>
134 <artifactId>jacoco-maven-plugin</artifactId>
135 <version>0.7.9</version>
138 <id>default-prepare-agent</id>
140 <goal>prepare-agent</goal>
144 <id>default-report</id>
152 <groupId>org.apache.tomcat.maven</groupId>
153 <artifactId>tomcat6-maven-plugin</artifactId>
154 <version>2.2</version>
157 <groupId>org.apache.tomcat.maven</groupId>
158 <artifactId>tomcat7-maven-plugin</artifactId>
159 <version>2.2</version>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-compiler-plugin</artifactId>
165 <version>3.5.1</version>
172 <!-- Replacing default-compile as it is treated specially by maven -->
174 <id>default-compile</id>
177 <!-- Replacing default-testCompile as it is treated specially by maven -->
179 <id>default-testCompile</id>
183 <id>java-compile</id>
184 <phase>compile</phase>
185 <goals> <goal>compile</goal> </goals>
188 <id>java-test-compile</id>
189 <phase>test-compile</phase>
190 <goals> <goal>testCompile</goal> </goals>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>${surefire.version}</version>
201 <skipTests>${skiptests}</skipTests>
203 <include>**/Test*.java</include>
204 <include>**/*Test.java</include>
205 <include>**/*TestCase.java</include>
208 <exclude>**/selenium/*.java</exclude>
209 <exclude>**/integrationTest/*.java</exclude>
211 <additionalClasspathElements>
212 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
213 </additionalClasspathElements>
214 <systemPropertyVariables>
215 <container.classpath>classpath:</container.classpath>
216 </systemPropertyVariables>
217 <useSystemClassLoader>false</useSystemClassLoader>
220 <!-- avoid running JUnit tests within surefire-testng provider -->
225 <threadCount>1</threadCount>
228 <!-- Running TestNG and JUnit Tests -->
229 <!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
231 <groupId>org.apache.maven.surefire</groupId>
232 <artifactId>surefire-junit47</artifactId>
233 <version>${surefire.version}</version>
236 <groupId>org.apache.maven.surefire</groupId>
237 <artifactId>surefire-testng</artifactId>
238 <version>${surefire.version}</version>
244 <artifactId>maven-assembly-plugin</artifactId>
246 <skipAssembly>${skipassembly}</skipAssembly>
248 <descriptor>${basedir}/distribution.xml</descriptor>
253 <id>make-assembly</id>
254 <phase>package</phase>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-war-plugin</artifactId>
266 <version>3.0.0</version>
268 <!-- Build a jar with all the Java classes -->
269 <attachClasses>true</attachClasses>
270 <!-- Do not put any jars in the war -->
271 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-site-plugin</artifactId>
277 <version>3.6</version>
280 <groupId>org.apache.maven.wagon</groupId>
281 <artifactId>wagon-webdav-jackrabbit</artifactId>
282 <version>2.10</version>
287 <groupId>pl.project13.maven</groupId>
288 <artifactId>git-commit-id-plugin</artifactId>
289 <version>2.2.4</version>
292 <id>get-the-git-infos</id>
294 <goal>revision</goal>
299 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
300 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
301 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
302 <generateGitPropertiesFile>true</generateGitPropertiesFile>
303 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
304 <includeOnlyProperties>
305 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
306 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
307 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
308 </includeOnlyProperties>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-javadoc-plugin</artifactId>
319 <version>2.10.4</version>
321 <failOnError>false</failOnError>
322 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
324 <groupId>org.umlgraph</groupId>
325 <artifactId>umlgraph</artifactId>
326 <version>5.6</version>
328 <additionalparam>-views</additionalparam>
329 <useStandardDocletOptions>true</useStandardDocletOptions>
338 <groupId>com.opencsv</groupId>
339 <artifactId>opencsv</artifactId>
340 <version>4.1</version>
346 <groupId>io.joshworks.unirest</groupId>
347 <artifactId>unirest-java</artifactId>
348 <version>0.2.1</version>
351 <groupId>org.apache.httpcomponents</groupId>
352 <artifactId>httpclient</artifactId>
353 <version>4.5.6</version>
356 <groupId>org.apache.httpcomponents</groupId>
357 <artifactId>httpasyncclient</artifactId>
358 <version>4.0.2</version>
361 <groupId>org.apache.httpcomponents</groupId>
362 <artifactId>httpmime</artifactId>
363 <version>4.3.6</version>
366 <groupId>com.xebialabs.restito</groupId>
367 <artifactId>restito</artifactId>
368 <version>0.9.3</version>
374 <groupId>io.vavr</groupId>
375 <artifactId>vavr</artifactId>
376 <version>0.9.2</version>
379 <!-- SDK overlay war -->
381 <groupId>org.onap.portal.sdk</groupId>
382 <artifactId>epsdk-app-overlay</artifactId>
383 <version>${epsdk.version}</version>
387 <groupId>org.onap.portal.sdk</groupId>
388 <artifactId>epsdk-app-common</artifactId>
389 <version>${epsdk.version}</version>
394 <groupId>org.onap.portal.sdk</groupId>
395 <artifactId>epsdk-core</artifactId>
396 <version>${epsdk.version}</version>
399 <groupId>org.onap.portal.sdk</groupId>
400 <artifactId>epsdk-analytics</artifactId>
401 <version>${epsdk.version}</version>
404 <groupId>com.lowagie</groupId>
405 <artifactId>itext</artifactId>
410 <groupId>org.onap.portal.sdk</groupId>
411 <artifactId>epsdk-workflow</artifactId>
412 <version>${epsdk.version}</version>
415 <groupId>com.att.eelf</groupId>
416 <artifactId>eelf-core</artifactId>
417 <version>1.0.0</version>
420 <artifactId>powermock-api-mockito</artifactId>
421 <groupId>org.powermock</groupId>
426 <groupId>ch.qos.logback</groupId>
427 <artifactId>logback-core</artifactId>
428 <version>1.2.3</version>
431 <groupId>ch.qos.logback</groupId>
432 <artifactId>logback-classic</artifactId>
433 <version>1.2.3</version>
437 <groupId>org.jetbrains.kotlin</groupId>
438 <artifactId>kotlin-stdlib-jdk8</artifactId>
439 <version>${kotlin.version}</version>
444 <groupId>com.fasterxml.jackson.core</groupId>
445 <artifactId>jackson-annotations</artifactId>
446 <version>${jackson.version}</version>
449 <groupId>com.fasterxml.jackson.core</groupId>
450 <artifactId>jackson-core</artifactId>
451 <version>${jackson.version}</version>
454 <groupId>com.fasterxml.jackson.core</groupId>
455 <artifactId>jackson-databind</artifactId>
456 <version>${jackson.version}</version>
459 <groupId>com.fasterxml.jackson.module</groupId>
460 <artifactId>jackson-module-kotlin</artifactId>
461 <version>${jackson.version}</version>
464 <groupId>com.mchange</groupId>
465 <artifactId>c3p0</artifactId>
466 <version>0.9.5.2</version>
469 <groupId>io.searchbox</groupId>
470 <artifactId>jest</artifactId>
471 <version>2.0.0</version>
474 <groupId>commons-logging</groupId>
475 <artifactId>commons-logging</artifactId>
480 <groupId>javax.servlet</groupId>
481 <artifactId>javax.servlet-api</artifactId>
482 <version>3.1.0</version>
483 <scope>provided</scope>
486 <groupId>junit</groupId>
487 <artifactId>junit</artifactId>
488 <version>4.12</version>
492 <groupId>commons-io</groupId>
493 <artifactId>commons-io</artifactId>
494 <version>2.4</version>
495 <!--<scope>test</scope>-->
498 <groupId>com.google.code.bean-matchers</groupId>
499 <artifactId>bean-matchers</artifactId>
500 <version>0.11</version>
504 <groupId>org.json</groupId>
505 <artifactId>json</artifactId>
506 <version>20160212</version>
509 <groupId>org.quartz-scheduler</groupId>
510 <artifactId>quartz</artifactId>
511 <version>2.2.1</version>
513 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
515 <groupId>c3p0</groupId>
516 <artifactId>c3p0</artifactId>
520 <!-- bridge to implement commons-logging using slf4j -->
522 <groupId>org.slf4j</groupId>
523 <artifactId>jcl-over-slf4j</artifactId>
524 <version>1.7.12</version>
527 <groupId>org.springframework</groupId>
528 <artifactId>spring-context-support</artifactId>
529 <version>${springframework.version}</version>
532 <groupId>org.springframework</groupId>
533 <artifactId>spring-core</artifactId>
534 <version>${springframework.version}</version>
537 <groupId>commons-logging</groupId>
538 <artifactId>commons-logging</artifactId>
543 <groupId>org.springframework</groupId>
544 <artifactId>spring-test</artifactId>
545 <version>${springframework.version}</version>
548 <groupId>org.springframework</groupId>
549 <artifactId>spring-tx</artifactId>
550 <version>${springframework.version}</version>
553 <groupId>org.springframework</groupId>
554 <artifactId>spring-web</artifactId>
555 <version>${springframework.version}</version>
558 <groupId>org.springframework</groupId>
559 <artifactId>spring-webmvc</artifactId>
560 <version>${springframework.version}</version>
563 <groupId>org.glassfish.jersey.core</groupId>
564 <artifactId>jersey-client</artifactId>
565 <version>${jersey.version}</version>
568 <groupId>org.glassfish.jersey.connectors</groupId>
569 <artifactId>jersey-jetty-connector</artifactId>
570 <version>${jersey.version}</version>
572 <!--https://stackoverflow.com/questions/44088493/jersey-stopped-working-with-injectionmanagerfactory-not-found-->
574 <groupId>org.glassfish.jersey.inject</groupId>
575 <artifactId>jersey-hk2</artifactId>
576 <version>${jersey.version}</version>
579 <groupId>com.fasterxml.jackson.jaxrs</groupId>
580 <artifactId>jackson-jaxrs-json-provider</artifactId>
581 <version>${jackson.version}</version>
584 <groupId>commons-beanutils</groupId>
585 <artifactId>commons-beanutils</artifactId>
586 <version>1.9.3</version>
589 <groupId>com.googlecode.json-simple</groupId>
590 <artifactId>json-simple</artifactId>
591 <version>1.1.1</version>
594 <groupId>org.seleniumhq.selenium</groupId>
595 <artifactId>selenium-java</artifactId>
596 <version>2.53.1</version>
600 <groupId>org.seleniumhq.selenium</groupId>
601 <artifactId>selenium-api</artifactId>
602 <version>2.53.1</version>
606 <groupId>org.testng</groupId>
607 <artifactId>testng</artifactId>
608 <version>6.14.3</version>
612 <groupId>org.mockito</groupId>
613 <artifactId>mockito-core</artifactId>
614 <version>2.23.0</version>
618 <groupId>org.seleniumhq.selenium</groupId>
619 <artifactId>selenium-firefox-driver</artifactId>
620 <version>2.53.1</version>
623 <groupId>xml-apis</groupId>
624 <artifactId>xml-apis</artifactId>
625 <version>1.4.01</version>
628 <groupId>org.yaml</groupId>
629 <artifactId>snakeyaml</artifactId>
630 <version>1.16</version>
633 <groupId>org.skyscreamer</groupId>
634 <artifactId>jsonassert</artifactId>
635 <version>1.5.0</version>
639 <groupId>org.onap.sdc.sdc-tosca</groupId>
640 <artifactId>sdc-tosca</artifactId>
641 <version>1.4.7</version>
642 <scope>compile</scope>
645 <groupId>net.javacrumbs.json-unit</groupId>
646 <artifactId>json-unit</artifactId>
647 <version>1.23.0</version>
651 <groupId>org.glassfish.jersey.media</groupId>
652 <artifactId>jersey-media-json-jackson</artifactId>
653 <version>${jersey.version}</version>
657 <groupId>org.apache.commons</groupId>
658 <artifactId>commons-lang3</artifactId>
659 <version>3.6</version>
662 <groupId>org.apache.commons</groupId>
663 <artifactId>commons-text</artifactId>
664 <version>1.1</version>
667 <groupId>org.apache.commons</groupId>
668 <artifactId>commons-proxy</artifactId>
669 <version>1.0</version>
672 <groupId>org.hamcrest</groupId>
673 <artifactId>java-hamcrest</artifactId>
674 <version>2.0.0.0</version>
678 <groupId>org.togglz</groupId>
679 <artifactId>togglz-spring-core</artifactId>
680 <version>2.5.0.Final</version>
683 <groupId>com.h2database</groupId>
684 <artifactId>h2</artifactId>
685 <version>1.4.196</version>
689 <groupId>javax.xml.bind</groupId>
690 <artifactId>jaxb-api</artifactId>
691 <version>2.2.11</version>
695 <groupId>org.assertj</groupId>
696 <artifactId>assertj-core</artifactId>
697 <version>3.10.0</version>
698 <scope>compile</scope>
701 <groupId>com.google.guava</groupId>
702 <artifactId>guava</artifactId>
703 <version>23.0</version>