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>true</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.5.201505241946</version>
93 <!-- Prepares the property pointing to the JaCoCo runtime agent which
94 is passed as VM argument when Maven the Surefire plugin is executed. -->
96 <id>pre-unit-test</id>
98 <goal>prepare-agent</goal>
101 <!-- path to the file which contains the execution data. -->
102 <destFile>${jacoco.data.file}</destFile>
103 <!-- name of the property containing the settings for JaCoCo runtime agent. -->
104 <propertyName>surefireArgLine</propertyName>
105 <skip>${skipCoverage}</skip>
108 <!-- Ensures that the code coverage report for unit tests is created
109 after unit tests have been run. -->
111 <id>post-unit-test</id>
117 <!-- path to the file which contains the execution data. -->
118 <dataFile>${jacoco.data.file}</dataFile>
119 <!-- output directory for the code coverage report. -->
120 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
121 <skip>${skipCoverage}</skip>
124 <!-- Will see build errors while running the test cases because of dual
127 <id>default-instrument</id>
129 <goal>instrument</goal>
132 <skip>${skipCoverage}</skip>
136 <id>default-restore-instrumented-classes</id>
138 <goal>restore-instrumented-classes</goal>
141 <skip>${skipCoverage}</skip>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-surefire-plugin</artifactId>
150 <version>2.19.1</version>
152 <skipTests>${skipTests}</skipTests>
154 <include>**/*Test.java</include>
155 <include>**/*TestCase.java</include>
156 <inlcude>**/*TestSuite.java</inlcude>
158 <!-- Intentionally Excluding TestFromSuite -->
160 <exclude>**/*TestFromSuite.java</exclude>
162 <additionalClasspathElements>
163 <additionalClasspathElement>${basedir}/src/main/webapp</additionalClasspathElement>
164 <additionalClasspathElement>../ecomp-portal-BE-common/src/main/webapp</additionalClasspathElement>
165 <additionalClasspathElement>../ecomp-portal-BE-common</additionalClasspathElement>
166 </additionalClasspathElements>
167 <systemPropertyVariables>
168 <container.classpath>classpath:</container.classpath>
169 </systemPropertyVariables>
174 <artifactId>maven-war-plugin</artifactId>
175 <version>2.6</version>
177 <warSourceDirectory>src/main/webapp</warSourceDirectory>
178 <failOnMissingWebXml>false</failOnMissingWebXml>
181 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
184 <Build-Number>${project.version}.${build.number}</Build-Number>
185 <Build-Time>${maven.build.timestamp}</Build-Time>
189 <!-- specify the order in which these should be applied -->
191 <groupId>org.onap.portal</groupId>
192 <artifactId>ecompportal-be-common</artifactId>
195 <groupId>org.onap.portal.sdk</groupId>
196 <artifactId>epsdk-app-overlay</artifactId>
202 <!-- No deployment step for this project -->
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-deploy-plugin</artifactId>
206 <version>2.8</version>
213 <artifactId>maven-resources-plugin</artifactId>
214 <version>3.0.2</version>
215 <!-- Your own property files can be placed in ecomp-portal-be/../../overrides
216 directory and they will override the generic source controlled versions at
217 build time allowing you to test locally with your own settings. -->
220 <id>copy-custom-properties1</id>
221 <phase>process-resources</phase>
223 <goal>copy-resources</goal>
226 <overwrite>true</overwrite>
227 <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
230 <directory>${basedir}/../../overrides</directory>
232 <include>system.properties</include>
239 <id>copy-custom-properties2</id>
240 <phase>process-resources</phase>
242 <goal>copy-resources</goal>
245 <overwrite>true</overwrite>
246 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
249 <directory>${basedir}/../../overrides</directory>
251 <include>fusion.properties</include>
258 <id>copy-custom-properties3</id>
259 <phase>process-resources</phase>
261 <goal>copy-resources</goal>
264 <overwrite>true</overwrite>
265 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
268 <directory>${basedir}/../../overrides</directory>
270 <include>portal.properties</include>
271 <include>openid-connect.properties</include>
272 <include>openid-keystore.jwks</include>
280 <phase>generate-resources</phase>
282 <goal>copy-resources</goal>
285 <outputDirectory>${basedir}/target/classes</outputDirectory>
286 <overwrite>false</overwrite>
287 <skip>${skipTests}</skip>
290 <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory>
301 <directory>src/test/java</directory>
303 <include>**/*Test*.*</include>
310 <directory>src/main/resources</directory>
312 <include>**/*.xml</include>
313 <include>**/*.ccf</include>
314 <include>**/*.properties</include>
315 <include>**/*.jwks</include>
319 <directory>src/test/resources</directory>
321 <include>**/*.xml</include>
322 <include>**/*.properties</include>
325 <!-- picks up the applicationcodes.properties file presented in \src\
328 <directory>src/main/java</directory>
330 <include>**/*.xml</include>
331 <include>**/*.properties</include>
341 <groupId>com.att.eelf</groupId>
342 <artifactId>eelf-core</artifactId>
343 <version>${eelf.version}</version>
346 <groupId>org.mockito</groupId>
347 <artifactId>mockito-core</artifactId>
350 <groupId>org.powermock</groupId>
351 <artifactId>powermock-module-junit4</artifactId>
357 <groupId>com.google.code.gson</groupId>
358 <artifactId>gson</artifactId>
359 <version>2.5</version>
364 <groupId>org.springframework</groupId>
365 <artifactId>spring-core</artifactId>
366 <version>${springframework.version}</version>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-web</artifactId>
371 <version>${springframework.version}</version>
374 <groupId>org.springframework</groupId>
375 <artifactId>spring-webmvc</artifactId>
376 <version>${springframework.version}</version>
379 <groupId>org.springframework</groupId>
380 <artifactId>spring-tx</artifactId>
381 <version>${springframework.version}</version>
384 <groupId>org.springframework</groupId>
385 <artifactId>spring-context-support</artifactId>
386 <version>${springframework.version}</version>
389 <groupId>org.springframework</groupId>
390 <artifactId>spring-orm</artifactId>
391 <version>${springframework.version}</version>
394 <groupId>org.springframework</groupId>
395 <artifactId>spring-test</artifactId>
396 <version>${springframework.version}</version>
399 <groupId>org.springframework.boot</groupId>
400 <artifactId>spring-boot-starter</artifactId>
401 <version>1.3.0.RELEASE</version>
404 <groupId>org.slf4j</groupId>
405 <artifactId>log4j-over-slf4j</artifactId>
408 <groupId>ch.qos.logback</groupId>
409 <artifactId>logback-classic</artifactId>
416 <groupId>org.hibernate</groupId>
417 <artifactId>hibernate-core</artifactId>
418 <version>${hibernate.version}</version>
421 <!-- jsr303 validation -->
422 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
423 <version>1.1.0.Final</version> </dependency> -->
426 <groupId>org.hibernate</groupId>
427 <artifactId>hibernate-validator</artifactId>
428 <version>5.1.3.Final</version>
430 <!-- Servlet+JSP+JSTL -->
432 <groupId>javax.servlet</groupId>
433 <artifactId>javax.servlet-api</artifactId>
434 <version>3.1.0</version>
437 <groupId>javax.servlet.jsp</groupId>
438 <artifactId>javax.servlet.jsp-api</artifactId>
439 <version>2.3.1</version>
442 <groupId>javax.servlet</groupId>
443 <artifactId>jstl</artifactId>
444 <version>1.2</version>
447 <!-- Apache Tiles -->
449 <groupId>org.apache.tiles</groupId>
450 <artifactId>tiles-core</artifactId>
451 <version>3.0.5</version>
454 <groupId>org.apache.tiles</groupId>
455 <artifactId>tiles-jsp</artifactId>
456 <version>3.0.5</version>
459 <groupId>org.apache.cxf</groupId>
460 <artifactId>cxf-rt-rs-client</artifactId>
461 <version>3.0.0-milestone1</version>
466 <groupId>com.fasterxml.jackson.core</groupId>
467 <artifactId>jackson-annotations</artifactId>
468 <version>2.6.3</version>
471 <groupId>com.fasterxml.jackson.core</groupId>
472 <artifactId>jackson-core</artifactId>
473 <version>2.6.3</version>
476 <groupId>com.fasterxml.jackson.core</groupId>
477 <artifactId>jackson-databind</artifactId>
478 <version>2.6.3</version>
481 <groupId>com.fasterxml</groupId>
482 <artifactId>classmate</artifactId>
483 <version>1.3.1</version>
487 <groupId>mysql</groupId>
488 <artifactId>mysql-connector-java</artifactId>
489 <version>5.1.22</version>
492 <!-- Elastic Search -->
494 <groupId>org.elasticsearch</groupId>
495 <artifactId>elasticsearch</artifactId>
496 <version>2.2.0</version>
499 <groupId>io.searchbox</groupId>
500 <artifactId>jest</artifactId>
501 <version>2.0.0</version>
505 <groupId>org.apache.jcs</groupId>
506 <artifactId>jcs</artifactId>
507 <version>1.3</version>
511 <artifactId>*</artifactId>
517 <groupId>org.apache.tomcat</groupId>
518 <artifactId>tomcat-websocket</artifactId>
519 <version>8.0.28</version>
520 <scope>provided</scope>
523 <!-- Raptor required Libraries -->
524 <!-- for static charts -->
526 <groupId>commons-lang</groupId>
527 <artifactId>commons-lang</artifactId>
528 <version>2.6</version>
530 <!-- for generating excel/csv/excelx -->
532 <groupId>org.apache.poi</groupId>
533 <artifactId>poi</artifactId>
534 <version>3.5-FINAL</version>
537 <groupId>commons-logging</groupId>
538 <artifactId>commons-logging</artifactId>
541 <groupId>log4j</groupId>
542 <artifactId>log4j</artifactId>
547 <groupId>org.apache.poi</groupId>
548 <artifactId>poi-ooxml</artifactId>
549 <version>3.5-FINAL</version>
552 <groupId>commons-logging</groupId>
553 <artifactId>commons-logging</artifactId>
556 <groupId>log4j</groupId>
557 <artifactId>log4j</artifactId>
562 <groupId>org.apache.poi</groupId>
563 <artifactId>poi-scratchpad</artifactId>
564 <version>3.5-FINAL</version>
567 <groupId>commons-logging</groupId>
568 <artifactId>commons-logging</artifactId>
571 <groupId>log4j</groupId>
572 <artifactId>log4j</artifactId>
577 <groupId>org.apache.poi</groupId>
578 <artifactId>poi-contrib</artifactId>
579 <version>3.5-FINAL</version>
582 <groupId>commons-logging</groupId>
583 <artifactId>commons-logging</artifactId>
586 <groupId>log4j</groupId>
587 <artifactId>log4j</artifactId>
592 <!-- <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId>
593 <version>2.0.8</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId>
594 <artifactId>bcprov-jdk14</artifactId> </exclusion> </exclusions> </dependency> -->
597 <groupId>org.quartz-scheduler</groupId>
598 <artifactId>quartz</artifactId>
599 <version>2.2.1</version>
601 <!-- SDK brings a new version of c3p0 -->
603 <groupId>c3p0</groupId>
604 <artifactId>c3p0</artifactId>
610 <groupId>commons-codec</groupId>
611 <artifactId>commons-codec</artifactId>
612 <version>1.9</version>
616 <groupId>com.att.nsa</groupId>
617 <artifactId>cambriaClient</artifactId>
618 <version>0.0.1</version>
621 <groupId>commons-logging</groupId>
622 <artifactId>commons-logging</artifactId>
625 <groupId>log4j</groupId>
626 <artifactId>log4j</artifactId>
629 <groupId>log4j</groupId>
630 <artifactId>apache-log4j-extras</artifactId>
633 <groupId>org.slf4j</groupId>
634 <artifactId>slf4j-log4j12</artifactId>
639 <!-- SDK overlay war -->
641 <groupId>org.onap.portal.sdk</groupId>
642 <artifactId>epsdk-app-overlay</artifactId>
643 <version>${epsdk.version}</version>
648 <groupId>org.onap.portal.sdk</groupId>
649 <artifactId>epsdk-app-common</artifactId>
650 <version>${epsdk.version}</version>
654 <!-- EcompPortal common overlay -->
656 <groupId>org.onap.portal</groupId>
657 <artifactId>ecompportal-be-common</artifactId>
658 <version>${portal.version}</version>
663 <groupId>org.onap.portal</groupId>
664 <artifactId>ecompportal-be-common</artifactId>
665 <version>${portal.version}</version>
667 <classifier>classes</classifier>
671 <groupId>org.onap.portal.sdk</groupId>
672 <artifactId>epsdk-fw</artifactId>
673 <version>${epsdk.version}</version>
676 <groupId>commons-logging</groupId>
677 <artifactId>commons-logging</artifactId>
680 <groupId>log4j</groupId>
681 <artifactId>log4j</artifactId>
684 <groupId>log4j</groupId>
685 <artifactId>apache-log4j-extras</artifactId>
688 <groupId>org.slf4j</groupId>
689 <artifactId>slf4j-log4j12</artifactId>
695 <groupId>org.onap.portal.sdk</groupId>
696 <artifactId>epsdk-core</artifactId>
697 <version>${epsdk.version}</version>
701 <groupId>org.onap.portal.sdk</groupId>
702 <artifactId>epsdk-workflow</artifactId>
703 <version>${epsdk.version}</version>
706 <!-- Raptor required Libraries -->
707 <!-- for static charts -->
709 <groupId>org.onap.portal.sdk</groupId>
710 <artifactId>epsdk-analytics</artifactId>
711 <version>${epsdk.version}</version>
714 <!-- Referenced by some poms and needed for testing; do NOT use "test"
717 <groupId>org.apache.httpcomponents</groupId>
718 <artifactId>httpclient</artifactId>
719 <version>4.5.2</version>
724 <groupId>junit</groupId>
725 <artifactId>junit</artifactId>
726 <version>4.11</version>
730 <groupId>org.onap.portal</groupId>
731 <artifactId>ecomp-portal-BE-common-test</artifactId>
732 <version>${portal.version}</version>
736 <groupId>org.mockito</groupId>
737 <artifactId>mockito-core</artifactId>
738 <version>1.8.5</version>
742 <groupId>commons-beanutils</groupId>
743 <artifactId>commons-beanutils</artifactId>
744 <version>1.9.2</version>
749 <!-- OpenID Connect Dependencies -->
751 <groupId>org.mitre</groupId>
752 <artifactId>openid-connect-client</artifactId>
753 <version>1.2.2</version>
756 <groupId>org.codehaus.jackson</groupId>
757 <artifactId>jackson-mapper-asl</artifactId>
763 <groupId>org.springframework.security</groupId>
764 <artifactId>spring-security-taglibs</artifactId>
765 <version>3.2.8.RELEASE</version>
768 <groupId>org.springframework</groupId>
769 <artifactId>*</artifactId>
775 <groupId>org.aspectj</groupId>
776 <artifactId>aspectjrt</artifactId>
777 <version>1.8.9</version>
780 <groupId>org.aspectj</groupId>
781 <artifactId>aspectjweaver</artifactId>
782 <version>1.8.9</version>
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-javadoc-plugin</artifactId>
792 <version>2.10.4</version>
794 <failOnError>false</failOnError>
795 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
797 <groupId>org.umlgraph</groupId>
798 <artifactId>umlgraph</artifactId>
799 <version>5.6</version>
801 <additionalparam>-views</additionalparam>
802 <useStandardDocletOptions>true</useStandardDocletOptions>
809 <distributionManagement>
812 <url>dav:${nexusproxy}/content/sites/site/org/onap/portal/${project.version}</url>
814 </distributionManagement>