1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>org.onap.portal</groupId>
5 <artifactId>ecompportal-be-os</artifactId>
6 <packaging>war</packaging>
10 <springframework.version>4.2.0.RELEASE</springframework.version>
11 <hibernate.version>4.3.11.Final</hibernate.version>
12 <eelf.version>1.0.0</eelf.version>
13 <epsdk.version>1.3.0-SNAPSHOT</epsdk.version>
14 <portal.version>1.3.0-SNAPSHOT</portal.version>
15 <encoding>UTF-8</encoding>
16 <!-- If Skiptests is false use mvn clean jacoco:prepare-agent install jacoco:report
17 to run jacoco report -->
18 <skipTests>true</skipTests>
19 <!-- Jenkins SHOULD invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
20 <build.number>0</build.number>
21 <sonar.exclusions>**.js</sonar.exclusions>
22 <nexusproxy>https://nexus.onap.org</nexusproxy>
23 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
24 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
30 <groupId>org.apache.maven.plugins</groupId>
31 <artifactId>maven-javadoc-plugin</artifactId>
32 <version>2.10.4</version>
34 <failOnError>false</failOnError>
35 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
37 <groupId>org.umlgraph</groupId>
38 <artifactId>umlgraph</artifactId>
39 <version>5.6</version>
41 <additionalparam>-views</additionalparam>
42 <useStandardDocletOptions>true</useStandardDocletOptions>
48 <distributionManagement>
51 <url>dav:${nexusproxy}/content/sites/site/org/onap/portal/${project.version}</url>
53 </distributionManagement>
56 <id>onap-releases</id>
57 <url>${nexusproxy}/${releaseNexusPath}</url>
60 <id>onap-snapshots</id>
61 <url>${nexusproxy}/${snapshotNexusPath}</url>
65 <url>https://nexus.onap.org/content/groups/public</url>
70 <sourceDirectory>src/main/java</sourceDirectory>
71 <!-- The war file name carries no version number -->
72 <finalName>${project.artifactId}</finalName>
76 <groupId>org.codehaus.mojo</groupId>
77 <artifactId>sonar-maven-plugin</artifactId>
78 <version>3.2</version>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-site-plugin</artifactId>
83 <version>3.6</version>
86 <groupId>org.apache.maven.wagon</groupId>
87 <artifactId>wagon-webdav-jackrabbit</artifactId>
88 <version>2.10</version>
93 <artifactId>maven-compiler-plugin</artifactId>
94 <version>3.1</version>
101 <groupId>org.jacoco</groupId>
102 <artifactId>jacoco-maven-plugin</artifactId>
103 <version>0.7.5.201505241946</version>
106 <!-- Prepares the property pointing to the JaCoCo runtime agent which
107 is passed as VM argument when Maven the Surefire plugin is executed. -->
109 <id>pre-unit-test</id>
111 <goal>prepare-agent</goal>
114 <!-- Sets the path to the file which contains the execution data. -->
115 <destFile>${basedir}/target/coverage-reports/jacoco-ut.exec</destFile>
116 <!-- Sets the name of the property containing the settings for JaCoCo
118 <propertyName>surefireArgLine</propertyName>
119 <skip>${skipTests}</skip>
123 <!-- Ensures that the code coverage report for unit tests is created
124 after unit tests have been run. -->
126 <id>post-unit-test</id>
132 <!-- Sets the path to the file which contains the execution data. -->
133 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
134 <!-- Sets the output directory for the code coverage report. -->
135 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
136 <skip>${skipTests}</skip>
140 <!-- Will see build errors while running the test cases because of dual
143 <id>default-instrument</id>
145 <goal>instrument</goal>
148 <skip>${skipTests}</skip>
152 <id>default-restore-instrumented-classes</id>
154 <goal>restore-instrumented-classes</goal>
157 <skip>${skipTests}</skip>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-surefire-plugin</artifactId>
166 <version>2.19.1</version>
168 <skipTests>${skipTests}</skipTests>
170 <include>**/*Test.java</include>
171 <include>**/*TestCase.java</include>
172 <inlcude>**/*TestSuite.java</inlcude>
174 <!-- Intentionally Excluding TestFromSuite -->
176 <exclude>**/*TestFromSuite.java</exclude>
178 <additionalClasspathElements>
179 <additionalClasspathElement>${basedir}/src/main/webapp</additionalClasspathElement>
180 <additionalClasspathElement>../ecomp-portal-BE-common/src/main/webapp</additionalClasspathElement>
181 <additionalClasspathElement>../ecomp-portal-BE-common</additionalClasspathElement>
182 </additionalClasspathElements>
183 <systemPropertyVariables>
184 <container.classpath>classpath:</container.classpath>
185 </systemPropertyVariables>
190 <artifactId>maven-war-plugin</artifactId>
191 <version>2.6</version>
193 <warSourceDirectory>src/main/webapp</warSourceDirectory>
194 <failOnMissingWebXml>false</failOnMissingWebXml>
197 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
200 <Build-Number>${project.version}.${build.number}</Build-Number>
201 <Build-Time>${maven.build.timestamp}</Build-Time>
205 <!-- specify the order in which these should be applied -->
207 <groupId>org.onap.portal</groupId>
208 <artifactId>ecompportal-be-common</artifactId>
211 <groupId>org.onap.portal.sdk</groupId>
212 <artifactId>epsdk-app-overlay</artifactId>
218 <!-- No deployment step for this project -->
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-deploy-plugin</artifactId>
222 <version>2.8</version>
229 <artifactId>maven-resources-plugin</artifactId>
230 <version>3.0.2</version>
231 <!-- Your own property files can be placed in ecomp-portal-be/../../overrides
232 directory and they will override the generic source controlled versions at
233 build time allowing you to test locally with your own settings. -->
236 <id>copy-custom-properties1</id>
237 <phase>process-resources</phase>
239 <goal>copy-resources</goal>
242 <overwrite>true</overwrite>
243 <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
246 <directory>${basedir}/../../overrides</directory>
248 <include>system.properties</include>
255 <id>copy-custom-properties2</id>
256 <phase>process-resources</phase>
258 <goal>copy-resources</goal>
261 <overwrite>true</overwrite>
262 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
265 <directory>${basedir}/../../overrides</directory>
267 <include>fusion.properties</include>
274 <id>copy-custom-properties3</id>
275 <phase>process-resources</phase>
277 <goal>copy-resources</goal>
280 <overwrite>true</overwrite>
281 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
284 <directory>${basedir}/../../overrides</directory>
286 <include>portal.properties</include>
287 <include>openid-connect.properties</include>
288 <include>openid-keystore.jwks</include>
296 <phase>generate-resources</phase>
298 <goal>copy-resources</goal>
301 <outputDirectory>${basedir}/target/classes</outputDirectory>
302 <overwrite>false</overwrite>
303 <skip>${skipTests}</skip>
306 <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory>
317 <directory>src/test/java</directory>
319 <include>**/*Test*.*</include>
326 <directory>src/main/resources</directory>
328 <include>**/*.xml</include>
329 <include>**/*.ccf</include>
330 <include>**/*.properties</include>
331 <include>**/*.jwks</include>
335 <directory>src/test/resources</directory>
337 <include>**/*.xml</include>
338 <include>**/*.properties</include>
341 <!-- picks up the applicationcodes.properties file presented in \src\
344 <directory>src/main/java</directory>
346 <include>**/*.xml</include>
347 <include>**/*.properties</include>
357 <groupId>com.att.eelf</groupId>
358 <artifactId>eelf-core</artifactId>
359 <version>${eelf.version}</version>
362 <groupId>org.mockito</groupId>
363 <artifactId>mockito-core</artifactId>
366 <groupId>org.powermock</groupId>
367 <artifactId>powermock-module-junit4</artifactId>
373 <groupId>com.google.code.gson</groupId>
374 <artifactId>gson</artifactId>
375 <version>2.5</version>
380 <groupId>org.springframework</groupId>
381 <artifactId>spring-core</artifactId>
382 <version>${springframework.version}</version>
385 <groupId>org.springframework</groupId>
386 <artifactId>spring-web</artifactId>
387 <version>${springframework.version}</version>
390 <groupId>org.springframework</groupId>
391 <artifactId>spring-webmvc</artifactId>
392 <version>${springframework.version}</version>
395 <groupId>org.springframework</groupId>
396 <artifactId>spring-tx</artifactId>
397 <version>${springframework.version}</version>
400 <groupId>org.springframework</groupId>
401 <artifactId>spring-context-support</artifactId>
402 <version>${springframework.version}</version>
405 <groupId>org.springframework</groupId>
406 <artifactId>spring-orm</artifactId>
407 <version>${springframework.version}</version>
410 <groupId>org.springframework</groupId>
411 <artifactId>spring-test</artifactId>
412 <version>${springframework.version}</version>
415 <groupId>org.springframework.boot</groupId>
416 <artifactId>spring-boot-starter</artifactId>
417 <version>1.3.0.RELEASE</version>
420 <groupId>org.slf4j</groupId>
421 <artifactId>log4j-over-slf4j</artifactId>
424 <groupId>ch.qos.logback</groupId>
425 <artifactId>logback-classic</artifactId>
432 <groupId>org.hibernate</groupId>
433 <artifactId>hibernate-core</artifactId>
434 <version>${hibernate.version}</version>
437 <!-- jsr303 validation -->
438 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
439 <version>1.1.0.Final</version> </dependency> -->
442 <groupId>org.hibernate</groupId>
443 <artifactId>hibernate-validator</artifactId>
444 <version>5.1.3.Final</version>
446 <!-- Servlet+JSP+JSTL -->
448 <groupId>javax.servlet</groupId>
449 <artifactId>javax.servlet-api</artifactId>
450 <version>3.1.0</version>
453 <groupId>javax.servlet.jsp</groupId>
454 <artifactId>javax.servlet.jsp-api</artifactId>
455 <version>2.3.1</version>
458 <groupId>javax.servlet</groupId>
459 <artifactId>jstl</artifactId>
460 <version>1.2</version>
463 <!-- Apache Tiles -->
465 <groupId>org.apache.tiles</groupId>
466 <artifactId>tiles-core</artifactId>
467 <version>3.0.5</version>
470 <groupId>org.apache.tiles</groupId>
471 <artifactId>tiles-jsp</artifactId>
472 <version>3.0.5</version>
475 <groupId>org.apache.cxf</groupId>
476 <artifactId>cxf-rt-rs-client</artifactId>
477 <version>3.0.0-milestone1</version>
482 <groupId>com.fasterxml.jackson.core</groupId>
483 <artifactId>jackson-annotations</artifactId>
484 <version>2.6.3</version>
487 <groupId>com.fasterxml.jackson.core</groupId>
488 <artifactId>jackson-core</artifactId>
489 <version>2.6.3</version>
492 <groupId>com.fasterxml.jackson.core</groupId>
493 <artifactId>jackson-databind</artifactId>
494 <version>2.6.3</version>
497 <groupId>com.fasterxml</groupId>
498 <artifactId>classmate</artifactId>
499 <version>1.3.1</version>
503 <groupId>mysql</groupId>
504 <artifactId>mysql-connector-java</artifactId>
505 <version>5.1.22</version>
508 <!-- Elastic Search -->
510 <groupId>org.elasticsearch</groupId>
511 <artifactId>elasticsearch</artifactId>
512 <version>2.2.0</version>
515 <groupId>io.searchbox</groupId>
516 <artifactId>jest</artifactId>
517 <version>2.0.0</version>
521 <groupId>org.apache.jcs</groupId>
522 <artifactId>jcs</artifactId>
523 <version>1.3</version>
527 <artifactId>*</artifactId>
533 <groupId>org.apache.tomcat</groupId>
534 <artifactId>tomcat-websocket</artifactId>
535 <version>8.0.28</version>
536 <scope>provided</scope>
539 <!-- Raptor required Libraries -->
540 <!-- for static charts -->
542 <groupId>commons-lang</groupId>
543 <artifactId>commons-lang</artifactId>
544 <version>2.6</version>
546 <!-- for generating excel/csv/excelx -->
548 <groupId>org.apache.poi</groupId>
549 <artifactId>poi</artifactId>
550 <version>3.5-FINAL</version>
553 <groupId>commons-logging</groupId>
554 <artifactId>commons-logging</artifactId>
557 <groupId>log4j</groupId>
558 <artifactId>log4j</artifactId>
563 <groupId>org.apache.poi</groupId>
564 <artifactId>poi-ooxml</artifactId>
565 <version>3.5-FINAL</version>
568 <groupId>commons-logging</groupId>
569 <artifactId>commons-logging</artifactId>
572 <groupId>log4j</groupId>
573 <artifactId>log4j</artifactId>
578 <groupId>org.apache.poi</groupId>
579 <artifactId>poi-scratchpad</artifactId>
580 <version>3.5-FINAL</version>
583 <groupId>commons-logging</groupId>
584 <artifactId>commons-logging</artifactId>
587 <groupId>log4j</groupId>
588 <artifactId>log4j</artifactId>
593 <groupId>org.apache.poi</groupId>
594 <artifactId>poi-contrib</artifactId>
595 <version>3.5-FINAL</version>
598 <groupId>commons-logging</groupId>
599 <artifactId>commons-logging</artifactId>
602 <groupId>log4j</groupId>
603 <artifactId>log4j</artifactId>
608 <!-- <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId>
609 <version>2.0.8</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId>
610 <artifactId>bcprov-jdk14</artifactId> </exclusion> </exclusions> </dependency> -->
613 <groupId>org.quartz-scheduler</groupId>
614 <artifactId>quartz</artifactId>
615 <version>2.2.1</version>
617 <!-- SDK brings a new version of c3p0 -->
619 <groupId>c3p0</groupId>
620 <artifactId>c3p0</artifactId>
626 <groupId>commons-codec</groupId>
627 <artifactId>commons-codec</artifactId>
628 <version>1.9</version>
632 <groupId>com.att.nsa</groupId>
633 <artifactId>cambriaClient</artifactId>
634 <version>0.0.1</version>
637 <groupId>commons-logging</groupId>
638 <artifactId>commons-logging</artifactId>
641 <groupId>log4j</groupId>
642 <artifactId>log4j</artifactId>
645 <groupId>log4j</groupId>
646 <artifactId>apache-log4j-extras</artifactId>
649 <groupId>org.slf4j</groupId>
650 <artifactId>slf4j-log4j12</artifactId>
655 <!-- SDK overlay war -->
657 <groupId>org.onap.portal.sdk</groupId>
658 <artifactId>epsdk-app-overlay</artifactId>
659 <version>${epsdk.version}</version>
664 <groupId>org.onap.portal.sdk</groupId>
665 <artifactId>epsdk-app-common</artifactId>
666 <version>${epsdk.version}</version>
670 <!-- EcompPortal common overlay -->
672 <groupId>org.onap.portal</groupId>
673 <artifactId>ecompportal-be-common</artifactId>
674 <version>${portal.version}</version>
679 <groupId>org.onap.portal</groupId>
680 <artifactId>ecompportal-be-common</artifactId>
681 <version>${portal.version}</version>
683 <classifier>classes</classifier>
687 <groupId>org.onap.portal.sdk</groupId>
688 <artifactId>epsdk-fw</artifactId>
689 <version>${epsdk.version}</version>
692 <groupId>commons-logging</groupId>
693 <artifactId>commons-logging</artifactId>
696 <groupId>log4j</groupId>
697 <artifactId>log4j</artifactId>
700 <groupId>log4j</groupId>
701 <artifactId>apache-log4j-extras</artifactId>
704 <groupId>org.slf4j</groupId>
705 <artifactId>slf4j-log4j12</artifactId>
711 <groupId>org.onap.portal.sdk</groupId>
712 <artifactId>epsdk-core</artifactId>
713 <version>${epsdk.version}</version>
717 <groupId>org.onap.portal.sdk</groupId>
718 <artifactId>epsdk-workflow</artifactId>
719 <version>${epsdk.version}</version>
722 <!-- Raptor required Libraries -->
723 <!-- for static charts -->
725 <groupId>org.onap.portal.sdk</groupId>
726 <artifactId>epsdk-analytics</artifactId>
727 <version>${epsdk.version}</version>
730 <!-- Referenced by some poms and needed for testing; do NOT use "test"
733 <groupId>org.apache.httpcomponents</groupId>
734 <artifactId>httpclient</artifactId>
735 <version>4.5.2</version>
740 <groupId>junit</groupId>
741 <artifactId>junit</artifactId>
742 <version>4.11</version>
746 <groupId>org.onap.portal</groupId>
747 <artifactId>ecomp-portal-BE-common-test</artifactId>
748 <version>${portal.version}</version>
752 <groupId>org.mockito</groupId>
753 <artifactId>mockito-core</artifactId>
754 <version>1.8.5</version>
758 <groupId>commons-beanutils</groupId>
759 <artifactId>commons-beanutils</artifactId>
760 <version>1.9.2</version>
765 <!-- OpenID Connect Dependencies -->
767 <groupId>org.mitre</groupId>
768 <artifactId>openid-connect-client</artifactId>
769 <version>1.2.2</version>
772 <groupId>org.codehaus.jackson</groupId>
773 <artifactId>jackson-mapper-asl</artifactId>
779 <groupId>org.springframework.security</groupId>
780 <artifactId>spring-security-taglibs</artifactId>
781 <version>3.2.8.RELEASE</version>
784 <groupId>org.springframework</groupId>
785 <artifactId>*</artifactId>
791 <groupId>org.aspectj</groupId>
792 <artifactId>aspectjrt</artifactId>
793 <version>1.8.9</version>
796 <groupId>org.aspectj</groupId>
797 <artifactId>aspectjweaver</artifactId>
798 <version>1.8.9</version>