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 <portal.version>1.3.0-SNAPSHOT</portal.version>
11 <epsdk.version>1.3.0</epsdk.version>
12 <!-- Jenkins SHOULD invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
13 <build.number>0</build.number>
14 <springframework.version>4.2.0.RELEASE</springframework.version>
15 <hibernate.version>4.3.11.Final</hibernate.version>
16 <eelf.version>1.0.0</eelf.version>
17 <encoding>UTF-8</encoding>
18 <!-- If skipTests is false use this command to generate the report:
19 mvn clean jacoco:prepare-agent install jacoco:report -->
20 <skipTests>false</skipTests>
21 <skipCoverage>false</skipCoverage>
22 <jacoco.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec</jacoco.data.file>
23 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
24 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
25 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
26 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
27 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
28 <sonar.exclusions>**.js</sonar.exclusions>
29 <nexusproxy>https://nexus.onap.org</nexusproxy>
30 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
31 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
32 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
37 <id>onap-releases</id>
38 <name>ONAP - Release Repository</name>
39 <url>${nexusproxy}/${releaseNexusPath}</url>
43 <name>ONAP - Staging Repository</name>
44 <url>${nexusproxy}/${stagingNexusPath}</url>
47 <id>onap-snapshots</id>
48 <name>ONAP - Snapshot Repository</name>
49 <url>${nexusproxy}/${snapshotNexusPath}</url>
53 <url>${nexusproxy}/content/groups/public</url>
58 <sourceDirectory>src/main/java</sourceDirectory>
59 <!-- The war file name carries no version number -->
60 <finalName>${project.artifactId}</finalName>
64 <groupId>org.codehaus.mojo</groupId>
65 <artifactId>sonar-maven-plugin</artifactId>
66 <version>3.2</version>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-site-plugin</artifactId>
71 <version>3.6</version>
74 <groupId>org.apache.maven.wagon</groupId>
75 <artifactId>wagon-webdav-jackrabbit</artifactId>
76 <version>2.10</version>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <version>3.1</version>
89 <groupId>org.jacoco</groupId>
90 <artifactId>jacoco-maven-plugin</artifactId>
91 <version>0.7.6.201602180812</version>
94 <id>prepare-agent</id>
96 <goal>prepare-agent</goal>
100 <destFile>${sonar.jacoco.reportPath}</destFile>
101 <skip>${skipCoverage}</skip>
111 <dataFile>${sonar.jacoco.reportPath}</dataFile>
112 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
113 <skip>${skipCoverage}</skip>
116 <!-- Integration Tests (Only report goal) -->
118 <id>report-integration</id>
120 <goal>report-integration</goal>
123 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
124 <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
125 <skip>${skipCoverage}</skip>
128 <!-- Will see build errors while running the test cases because of dual
131 <id>default-instrument</id>
133 <goal>instrument</goal>
136 <skip>${skipCoverage}</skip>
140 <id>default-restore-instrumented-classes</id>
142 <goal>restore-instrumented-classes</goal>
145 <skip>${skipCoverage}</skip>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-surefire-plugin</artifactId>
154 <version>2.19.1</version>
156 <skipTests>${skipTests}</skipTests>
158 <include>**/*Test.java</include>
159 <include>**/*TestCase.java</include>
160 <inlcude>**/*TestSuite.java</inlcude>
162 <!-- Intentionally Excluding TestFromSuite -->
164 <exclude>**/*TestFromSuite.java</exclude>
166 <additionalClasspathElements>
167 <additionalClasspathElement>${basedir}/src/main/webapp</additionalClasspathElement>
168 <additionalClasspathElement>../ecomp-portal-BE-common/src/main/webapp</additionalClasspathElement>
169 <additionalClasspathElement>../ecomp-portal-BE-common</additionalClasspathElement>
170 </additionalClasspathElements>
171 <systemPropertyVariables>
172 <container.classpath>classpath:</container.classpath>
173 </systemPropertyVariables>
178 <artifactId>maven-war-plugin</artifactId>
179 <version>2.6</version>
181 <warSourceDirectory>src/main/webapp</warSourceDirectory>
182 <failOnMissingWebXml>false</failOnMissingWebXml>
185 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
188 <Build-Number>${project.version}.${build.number}</Build-Number>
189 <Build-Time>${maven.build.timestamp}</Build-Time>
193 <!-- specify the order in which these should be applied -->
195 <groupId>org.onap.portal</groupId>
196 <artifactId>ecompportal-be-common</artifactId>
199 <groupId>org.onap.portal.sdk</groupId>
200 <artifactId>epsdk-app-overlay</artifactId>
206 <!-- No deployment step for this project -->
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-deploy-plugin</artifactId>
210 <version>2.8</version>
217 <artifactId>maven-resources-plugin</artifactId>
218 <version>3.0.2</version>
219 <!-- Your own property files can be placed in ecomp-portal-be/../../overrides
220 directory and they will override the generic source controlled versions at
221 build time allowing you to test locally with your own settings. -->
224 <id>copy-custom-properties1</id>
225 <phase>process-resources</phase>
227 <goal>copy-resources</goal>
230 <overwrite>true</overwrite>
231 <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
234 <directory>${basedir}/../../overrides</directory>
236 <include>system.properties</include>
243 <id>copy-custom-properties2</id>
244 <phase>process-resources</phase>
246 <goal>copy-resources</goal>
249 <overwrite>true</overwrite>
250 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
253 <directory>${basedir}/../../overrides</directory>
255 <include>fusion.properties</include>
262 <id>copy-custom-properties3</id>
263 <phase>process-resources</phase>
265 <goal>copy-resources</goal>
268 <overwrite>true</overwrite>
269 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
272 <directory>${basedir}/../../overrides</directory>
274 <include>portal.properties</include>
275 <include>openid-connect.properties</include>
276 <include>openid-keystore.jwks</include>
283 <!-- <id>copy-src</id> -->
284 <!-- <phase>generate-resources</phase> -->
286 <!-- <goal>copy-resources</goal> -->
288 <!-- <configuration> -->
289 <!-- <outputDirectory>${basedir}/target/classes</outputDirectory> -->
290 <!-- <overwrite>false</overwrite> -->
291 <!-- <skip>${skipTests}</skip> -->
294 <!-- <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory> -->
296 <!-- </resources> -->
297 <!-- </configuration> -->
298 <!-- </execution> -->
305 <directory>src/test/java</directory>
307 <include>**/*Test*.*</include>
314 <directory>src/main/resources</directory>
316 <include>**/*.xml</include>
317 <include>**/*.ccf</include>
318 <include>**/*.properties</include>
319 <include>**/*.jwks</include>
323 <directory>src/test/resources</directory>
325 <include>**/*.xml</include>
326 <include>**/*.properties</include>
329 <!-- picks up the applicationcodes.properties file presented in \src\
332 <directory>src/main/java</directory>
334 <include>**/*.xml</include>
335 <include>**/*.properties</include>
345 <groupId>com.att.eelf</groupId>
346 <artifactId>eelf-core</artifactId>
347 <version>${eelf.version}</version>
350 <groupId>org.mockito</groupId>
351 <artifactId>mockito-core</artifactId>
354 <groupId>org.powermock</groupId>
355 <artifactId>powermock-module-junit4</artifactId>
361 <groupId>com.google.code.gson</groupId>
362 <artifactId>gson</artifactId>
363 <version>2.5</version>
368 <groupId>org.springframework</groupId>
369 <artifactId>spring-core</artifactId>
370 <version>${springframework.version}</version>
373 <groupId>org.springframework</groupId>
374 <artifactId>spring-web</artifactId>
375 <version>${springframework.version}</version>
378 <groupId>org.springframework</groupId>
379 <artifactId>spring-webmvc</artifactId>
380 <version>${springframework.version}</version>
383 <groupId>org.springframework</groupId>
384 <artifactId>spring-tx</artifactId>
385 <version>${springframework.version}</version>
388 <groupId>org.springframework</groupId>
389 <artifactId>spring-context-support</artifactId>
390 <version>${springframework.version}</version>
393 <groupId>org.springframework</groupId>
394 <artifactId>spring-orm</artifactId>
395 <version>${springframework.version}</version>
398 <groupId>org.springframework</groupId>
399 <artifactId>spring-test</artifactId>
400 <version>${springframework.version}</version>
403 <groupId>org.springframework.boot</groupId>
404 <artifactId>spring-boot-starter</artifactId>
405 <version>1.3.0.RELEASE</version>
408 <groupId>org.slf4j</groupId>
409 <artifactId>log4j-over-slf4j</artifactId>
412 <groupId>ch.qos.logback</groupId>
413 <artifactId>logback-classic</artifactId>
420 <groupId>org.hibernate</groupId>
421 <artifactId>hibernate-core</artifactId>
422 <version>${hibernate.version}</version>
425 <!-- jsr303 validation -->
426 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
427 <version>1.1.0.Final</version> </dependency> -->
430 <groupId>org.hibernate</groupId>
431 <artifactId>hibernate-validator</artifactId>
432 <version>5.1.3.Final</version>
434 <!-- Servlet+JSP+JSTL -->
436 <groupId>javax.servlet</groupId>
437 <artifactId>javax.servlet-api</artifactId>
438 <version>3.1.0</version>
441 <groupId>javax.servlet.jsp</groupId>
442 <artifactId>javax.servlet.jsp-api</artifactId>
443 <version>2.3.1</version>
446 <groupId>javax.servlet</groupId>
447 <artifactId>jstl</artifactId>
448 <version>1.2</version>
451 <!-- Apache Tiles -->
453 <groupId>org.apache.tiles</groupId>
454 <artifactId>tiles-core</artifactId>
455 <version>3.0.5</version>
458 <groupId>org.apache.tiles</groupId>
459 <artifactId>tiles-jsp</artifactId>
460 <version>3.0.5</version>
463 <groupId>org.apache.cxf</groupId>
464 <artifactId>cxf-rt-rs-client</artifactId>
465 <version>3.0.0-milestone1</version>
470 <groupId>com.fasterxml.jackson.core</groupId>
471 <artifactId>jackson-annotations</artifactId>
472 <version>2.6.3</version>
475 <groupId>com.fasterxml.jackson.core</groupId>
476 <artifactId>jackson-core</artifactId>
477 <version>2.6.3</version>
480 <groupId>com.fasterxml.jackson.core</groupId>
481 <artifactId>jackson-databind</artifactId>
482 <version>2.6.3</version>
485 <groupId>com.fasterxml</groupId>
486 <artifactId>classmate</artifactId>
487 <version>1.3.1</version>
490 <!-- Use Mariadb connector/j for failover -->
492 <groupId>org.mariadb.jdbc</groupId>
493 <artifactId>mariadb-java-client</artifactId>
494 <version>1.5.8</version>
497 <!-- Elastic Search -->
499 <groupId>org.elasticsearch</groupId>
500 <artifactId>elasticsearch</artifactId>
501 <version>2.2.0</version>
504 <groupId>io.searchbox</groupId>
505 <artifactId>jest</artifactId>
506 <version>2.0.0</version>
510 <groupId>org.apache.jcs</groupId>
511 <artifactId>jcs</artifactId>
512 <version>1.3</version>
516 <artifactId>*</artifactId>
522 <groupId>org.apache.tomcat</groupId>
523 <artifactId>tomcat-websocket</artifactId>
524 <version>8.0.28</version>
525 <scope>provided</scope>
528 <!-- Raptor required Libraries -->
529 <!-- for static charts -->
531 <groupId>commons-lang</groupId>
532 <artifactId>commons-lang</artifactId>
533 <version>2.6</version>
535 <!-- for generating excel/csv/excelx -->
537 <groupId>org.apache.poi</groupId>
538 <artifactId>poi</artifactId>
539 <version>3.5-FINAL</version>
542 <groupId>commons-logging</groupId>
543 <artifactId>commons-logging</artifactId>
546 <groupId>log4j</groupId>
547 <artifactId>log4j</artifactId>
552 <groupId>org.apache.poi</groupId>
553 <artifactId>poi-ooxml</artifactId>
554 <version>3.5-FINAL</version>
557 <groupId>commons-logging</groupId>
558 <artifactId>commons-logging</artifactId>
561 <groupId>log4j</groupId>
562 <artifactId>log4j</artifactId>
567 <groupId>org.apache.poi</groupId>
568 <artifactId>poi-scratchpad</artifactId>
569 <version>3.5-FINAL</version>
572 <groupId>commons-logging</groupId>
573 <artifactId>commons-logging</artifactId>
576 <groupId>log4j</groupId>
577 <artifactId>log4j</artifactId>
582 <groupId>org.apache.poi</groupId>
583 <artifactId>poi-contrib</artifactId>
584 <version>3.5-FINAL</version>
587 <groupId>commons-logging</groupId>
588 <artifactId>commons-logging</artifactId>
591 <groupId>log4j</groupId>
592 <artifactId>log4j</artifactId>
597 <!-- <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId>
598 <version>2.0.8</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId>
599 <artifactId>bcprov-jdk14</artifactId> </exclusion> </exclusions> </dependency> -->
602 <groupId>org.quartz-scheduler</groupId>
603 <artifactId>quartz</artifactId>
604 <version>2.2.1</version>
606 <!-- SDK brings a new version of c3p0 -->
608 <groupId>c3p0</groupId>
609 <artifactId>c3p0</artifactId>
615 <groupId>commons-codec</groupId>
616 <artifactId>commons-codec</artifactId>
617 <version>1.9</version>
621 <groupId>com.att.nsa</groupId>
622 <artifactId>cambriaClient</artifactId>
623 <version>0.0.1</version>
626 <groupId>commons-logging</groupId>
627 <artifactId>commons-logging</artifactId>
630 <groupId>log4j</groupId>
631 <artifactId>log4j</artifactId>
634 <groupId>log4j</groupId>
635 <artifactId>apache-log4j-extras</artifactId>
638 <groupId>org.slf4j</groupId>
639 <artifactId>slf4j-log4j12</artifactId>
644 <!-- SDK overlay war -->
646 <groupId>org.onap.portal.sdk</groupId>
647 <artifactId>epsdk-app-overlay</artifactId>
648 <version>${epsdk.version}</version>
653 <groupId>org.onap.portal.sdk</groupId>
654 <artifactId>epsdk-app-common</artifactId>
655 <version>${epsdk.version}</version>
659 <!-- EcompPortal common overlay -->
661 <groupId>org.onap.portal</groupId>
662 <artifactId>ecompportal-be-common</artifactId>
663 <version>${portal.version}</version>
668 <groupId>org.onap.portal</groupId>
669 <artifactId>ecompportal-be-common</artifactId>
670 <version>${portal.version}</version>
672 <classifier>classes</classifier>
676 <groupId>org.onap.portal.sdk</groupId>
677 <artifactId>epsdk-fw</artifactId>
678 <version>${epsdk.version}</version>
681 <groupId>commons-logging</groupId>
682 <artifactId>commons-logging</artifactId>
685 <groupId>log4j</groupId>
686 <artifactId>log4j</artifactId>
689 <groupId>log4j</groupId>
690 <artifactId>apache-log4j-extras</artifactId>
693 <groupId>org.slf4j</groupId>
694 <artifactId>slf4j-log4j12</artifactId>
700 <groupId>org.onap.portal.sdk</groupId>
701 <artifactId>epsdk-core</artifactId>
702 <version>${epsdk.version}</version>
706 <groupId>org.onap.portal.sdk</groupId>
707 <artifactId>epsdk-workflow</artifactId>
708 <version>${epsdk.version}</version>
711 <!-- Raptor required Libraries -->
712 <!-- for static charts -->
714 <groupId>org.onap.portal.sdk</groupId>
715 <artifactId>epsdk-analytics</artifactId>
716 <version>${epsdk.version}</version>
719 <!-- Referenced by some poms and needed for testing; do NOT use "test"
722 <groupId>org.apache.httpcomponents</groupId>
723 <artifactId>httpclient</artifactId>
724 <version>4.5.2</version>
729 <groupId>junit</groupId>
730 <artifactId>junit</artifactId>
731 <version>4.11</version>
735 <groupId>org.powermock</groupId>
736 <artifactId>powermock-api-mockito</artifactId>
737 <version>1.6.1</version>
740 <groupId>org.powermock</groupId>
741 <artifactId>powermock-core</artifactId>
742 <version>1.6.1</version>
745 <groupId>org.powermock</groupId>
746 <artifactId>powermock-module-junit4</artifactId>
747 <version>1.6.1</version>
750 <groupId>org.mockito</groupId>
751 <artifactId>mockito-core</artifactId>
752 <version>1.8.5</version>
756 <groupId>commons-beanutils</groupId>
757 <artifactId>commons-beanutils</artifactId>
758 <version>1.9.2</version>
763 <!-- OpenID Connect Dependencies -->
765 <groupId>org.mitre</groupId>
766 <artifactId>openid-connect-client</artifactId>
767 <version>1.2.2</version>
770 <groupId>org.codehaus.jackson</groupId>
771 <artifactId>jackson-mapper-asl</artifactId>
777 <groupId>org.springframework.security</groupId>
778 <artifactId>spring-security-taglibs</artifactId>
779 <version>3.2.8.RELEASE</version>
782 <groupId>org.springframework</groupId>
783 <artifactId>*</artifactId>
789 <groupId>org.aspectj</groupId>
790 <artifactId>aspectjrt</artifactId>
791 <version>1.8.9</version>
794 <groupId>org.aspectj</groupId>
795 <artifactId>aspectjweaver</artifactId>
796 <version>1.8.9</version>
804 <groupId>org.apache.maven.plugins</groupId>
805 <artifactId>maven-javadoc-plugin</artifactId>
806 <version>2.10.4</version>
808 <failOnError>false</failOnError>
809 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
811 <groupId>org.umlgraph</groupId>
812 <artifactId>umlgraph</artifactId>
813 <version>5.6</version>
815 <additionalparam>-views</additionalparam>
816 <useStandardDocletOptions>true</useStandardDocletOptions>
823 <distributionManagement>
826 <url>dav:${nexusproxy}/content/sites/site/org/onap/portal/${project.version}</url>
828 </distributionManagement>