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>false</skipTests>
19 <skipCoverage>true</skipCoverage>
20 <!-- Jenkins SHOULD invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
21 <build.number>0</build.number>
22 <sonar.exclusions>**.js</sonar.exclusions>
23 <nexusproxy>https://nexus.onap.org</nexusproxy>
24 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
25 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
31 <groupId>org.apache.maven.plugins</groupId>
32 <artifactId>maven-javadoc-plugin</artifactId>
33 <version>2.10.4</version>
35 <failOnError>false</failOnError>
36 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
38 <groupId>org.umlgraph</groupId>
39 <artifactId>umlgraph</artifactId>
40 <version>5.6</version>
42 <additionalparam>-views</additionalparam>
43 <useStandardDocletOptions>true</useStandardDocletOptions>
49 <distributionManagement>
52 <url>dav:${nexusproxy}/content/sites/site/org/onap/portal/${project.version}</url>
54 </distributionManagement>
57 <id>onap-releases</id>
58 <url>${nexusproxy}/${releaseNexusPath}</url>
61 <id>onap-snapshots</id>
62 <url>${nexusproxy}/${snapshotNexusPath}</url>
66 <url>https://nexus.onap.org/content/groups/public</url>
71 <sourceDirectory>src/main/java</sourceDirectory>
72 <!-- The war file name carries no version number -->
73 <finalName>${project.artifactId}</finalName>
77 <groupId>org.codehaus.mojo</groupId>
78 <artifactId>sonar-maven-plugin</artifactId>
79 <version>3.2</version>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-site-plugin</artifactId>
84 <version>3.6</version>
87 <groupId>org.apache.maven.wagon</groupId>
88 <artifactId>wagon-webdav-jackrabbit</artifactId>
89 <version>2.10</version>
94 <artifactId>maven-compiler-plugin</artifactId>
95 <version>3.1</version>
102 <groupId>org.jacoco</groupId>
103 <artifactId>jacoco-maven-plugin</artifactId>
104 <version>0.7.5.201505241946</version>
107 <!-- Prepares the property pointing to the JaCoCo runtime agent which
108 is passed as VM argument when Maven the Surefire plugin is executed. -->
110 <id>pre-unit-test</id>
112 <goal>prepare-agent</goal>
115 <!-- Sets the path to the file which contains the execution data. -->
116 <destFile>${basedir}/target/coverage-reports/jacoco-ut.exec</destFile>
117 <!-- Sets the name of the property containing the settings for JaCoCo
119 <propertyName>surefireArgLine</propertyName>
120 <skip>${skipCoverage}</skip>
124 <!-- Ensures that the code coverage report for unit tests is created
125 after unit tests have been run. -->
127 <id>post-unit-test</id>
133 <!-- Sets the path to the file which contains the execution data. -->
134 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
135 <!-- Sets the output directory for the code coverage report. -->
136 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
137 <skip>${skipCoverage}</skip>
141 <!-- Will see build errors while running the test cases because of dual
144 <id>default-instrument</id>
146 <goal>instrument</goal>
149 <skip>${skipCoverage}</skip>
153 <id>default-restore-instrumented-classes</id>
155 <goal>restore-instrumented-classes</goal>
158 <skip>${skipCoverage}</skip>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-surefire-plugin</artifactId>
167 <version>2.19.1</version>
169 <skipTests>${skipTests}</skipTests>
171 <include>**/*Test.java</include>
172 <include>**/*TestCase.java</include>
173 <inlcude>**/*TestSuite.java</inlcude>
175 <!-- Intentionally Excluding TestFromSuite -->
177 <exclude>**/*TestFromSuite.java</exclude>
179 <additionalClasspathElements>
180 <additionalClasspathElement>${basedir}/src/main/webapp</additionalClasspathElement>
181 <additionalClasspathElement>../ecomp-portal-BE-common/src/main/webapp</additionalClasspathElement>
182 <additionalClasspathElement>../ecomp-portal-BE-common</additionalClasspathElement>
183 </additionalClasspathElements>
184 <systemPropertyVariables>
185 <container.classpath>classpath:</container.classpath>
186 </systemPropertyVariables>
191 <artifactId>maven-war-plugin</artifactId>
192 <version>2.6</version>
194 <warSourceDirectory>src/main/webapp</warSourceDirectory>
195 <failOnMissingWebXml>false</failOnMissingWebXml>
198 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
201 <Build-Number>${project.version}.${build.number}</Build-Number>
202 <Build-Time>${maven.build.timestamp}</Build-Time>
206 <!-- specify the order in which these should be applied -->
208 <groupId>org.onap.portal</groupId>
209 <artifactId>ecompportal-be-common</artifactId>
212 <groupId>org.onap.portal.sdk</groupId>
213 <artifactId>epsdk-app-overlay</artifactId>
219 <!-- No deployment step for this project -->
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-deploy-plugin</artifactId>
223 <version>2.8</version>
230 <artifactId>maven-resources-plugin</artifactId>
231 <version>3.0.2</version>
232 <!-- Your own property files can be placed in ecomp-portal-be/../../overrides
233 directory and they will override the generic source controlled versions at
234 build time allowing you to test locally with your own settings. -->
237 <id>copy-custom-properties1</id>
238 <phase>process-resources</phase>
240 <goal>copy-resources</goal>
243 <overwrite>true</overwrite>
244 <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
247 <directory>${basedir}/../../overrides</directory>
249 <include>system.properties</include>
256 <id>copy-custom-properties2</id>
257 <phase>process-resources</phase>
259 <goal>copy-resources</goal>
262 <overwrite>true</overwrite>
263 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
266 <directory>${basedir}/../../overrides</directory>
268 <include>fusion.properties</include>
275 <id>copy-custom-properties3</id>
276 <phase>process-resources</phase>
278 <goal>copy-resources</goal>
281 <overwrite>true</overwrite>
282 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
285 <directory>${basedir}/../../overrides</directory>
287 <include>portal.properties</include>
288 <include>openid-connect.properties</include>
289 <include>openid-keystore.jwks</include>
297 <phase>generate-resources</phase>
299 <goal>copy-resources</goal>
302 <outputDirectory>${basedir}/target/classes</outputDirectory>
303 <overwrite>false</overwrite>
304 <skip>${skipTests}</skip>
307 <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory>
318 <directory>src/test/java</directory>
320 <include>**/*Test*.*</include>
327 <directory>src/main/resources</directory>
329 <include>**/*.xml</include>
330 <include>**/*.ccf</include>
331 <include>**/*.properties</include>
332 <include>**/*.jwks</include>
336 <directory>src/test/resources</directory>
338 <include>**/*.xml</include>
339 <include>**/*.properties</include>
342 <!-- picks up the applicationcodes.properties file presented in \src\
345 <directory>src/main/java</directory>
347 <include>**/*.xml</include>
348 <include>**/*.properties</include>
358 <groupId>com.att.eelf</groupId>
359 <artifactId>eelf-core</artifactId>
360 <version>${eelf.version}</version>
363 <groupId>org.mockito</groupId>
364 <artifactId>mockito-core</artifactId>
367 <groupId>org.powermock</groupId>
368 <artifactId>powermock-module-junit4</artifactId>
374 <groupId>com.google.code.gson</groupId>
375 <artifactId>gson</artifactId>
376 <version>2.5</version>
381 <groupId>org.springframework</groupId>
382 <artifactId>spring-core</artifactId>
383 <version>${springframework.version}</version>
386 <groupId>org.springframework</groupId>
387 <artifactId>spring-web</artifactId>
388 <version>${springframework.version}</version>
391 <groupId>org.springframework</groupId>
392 <artifactId>spring-webmvc</artifactId>
393 <version>${springframework.version}</version>
396 <groupId>org.springframework</groupId>
397 <artifactId>spring-tx</artifactId>
398 <version>${springframework.version}</version>
401 <groupId>org.springframework</groupId>
402 <artifactId>spring-context-support</artifactId>
403 <version>${springframework.version}</version>
406 <groupId>org.springframework</groupId>
407 <artifactId>spring-orm</artifactId>
408 <version>${springframework.version}</version>
411 <groupId>org.springframework</groupId>
412 <artifactId>spring-test</artifactId>
413 <version>${springframework.version}</version>
416 <groupId>org.springframework.boot</groupId>
417 <artifactId>spring-boot-starter</artifactId>
418 <version>1.3.0.RELEASE</version>
421 <groupId>org.slf4j</groupId>
422 <artifactId>log4j-over-slf4j</artifactId>
425 <groupId>ch.qos.logback</groupId>
426 <artifactId>logback-classic</artifactId>
433 <groupId>org.hibernate</groupId>
434 <artifactId>hibernate-core</artifactId>
435 <version>${hibernate.version}</version>
438 <!-- jsr303 validation -->
439 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
440 <version>1.1.0.Final</version> </dependency> -->
443 <groupId>org.hibernate</groupId>
444 <artifactId>hibernate-validator</artifactId>
445 <version>5.1.3.Final</version>
447 <!-- Servlet+JSP+JSTL -->
449 <groupId>javax.servlet</groupId>
450 <artifactId>javax.servlet-api</artifactId>
451 <version>3.1.0</version>
454 <groupId>javax.servlet.jsp</groupId>
455 <artifactId>javax.servlet.jsp-api</artifactId>
456 <version>2.3.1</version>
459 <groupId>javax.servlet</groupId>
460 <artifactId>jstl</artifactId>
461 <version>1.2</version>
464 <!-- Apache Tiles -->
466 <groupId>org.apache.tiles</groupId>
467 <artifactId>tiles-core</artifactId>
468 <version>3.0.5</version>
471 <groupId>org.apache.tiles</groupId>
472 <artifactId>tiles-jsp</artifactId>
473 <version>3.0.5</version>
476 <groupId>org.apache.cxf</groupId>
477 <artifactId>cxf-rt-rs-client</artifactId>
478 <version>3.0.0-milestone1</version>
483 <groupId>com.fasterxml.jackson.core</groupId>
484 <artifactId>jackson-annotations</artifactId>
485 <version>2.6.3</version>
488 <groupId>com.fasterxml.jackson.core</groupId>
489 <artifactId>jackson-core</artifactId>
490 <version>2.6.3</version>
493 <groupId>com.fasterxml.jackson.core</groupId>
494 <artifactId>jackson-databind</artifactId>
495 <version>2.6.3</version>
498 <groupId>com.fasterxml</groupId>
499 <artifactId>classmate</artifactId>
500 <version>1.3.1</version>
504 <groupId>mysql</groupId>
505 <artifactId>mysql-connector-java</artifactId>
506 <version>5.1.22</version>
509 <!-- Elastic Search -->
511 <groupId>org.elasticsearch</groupId>
512 <artifactId>elasticsearch</artifactId>
513 <version>2.2.0</version>
516 <groupId>io.searchbox</groupId>
517 <artifactId>jest</artifactId>
518 <version>2.0.0</version>
522 <groupId>org.apache.jcs</groupId>
523 <artifactId>jcs</artifactId>
524 <version>1.3</version>
528 <artifactId>*</artifactId>
534 <groupId>org.apache.tomcat</groupId>
535 <artifactId>tomcat-websocket</artifactId>
536 <version>8.0.28</version>
537 <scope>provided</scope>
540 <!-- Raptor required Libraries -->
541 <!-- for static charts -->
543 <groupId>commons-lang</groupId>
544 <artifactId>commons-lang</artifactId>
545 <version>2.6</version>
547 <!-- for generating excel/csv/excelx -->
549 <groupId>org.apache.poi</groupId>
550 <artifactId>poi</artifactId>
551 <version>3.5-FINAL</version>
554 <groupId>commons-logging</groupId>
555 <artifactId>commons-logging</artifactId>
558 <groupId>log4j</groupId>
559 <artifactId>log4j</artifactId>
564 <groupId>org.apache.poi</groupId>
565 <artifactId>poi-ooxml</artifactId>
566 <version>3.5-FINAL</version>
569 <groupId>commons-logging</groupId>
570 <artifactId>commons-logging</artifactId>
573 <groupId>log4j</groupId>
574 <artifactId>log4j</artifactId>
579 <groupId>org.apache.poi</groupId>
580 <artifactId>poi-scratchpad</artifactId>
581 <version>3.5-FINAL</version>
584 <groupId>commons-logging</groupId>
585 <artifactId>commons-logging</artifactId>
588 <groupId>log4j</groupId>
589 <artifactId>log4j</artifactId>
594 <groupId>org.apache.poi</groupId>
595 <artifactId>poi-contrib</artifactId>
596 <version>3.5-FINAL</version>
599 <groupId>commons-logging</groupId>
600 <artifactId>commons-logging</artifactId>
603 <groupId>log4j</groupId>
604 <artifactId>log4j</artifactId>
609 <!-- <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId>
610 <version>2.0.8</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId>
611 <artifactId>bcprov-jdk14</artifactId> </exclusion> </exclusions> </dependency> -->
614 <groupId>org.quartz-scheduler</groupId>
615 <artifactId>quartz</artifactId>
616 <version>2.2.1</version>
618 <!-- SDK brings a new version of c3p0 -->
620 <groupId>c3p0</groupId>
621 <artifactId>c3p0</artifactId>
627 <groupId>commons-codec</groupId>
628 <artifactId>commons-codec</artifactId>
629 <version>1.9</version>
633 <groupId>com.att.nsa</groupId>
634 <artifactId>cambriaClient</artifactId>
635 <version>0.0.1</version>
638 <groupId>commons-logging</groupId>
639 <artifactId>commons-logging</artifactId>
642 <groupId>log4j</groupId>
643 <artifactId>log4j</artifactId>
646 <groupId>log4j</groupId>
647 <artifactId>apache-log4j-extras</artifactId>
650 <groupId>org.slf4j</groupId>
651 <artifactId>slf4j-log4j12</artifactId>
656 <!-- SDK overlay war -->
658 <groupId>org.onap.portal.sdk</groupId>
659 <artifactId>epsdk-app-overlay</artifactId>
660 <version>${epsdk.version}</version>
665 <groupId>org.onap.portal.sdk</groupId>
666 <artifactId>epsdk-app-common</artifactId>
667 <version>${epsdk.version}</version>
671 <!-- EcompPortal common overlay -->
673 <groupId>org.onap.portal</groupId>
674 <artifactId>ecompportal-be-common</artifactId>
675 <version>${portal.version}</version>
680 <groupId>org.onap.portal</groupId>
681 <artifactId>ecompportal-be-common</artifactId>
682 <version>${portal.version}</version>
684 <classifier>classes</classifier>
688 <groupId>org.onap.portal.sdk</groupId>
689 <artifactId>epsdk-fw</artifactId>
690 <version>${epsdk.version}</version>
693 <groupId>commons-logging</groupId>
694 <artifactId>commons-logging</artifactId>
697 <groupId>log4j</groupId>
698 <artifactId>log4j</artifactId>
701 <groupId>log4j</groupId>
702 <artifactId>apache-log4j-extras</artifactId>
705 <groupId>org.slf4j</groupId>
706 <artifactId>slf4j-log4j12</artifactId>
712 <groupId>org.onap.portal.sdk</groupId>
713 <artifactId>epsdk-core</artifactId>
714 <version>${epsdk.version}</version>
718 <groupId>org.onap.portal.sdk</groupId>
719 <artifactId>epsdk-workflow</artifactId>
720 <version>${epsdk.version}</version>
723 <!-- Raptor required Libraries -->
724 <!-- for static charts -->
726 <groupId>org.onap.portal.sdk</groupId>
727 <artifactId>epsdk-analytics</artifactId>
728 <version>${epsdk.version}</version>
731 <!-- Referenced by some poms and needed for testing; do NOT use "test"
734 <groupId>org.apache.httpcomponents</groupId>
735 <artifactId>httpclient</artifactId>
736 <version>4.5.2</version>
741 <groupId>junit</groupId>
742 <artifactId>junit</artifactId>
743 <version>4.11</version>
747 <groupId>org.onap.portal</groupId>
748 <artifactId>ecomp-portal-BE-common-test</artifactId>
749 <version>${portal.version}</version>
753 <groupId>org.mockito</groupId>
754 <artifactId>mockito-core</artifactId>
755 <version>1.8.5</version>
759 <groupId>commons-beanutils</groupId>
760 <artifactId>commons-beanutils</artifactId>
761 <version>1.9.2</version>
766 <!-- OpenID Connect Dependencies -->
768 <groupId>org.mitre</groupId>
769 <artifactId>openid-connect-client</artifactId>
770 <version>1.2.2</version>
773 <groupId>org.codehaus.jackson</groupId>
774 <artifactId>jackson-mapper-asl</artifactId>
780 <groupId>org.springframework.security</groupId>
781 <artifactId>spring-security-taglibs</artifactId>
782 <version>3.2.8.RELEASE</version>
785 <groupId>org.springframework</groupId>
786 <artifactId>*</artifactId>
792 <groupId>org.aspectj</groupId>
793 <artifactId>aspectjrt</artifactId>
794 <version>1.8.9</version>
797 <groupId>org.aspectj</groupId>
798 <artifactId>aspectjweaver</artifactId>
799 <version>1.8.9</version>