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 <!-- Tests usually require some setup that maven cannot do, so skip. -->
17 <skipTests>true</skipTests>
18 <!-- Jenkins SHOULD invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
19 <build.number>0</build.number>
20 <sonar.exclusions>**.js</sonar.exclusions>
21 <nexusproxy>https://nexus.onap.org</nexusproxy>
22 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
23 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
29 <groupId>org.apache.maven.plugins</groupId>
30 <artifactId>maven-javadoc-plugin</artifactId>
31 <version>2.10.4</version>
33 <failOnError>false</failOnError>
34 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
36 <groupId>org.umlgraph</groupId>
37 <artifactId>umlgraph</artifactId>
38 <version>5.6</version>
40 <additionalparam>-views</additionalparam>
41 <useStandardDocletOptions>true</useStandardDocletOptions>
47 <distributionManagement>
50 <url>dav:${nexusproxy}/content/sites/site/org/onap/portal/${project.version}</url>
52 </distributionManagement>
55 <id>onap-releases</id>
56 <url>${nexusproxy}/${releaseNexusPath}</url>
59 <id>onap-snapshots</id>
60 <url>${nexusproxy}/${snapshotNexusPath}</url>
64 <url>https://nexus.onap.org/content/groups/public</url>
69 <sourceDirectory>src/main/java</sourceDirectory>
70 <!-- The war file name carries no version number -->
71 <finalName>${project.artifactId}</finalName>
75 <groupId>org.codehaus.mojo</groupId>
76 <artifactId>sonar-maven-plugin</artifactId>
77 <version>3.2</version>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-site-plugin</artifactId>
82 <version>3.6</version>
85 <groupId>org.apache.maven.wagon</groupId>
86 <artifactId>wagon-webdav-jackrabbit</artifactId>
87 <version>2.10</version>
92 <artifactId>maven-compiler-plugin</artifactId>
93 <version>3.1</version>
100 <groupId>org.jacoco</groupId>
101 <artifactId>jacoco-maven-plugin</artifactId>
102 <version>0.7.5.201505241946</version>
105 <!-- Prepares the property pointing to the JaCoCo runtime agent which
106 is passed as VM argument when Maven the Surefire plugin is executed. -->
108 <id>pre-unit-test</id>
110 <goal>prepare-agent</goal>
113 <!-- Sets the path to the file which contains the execution data. -->
114 <destFile>${basedir}/target/coverage-reports/jacoco-ut.exec</destFile>
115 <!-- Sets the name of the property containing the settings for JaCoCo
117 <propertyName>surefireArgLine</propertyName>
118 <skip>${skipTests}</skip>
122 <!-- Ensures that the code coverage report for unit tests is created
123 after unit tests have been run. -->
125 <id>post-unit-test</id>
131 <!-- Sets the path to the file which contains the execution data. -->
132 <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
133 <!-- Sets the output directory for the code coverage report. -->
134 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
135 <skip>${skipTests}</skip>
139 <!-- Will see build errors while running the test cases because of dual
142 <id>default-instrument</id>
144 <goal>instrument</goal>
147 <skip>${skipTests}</skip>
151 <id>default-restore-instrumented-classes</id>
153 <goal>restore-instrumented-classes</goal>
156 <skip>${skipTests}</skip>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-resources-plugin</artifactId>
165 <version>3.0.2</version>
169 <phase>generate-resources</phase>
171 <goal>copy-resources</goal>
174 <outputDirectory>${basedir}/target/classes</outputDirectory>
175 <overwrite>false</overwrite>
176 <skip>${skipTests}</skip>
179 <directory>${basedir}/../ecomp-portal-BE-common/target/classes</directory>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-surefire-plugin</artifactId>
192 <version>2.19.1</version>
194 <skipTests>${skipTests}</skipTests>
196 <include>**/*Test.java</include>
197 <include>**/*TestCase.java</include>
198 <inlcude>**/*TestSuite.java</inlcude>
200 <!-- Intentionally Excluding TestFromSuite -->
202 <exclude>**/*TestFromSuite.java</exclude>
204 <additionalClasspathElements>
205 <additionalClasspathElement>${basedir}/src/main/webapp</additionalClasspathElement>
206 <additionalClasspathElement>../ecomp-portal-BE-common/src/main/webapp</additionalClasspathElement>
207 <additionalClasspathElement>../ecomp-portal-BE-common</additionalClasspathElement>
208 </additionalClasspathElements>
209 <systemPropertyVariables>
210 <container.classpath>classpath:</container.classpath>
211 </systemPropertyVariables>
216 <artifactId>maven-war-plugin</artifactId>
217 <version>2.6</version>
219 <warSourceDirectory>src/main/webapp</warSourceDirectory>
220 <failOnMissingWebXml>false</failOnMissingWebXml>
223 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
226 <Build-Number>${project.version}.${build.number}</Build-Number>
227 <Build-Time>${maven.build.timestamp}</Build-Time>
231 <!-- specify the order in which these should be applied -->
233 <groupId>org.onap.portal</groupId>
234 <artifactId>ecompportal-be-common</artifactId>
237 <groupId>org.onap.portal.sdk</groupId>
238 <artifactId>epsdk-app-overlay</artifactId>
244 <!-- No deployment step for this project -->
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-deploy-plugin</artifactId>
248 <version>2.8</version>
255 <artifactId>maven-resources-plugin</artifactId>
256 <version>3.0.1</version>
257 <!-- Your own property files can be placed in ecomp-portal-be/../../overrides
258 directory and they will override the generic source controlled versions at
259 build time allowing you to test locally with your own settings. -->
262 <id>copy-custom-properties1</id>
263 <phase>process-resources</phase>
265 <goal>copy-resources</goal>
268 <overwrite>true</overwrite>
269 <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
272 <directory>${basedir}/../../overrides</directory>
274 <include>system.properties</include>
281 <id>copy-custom-properties2</id>
282 <phase>process-resources</phase>
284 <goal>copy-resources</goal>
287 <overwrite>true</overwrite>
288 <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
291 <directory>${basedir}/../../overrides</directory>
293 <include>fusion.properties</include>
300 <id>copy-custom-properties3</id>
301 <phase>process-resources</phase>
303 <goal>copy-resources</goal>
306 <overwrite>true</overwrite>
307 <outputDirectory>${basedir}/src/main/resources</outputDirectory>
310 <directory>${basedir}/../../overrides</directory>
312 <include>portal.properties</include>
313 <include>openid-connect.properties</include>
314 <include>openid-keystore.jwks</include>
326 <directory>src/test/java</directory>
328 <include>**/*Test*.*</include>
335 <directory>src/main/resources</directory>
337 <include>**/*.xml</include>
338 <include>**/*.ccf</include>
339 <include>**/*.properties</include>
340 <include>**/*.jwks</include>
344 <directory>src/test/resources</directory>
346 <include>**/*.xml</include>
347 <include>**/*.properties</include>
350 <!-- picks up the applicationcodes.properties file presented in \src\
353 <directory>src/main/java</directory>
355 <include>**/*.xml</include>
356 <include>**/*.properties</include>
366 <groupId>com.att.eelf</groupId>
367 <artifactId>eelf-core</artifactId>
368 <version>${eelf.version}</version>
371 <groupId>org.mockito</groupId>
372 <artifactId>mockito-core</artifactId>
375 <groupId>org.powermock</groupId>
376 <artifactId>powermock-module-junit4</artifactId>
382 <groupId>com.google.code.gson</groupId>
383 <artifactId>gson</artifactId>
384 <version>2.5</version>
389 <groupId>org.springframework</groupId>
390 <artifactId>spring-core</artifactId>
391 <version>${springframework.version}</version>
394 <groupId>org.springframework</groupId>
395 <artifactId>spring-web</artifactId>
396 <version>${springframework.version}</version>
399 <groupId>org.springframework</groupId>
400 <artifactId>spring-webmvc</artifactId>
401 <version>${springframework.version}</version>
404 <groupId>org.springframework</groupId>
405 <artifactId>spring-tx</artifactId>
406 <version>${springframework.version}</version>
409 <groupId>org.springframework</groupId>
410 <artifactId>spring-context-support</artifactId>
411 <version>${springframework.version}</version>
414 <groupId>org.springframework</groupId>
415 <artifactId>spring-orm</artifactId>
416 <version>${springframework.version}</version>
419 <groupId>org.springframework</groupId>
420 <artifactId>spring-test</artifactId>
421 <version>${springframework.version}</version>
424 <groupId>org.springframework.boot</groupId>
425 <artifactId>spring-boot-starter</artifactId>
426 <version>1.3.0.RELEASE</version>
429 <groupId>org.slf4j</groupId>
430 <artifactId>log4j-over-slf4j</artifactId>
433 <groupId>ch.qos.logback</groupId>
434 <artifactId>logback-classic</artifactId>
441 <groupId>org.hibernate</groupId>
442 <artifactId>hibernate-core</artifactId>
443 <version>${hibernate.version}</version>
446 <!-- jsr303 validation -->
447 <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId>
448 <version>1.1.0.Final</version> </dependency> -->
451 <groupId>org.hibernate</groupId>
452 <artifactId>hibernate-validator</artifactId>
453 <version>5.1.3.Final</version>
455 <!-- Servlet+JSP+JSTL -->
457 <groupId>javax.servlet</groupId>
458 <artifactId>javax.servlet-api</artifactId>
459 <version>3.1.0</version>
462 <groupId>javax.servlet.jsp</groupId>
463 <artifactId>javax.servlet.jsp-api</artifactId>
464 <version>2.3.1</version>
467 <groupId>javax.servlet</groupId>
468 <artifactId>jstl</artifactId>
469 <version>1.2</version>
472 <!-- Apache Tiles -->
474 <groupId>org.apache.tiles</groupId>
475 <artifactId>tiles-core</artifactId>
476 <version>3.0.5</version>
479 <groupId>org.apache.tiles</groupId>
480 <artifactId>tiles-jsp</artifactId>
481 <version>3.0.5</version>
484 <groupId>org.apache.cxf</groupId>
485 <artifactId>cxf-rt-rs-client</artifactId>
486 <version>3.0.0-milestone1</version>
491 <groupId>com.fasterxml.jackson.core</groupId>
492 <artifactId>jackson-annotations</artifactId>
493 <version>2.6.3</version>
496 <groupId>com.fasterxml.jackson.core</groupId>
497 <artifactId>jackson-core</artifactId>
498 <version>2.6.3</version>
501 <groupId>com.fasterxml.jackson.core</groupId>
502 <artifactId>jackson-databind</artifactId>
503 <version>2.6.3</version>
506 <groupId>com.fasterxml</groupId>
507 <artifactId>classmate</artifactId>
508 <version>1.3.1</version>
512 <groupId>mysql</groupId>
513 <artifactId>mysql-connector-java</artifactId>
514 <version>5.1.22</version>
517 <!-- Elastic Search -->
519 <groupId>org.elasticsearch</groupId>
520 <artifactId>elasticsearch</artifactId>
521 <version>2.2.0</version>
524 <groupId>io.searchbox</groupId>
525 <artifactId>jest</artifactId>
526 <version>2.0.0</version>
530 <groupId>org.apache.jcs</groupId>
531 <artifactId>jcs</artifactId>
532 <version>1.3</version>
536 <artifactId>*</artifactId>
542 <groupId>org.apache.tomcat</groupId>
543 <artifactId>tomcat-websocket</artifactId>
544 <version>8.0.28</version>
545 <scope>provided</scope>
548 <!-- Raptor required Libraries -->
549 <!-- for static charts -->
551 <groupId>commons-lang</groupId>
552 <artifactId>commons-lang</artifactId>
553 <version>2.6</version>
555 <!-- for generating excel/csv/excelx -->
557 <groupId>org.apache.poi</groupId>
558 <artifactId>poi</artifactId>
559 <version>3.5-FINAL</version>
562 <groupId>commons-logging</groupId>
563 <artifactId>commons-logging</artifactId>
566 <groupId>log4j</groupId>
567 <artifactId>log4j</artifactId>
572 <groupId>org.apache.poi</groupId>
573 <artifactId>poi-ooxml</artifactId>
574 <version>3.5-FINAL</version>
577 <groupId>commons-logging</groupId>
578 <artifactId>commons-logging</artifactId>
581 <groupId>log4j</groupId>
582 <artifactId>log4j</artifactId>
587 <groupId>org.apache.poi</groupId>
588 <artifactId>poi-scratchpad</artifactId>
589 <version>3.5-FINAL</version>
592 <groupId>commons-logging</groupId>
593 <artifactId>commons-logging</artifactId>
596 <groupId>log4j</groupId>
597 <artifactId>log4j</artifactId>
602 <groupId>org.apache.poi</groupId>
603 <artifactId>poi-contrib</artifactId>
604 <version>3.5-FINAL</version>
607 <groupId>commons-logging</groupId>
608 <artifactId>commons-logging</artifactId>
611 <groupId>log4j</groupId>
612 <artifactId>log4j</artifactId>
617 <!-- <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId>
618 <version>2.0.8</version> <exclusions> <exclusion> <groupId>org.bouncycastle</groupId>
619 <artifactId>bcprov-jdk14</artifactId> </exclusion> </exclusions> </dependency> -->
622 <groupId>org.quartz-scheduler</groupId>
623 <artifactId>quartz</artifactId>
624 <version>2.2.1</version>
626 <!-- SDK brings a new version of c3p0 -->
628 <groupId>c3p0</groupId>
629 <artifactId>c3p0</artifactId>
635 <groupId>commons-codec</groupId>
636 <artifactId>commons-codec</artifactId>
637 <version>1.9</version>
641 <groupId>com.att.nsa</groupId>
642 <artifactId>cambriaClient</artifactId>
643 <version>0.0.1</version>
646 <groupId>commons-logging</groupId>
647 <artifactId>commons-logging</artifactId>
650 <groupId>log4j</groupId>
651 <artifactId>log4j</artifactId>
654 <groupId>log4j</groupId>
655 <artifactId>apache-log4j-extras</artifactId>
658 <groupId>org.slf4j</groupId>
659 <artifactId>slf4j-log4j12</artifactId>
664 <!-- SDK overlay war -->
666 <groupId>org.onap.portal.sdk</groupId>
667 <artifactId>epsdk-app-overlay</artifactId>
668 <version>${epsdk.version}</version>
673 <groupId>org.onap.portal.sdk</groupId>
674 <artifactId>epsdk-app-common</artifactId>
675 <version>${epsdk.version}</version>
679 <!-- EcompPortal common overlay -->
681 <groupId>org.onap.portal</groupId>
682 <artifactId>ecompportal-be-common</artifactId>
683 <version>${portal.version}</version>
688 <groupId>org.onap.portal</groupId>
689 <artifactId>ecompportal-be-common</artifactId>
690 <version>${portal.version}</version>
692 <classifier>classes</classifier>
696 <groupId>org.onap.portal.sdk</groupId>
697 <artifactId>epsdk-fw</artifactId>
698 <version>${epsdk.version}</version>
701 <groupId>commons-logging</groupId>
702 <artifactId>commons-logging</artifactId>
705 <groupId>log4j</groupId>
706 <artifactId>log4j</artifactId>
709 <groupId>log4j</groupId>
710 <artifactId>apache-log4j-extras</artifactId>
713 <groupId>org.slf4j</groupId>
714 <artifactId>slf4j-log4j12</artifactId>
720 <groupId>org.onap.portal.sdk</groupId>
721 <artifactId>epsdk-core</artifactId>
722 <version>${epsdk.version}</version>
726 <groupId>org.onap.portal.sdk</groupId>
727 <artifactId>epsdk-workflow</artifactId>
728 <version>${epsdk.version}</version>
731 <!-- Raptor required Libraries -->
732 <!-- for static charts -->
734 <groupId>org.onap.portal.sdk</groupId>
735 <artifactId>epsdk-analytics</artifactId>
736 <version>${epsdk.version}</version>
739 <!-- Referenced by some poms and needed for testing; do NOT use "test"
742 <groupId>org.apache.httpcomponents</groupId>
743 <artifactId>httpclient</artifactId>
744 <version>4.5.2</version>
749 <groupId>junit</groupId>
750 <artifactId>junit</artifactId>
751 <version>4.11</version>
755 <groupId>org.onap.portal</groupId>
756 <artifactId>ecomp-portal-BE-common-test</artifactId>
757 <version>${portal.version}</version>
761 <groupId>org.mockito</groupId>
762 <artifactId>mockito-core</artifactId>
763 <version>1.8.5</version>
767 <groupId>commons-beanutils</groupId>
768 <artifactId>commons-beanutils</artifactId>
769 <version>1.9.2</version>
774 <!-- OpenID Connect Dependencies -->
776 <groupId>org.mitre</groupId>
777 <artifactId>openid-connect-client</artifactId>
778 <version>1.2.2</version>
781 <groupId>org.codehaus.jackson</groupId>
782 <artifactId>jackson-mapper-asl</artifactId>
788 <groupId>org.springframework.security</groupId>
789 <artifactId>spring-security-taglibs</artifactId>
790 <version>3.2.8.RELEASE</version>
793 <groupId>org.springframework</groupId>
794 <artifactId>*</artifactId>
800 <groupId>org.aspectj</groupId>
801 <artifactId>aspectjrt</artifactId>
802 <version>1.8.9</version>
805 <groupId>org.aspectj</groupId>
806 <artifactId>aspectjweaver</artifactId>
807 <version>1.8.9</version>