2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
5 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
7 <version>1.2.1</version>
10 <groupId>org.onap.so</groupId>
11 <artifactId>so</artifactId>
12 <packaging>pom</packaging>
13 <version>1.3.0-SNAPSHOT</version>
15 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
16 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
17 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
20 <name>ONAP - SO</name>
21 <url>http://www.onap.org/</url>
24 <module>deployment-configs</module>
25 <module>common</module>
26 <module>mso-catalog-db</module>
27 <module>mso-api-handlers</module>
28 <module>adapters</module>
29 <module>asdc-controller</module>
31 <module>cloudify-client</module>
32 <module>cxf-logging</module>
33 <module>so-monitoring</module>
34 <module>packages</module>
37 <project.mso.base.folder>.</project.mso.base.folder>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40 <sonar.language>java</sonar.language>
41 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
42 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
43 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
44 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
45 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
46 <sonar.projectVersion>${project.version}</sonar.projectVersion>
47 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
48 <jacoco.version>0.7.5.201505241946</jacoco.version>
49 <org.apache.maven.user-settings/>
50 <openstack.version>1.3.0</openstack.version>
51 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
52 <springboot.version>1.5.13.RELEASE</springboot.version>
53 <springframework.version>5.0.8.RELEASE</springframework.version>
54 <tomcat.version>8.5.33</tomcat.version>
55 <h2.version>1.4.196</h2.version>
56 <originalClassifier>original</originalClassifier>
57 <docker.skip>true</docker.skip>
58 <docker.skip.build>true</docker.skip.build>
59 <docker.skip.push>true</docker.skip.push>
60 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
61 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
62 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
63 <enforcer.skip>true</enforcer.skip>
64 <nexusproxy>https://nexus.onap.org</nexusproxy>
65 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
66 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
67 <publicNexusPath>content/repositories/public/</publicNexusPath>
68 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
69 <cxf.version>3.2.5</cxf.version>
70 <jax.ws.rs>2.1</jax.ws.rs>
72 <distributionManagement>
74 <id>ecomp-releases</id>
75 <url>${nexusproxy}/${releaseNexusPath}</url>
78 <id>ecomp-snapshots</id>
79 <url>${nexusproxy}/${snapshotNexusPath}</url>
83 <url>dav:${nexusproxy}${siteNexusPath}</url>
85 </distributionManagement>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-javadoc-plugin</artifactId>
91 <version>2.10.4</version>
93 <failOnError>false</failOnError>
94 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
96 <groupId>org.umlgraph</groupId>
97 <artifactId>umlgraph</artifactId>
98 <version>5.6</version>
100 <additionalparam>-views</additionalparam>
101 <useStandardDocletOptions>true</useStandardDocletOptions>
106 <!-- configure build -->
107 <!-- *********************************************************************************************************** -->
108 <!-- Plugins and repositories -->
112 <url>http://repo1.maven.org/maven2</url>
116 <url>http://maven.restlet.com</url>
119 <id>ecomp-public</id>
120 <url>${nexusproxy}/${publicNexusPath}</url>
122 <enabled>false</enabled>
126 <id>ecomp-release</id>
127 <url>${nexusproxy}/${releaseNexusPath}</url>
129 <enabled>false</enabled>
133 <id>ecomp-snapshots</id>
134 <url>${nexusproxy}/${snapshotNexusPath}</url>
136 <enabled>false</enabled>
139 </pluginRepositories>
142 <id>ecomp-public</id>
143 <url>https://nexus.onap.org/content/repositories/public/</url>
145 <enabled>false</enabled>
149 <id>ecomp-releases</id>
150 <url>https://nexus.onap.org/content/repositories/releases/</url>
152 <enabled>false</enabled>
156 <id>ecomp-snapshots</id>
157 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
159 <enabled>false</enabled>
164 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
167 <id>camunda-public</id>
168 <url>https://app.camunda.com/nexus/content/groups/public</url>
171 <!-- TODO: remove from ONAP environemnt -->
172 <id>onap-releases</id>
173 <url>https://nexus.onap.org/content/repositories/releases/</url>
175 <enabled>false</enabled>
179 <!-- TODO: remove from ONAP environemnt -->
180 <id>onap-snapshots</id>
181 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
183 <enabled>false</enabled>
187 <!-- *********************************************************************************************************** -->
192 <directory>src/main/resources</directory>
193 <filtering>true</filtering>
196 <directory>target/generated-sources/license</directory>
198 <include>third-party-licenses.txt</include>
202 <directory>target/generated-resources/licenses</directory>
204 <include>*.*</include>
206 <targetPath>third-party-licenses</targetPath>
211 <groupId>org.sonatype.plugins</groupId>
212 <artifactId>nexus-staging-maven-plugin</artifactId>
213 <version>1.6.7</version>
214 <extensions>true</extensions>
216 <nexusUrl>${nexusproxy}</nexusUrl>
217 <stagingProfileId>176c31dfe190a</stagingProfileId>
218 <serverId>ecomp-staging</serverId>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-deploy-plugin</artifactId>
224 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-compiler-plugin</artifactId>
233 <version>3.6.1</version>
236 <compilerArgument>-Xlint</compilerArgument>
237 <verbose>true</verbose>
238 <showDeprecation>true</showDeprecation>
239 <showWarnings>true</showWarnings>
243 <arg>-parameters</arg>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-ejb-plugin</artifactId>
250 <version>2.2.1</version>
252 <ejbVersion>3.0</ejbVersion>
255 <addClasspath>true</addClasspath>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-checkstyle-plugin</artifactId>
263 <version>2.17</version>
266 <includes>**/org/openecomp/**/*.java</includes>
267 <configLocation>/google_checks.xml</configLocation>
271 <groupId>org.codehaus.mojo</groupId>
272 <artifactId>findbugs-maven-plugin</artifactId>
273 <version>2.5.2</version>
275 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
276 <nested>true</nested>
277 <findbugsXmlOutput>true</findbugsXmlOutput>
278 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
279 <xmlOutput>true</xmlOutput>
283 <groupId>org.codehaus.mojo</groupId>
284 <artifactId>sonar-maven-plugin</artifactId>
285 <version>5.1</version>
288 <artifactId>maven-scm-plugin</artifactId>
289 <version>1.8.1</version>
291 <tag>${project.artifactId}-${project.version}</tag>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-javadoc-plugin</artifactId>
297 <version>2.9</version>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-site-plugin</artifactId>
302 <version>3.6</version>
305 <groupId>org.apache.maven.wagon</groupId>
306 <artifactId>wagon-webdav-jackrabbit</artifactId>
307 <version>2.10</version>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>cobertura-maven-plugin</artifactId>
314 <version>2.5.2</version>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>versions-maven-plugin</artifactId>
324 <version>1.3.1</version>
328 <groupId>com.fortify.ps.maven.plugin</groupId>
329 <artifactId>sca-maven-plugin</artifactId>
330 <version>4.20</version>
332 <buildId>mso-${project.version}</buildId>
337 <groupId>org.jacoco</groupId>
338 <artifactId>jacoco-maven-plugin</artifactId>
339 <version>${jacoco.version}</version>
342 <id>default-prepare-agent</id>
344 <goal>prepare-agent</goal>
348 <id>default-report</id>
356 <groupId>org.codehaus.mojo</groupId>
357 <artifactId>license-maven-plugin</artifactId>
358 <version>1.15</version>
360 <inceptionYear>2017</inceptionYear>
361 <projectName>ONAP - SO</projectName>
362 <licenseName>apache_v2</licenseName>
363 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
364 <emptyLineAfterHeader>true</emptyLineAfterHeader>
365 <trimHeaderLine>true</trimHeaderLine>
366 <processStartTag>============LICENSE_START=======================================================</processStartTag>
367 <sectionDelimiter>================================================================================</sectionDelimiter>
368 <processEndTag>============LICENSE_END=========================================================</processEndTag>
370 <include>**/*.java</include>
371 <include>**/*.groovy</include>
374 <exclude>**/com/att/**</exclude>
379 <id>verify-headers</id>
381 <goal>check-file-header</goal>
384 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
385 <failOnMissingHeader>true</failOnMissingHeader>
394 <groupId>io.fabric8</groupId>
395 <artifactId>fabric8-maven-plugin</artifactId>
396 <version>3.5.33</version>
398 <skip>${docker.skip}</skip>
399 <skipBuild>${docker.skip.build}</skipBuild>
400 <skipPush>${docker.skip.push}</skipPush>
401 <dockerHost>${docker.newHost}</dockerHost> <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY
402 environment variable -->
403 <certPath>${docker.host.cert.path}</certPath><!-- Add -Ddocker.host.cert.pat="path
404 to your local certs directory" to maven build command -->
405 <pushRegistry>${dockerPushRepo}</pushRegistry> <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username,
407 <pullRegistry>${dockerPullRepo}</pullRegistry> <!-- If docker repo is not public. Update .m2/settings.xml Add server id
408 settings.dockerRepository, username, and password -->
411 <alias>service</alias>
412 <name>${artifactId}:${project.version}</name>
414 <dockerFileDir>${project.build.directory}</dockerFileDir>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-surefire-plugin</artifactId>
432 <version>2.20</version>
434 <systemPropertyVariables>
435 <so.log.level>DEBUG</so.log.level>
436 </systemPropertyVariables>
437 <rerunFailingTestsCount>2</rerunFailingTestsCount>
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-failsafe-plugin</artifactId>
443 <version>2.20</version>
446 <systemPropertyVariables>
447 <so.log.level>DEBUG</so.log.level>
448 </systemPropertyVariables>
449 <rerunFailingTestsCount>2</rerunFailingTestsCount>
453 <groupId>org.apache.maven.plugins</groupId>
454 <artifactId>maven-dependency-plugin</artifactId>
457 <id>extract-docker-file</id>
464 <groupId>org.onap.so</groupId>
465 <artifactId>deployment-configs</artifactId>
466 <version>${project.version}</version>
467 <outputDirectory>${project.build.directory}</outputDirectory>
468 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
469 <excludes>Kubernetes</excludes>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-jar-plugin</artifactId>
479 <version>3.0.2</version>
484 <goal>test-jar</goal>
492 <phase>package</phase>
497 <classifier>${originalClassifier}</classifier>
499 <include>**</include>
508 <!-- *********************************************************************************************************** -->
509 <!-- Dependencies -->
512 <groupId>com.fasterxml.jackson.core</groupId>
513 <artifactId>jackson-core</artifactId>
516 <groupId>com.fasterxml.jackson.module</groupId>
517 <artifactId>jackson-module-jaxb-annotations</artifactId>
518 <version>2.4.0</version>
521 <groupId>com.fasterxml.jackson.core</groupId>
522 <artifactId>jackson-databind</artifactId>
523 <version>2.8.10</version>
526 <groupId>com.fasterxml.jackson.core</groupId>
527 <artifactId>jackson-annotations</artifactId>
528 <version>2.8.10</version>
531 <groupId>com.fasterxml.jackson.jaxrs</groupId>
532 <artifactId>jackson-jaxrs-base</artifactId>
533 <version>2.9.2</version>
536 <groupId>com.fasterxml.jackson.jaxrs</groupId>
537 <artifactId>jackson-jaxrs-json-provider</artifactId>
538 <version>2.9.2</version>
541 <groupId>javax.ws.rs</groupId>
542 <artifactId>javax.ws.rs-api</artifactId>
543 <version>${jax.ws.rs}</version>
546 <groupId>javax.annotation</groupId>
547 <artifactId>javax.annotation-api</artifactId>
548 <version>1.3.1</version>
551 <groupId>javax.inject</groupId>
552 <artifactId>javax.inject</artifactId>
556 <groupId>org.hamcrest</groupId>
557 <artifactId>hamcrest-core</artifactId>
558 <version>1.3</version>
561 <groupId>org.hamcrest</groupId>
562 <artifactId>hamcrest-all</artifactId>
563 <version>1.3</version>
566 <groupId>org.mockito</groupId>
567 <artifactId>mockito-all</artifactId>
568 <version>1.10.19</version>
572 <groupId>org.powermock</groupId>
573 <artifactId>powermock-api-mockito</artifactId>
574 <version>1.6.2</version>
578 <groupId>org.powermock</groupId>
579 <artifactId>powermock-module-junit4</artifactId>
580 <version>1.6.2</version>
584 <groupId>junit</groupId>
585 <artifactId>junit</artifactId>
586 <version>4.12</version>
590 <groupId>xmlunit</groupId>
591 <artifactId>xmlunit</artifactId>
592 <version>1.6</version>
596 <groupId>com.github.tomakehurst</groupId>
597 <artifactId>wiremock-standalone</artifactId>
598 <version>2.13.0</version>
602 <groupId>org.mortbay.jetty</groupId>
603 <artifactId>jetty</artifactId>
606 <groupId>com.google.guava</groupId>
607 <artifactId>guava</artifactId>
610 <groupId>com.fasterxml.jackson.core</groupId>
611 <artifactId>jackson-core</artifactId>
614 <groupId>com.fasterxml.jackson.core</groupId>
615 <artifactId>jackson-annotations</artifactId>
618 <groupId>com.fasterxml.jackson.core</groupId>
619 <artifactId>jackson-databind</artifactId>
622 <groupId>org.apache.httpcomponents</groupId>
623 <artifactId>httpclient</artifactId>
626 <groupId>org.skyscreamer</groupId>
627 <artifactId>jsonassert</artifactId>
630 <groupId>xmlunit</groupId>
631 <artifactId>xmlunit</artifactId>
634 <groupId>com.jayway.jsonpath</groupId>
635 <artifactId>json-path</artifactId>
638 <groupId>net.sf.jopt-simple</groupId>
639 <artifactId>jopt-simple</artifactId>
644 <groupId>com.openpojo</groupId>
645 <artifactId>openpojo</artifactId>
646 <version>0.8.10</version>
649 <groupId>com.shazam</groupId>
650 <artifactId>shazamcrest</artifactId>
651 <version>0.11</version>
655 <groupId>com.google.guava</groupId>
656 <artifactId>guava</artifactId>
659 <groupId>org.apache.commons</groupId>
660 <artifactId>commons-lang3</artifactId>
665 <groupId>org.assertj</groupId>
666 <artifactId>assertj-core</artifactId>
667 <version>3.9.0</version>
671 <groupId>com.googlecode.junit-toolbox</groupId>
672 <artifactId>junit-toolbox</artifactId>
673 <version>2.4</version>
676 <dependencyManagement>
678 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
679 <!-- force use of version 4.5 everywhere in transient deps, aligned on
680 WildFly 10 version -->
682 <groupId>org.apache.httpcomponents</groupId>
683 <artifactId>httpcore</artifactId>
684 <version>4.4.4</version>
685 <scope>compile</scope>
688 <groupId>commons-codec</groupId>
689 <artifactId>commons-codec</artifactId>
690 <version>1.10</version>
691 <scope>compile</scope>
694 <groupId>commons-io</groupId>
695 <artifactId>commons-io</artifactId>
696 <version>2.5</version>
697 <scope>compile</scope>
700 <groupId>log4j</groupId>
701 <artifactId>log4j</artifactId>
702 <version>1.2.17</version>
703 <scope>compile</scope>
706 <groupId>org.slf4j</groupId>
707 <artifactId>slf4j-api</artifactId>
708 <version>1.7.15</version>
709 <scope>compile</scope>
712 <groupId>com.sun.xml.fastinfoset</groupId>
713 <artifactId>FastInfoset</artifactId>
714 <version>1.2.13</version>
715 <scope>compile</scope>
718 <groupId>org.springframework.boot</groupId>
719 <artifactId>spring-boot-dependencies</artifactId>
720 <version>${springboot.version}</version>
722 <scope>import</scope>
725 <groupId>org.yaml</groupId>
726 <artifactId>snakeyaml</artifactId>
727 <version>1.23</version>
730 <groupId>org.springframework.boot</groupId>
731 <artifactId>spring-boot-starter-test</artifactId>
732 <version>${springboot.version}</version>
735 <groupId>com.vaadin.external.google</groupId>
736 <artifactId>android-json</artifactId>
741 <groupId>net.javacrumbs.shedlock</groupId>
742 <artifactId>shedlock-spring</artifactId>
743 <version>0.18.2</version>
746 <groupId>net.javacrumbs.shedlock</groupId>
747 <artifactId>shedlock-provider-jdbc-template</artifactId>
748 <version>0.18.2</version>
751 <groupId>net.javacrumbs.shedlock</groupId>
752 <artifactId>shedlock-provider-jdbc-template</artifactId>
753 <version>0.18.2</version>
756 <groupId>org.flywaydb</groupId>
757 <artifactId>flyway-core</artifactId>
758 <version>4.2.0</version>
761 <groupId>org.apache.tomcat.embed</groupId>
762 <artifactId>tomcat-embed-core</artifactId>
763 <version>${tomcat.version}</version>
766 <groupId>org.apache.tomcat.embed</groupId>
767 <artifactId>tomcat-embed-el</artifactId>
768 <version>${tomcat.version}</version>
771 <groupId>org.apache.tomcat.embed</groupId>
772 <artifactId>tomcat-embed-websocket</artifactId>
773 <version>${tomcat.version}</version>
776 <groupId>org.apache.tomcat</groupId>
777 <artifactId>tomcat-annotations-api</artifactId>
778 <version>${tomcat.version}</version>
781 <groupId>org.json4s</groupId>
782 <artifactId>json4s-jackson_2.12</artifactId>
783 <version>3.6.0</version>
786 <groupId>org.json4s</groupId>
787 <artifactId>json4s-core_2.12</artifactId>
788 <version>3.6.0</version>
791 <groupId>org.apache.commons</groupId>
792 <artifactId>commons-email</artifactId>
793 <version>1.5</version>
796 <groupId>org.immutables</groupId>
797 <artifactId>value</artifactId>
798 <version>2.7.1</version>
801 <groupId>org.eclipse.jetty</groupId>
802 <artifactId>jetty-server</artifactId>
803 <version>9.4.12.v20180830</version>
806 <groupId>com.h2database</groupId>
807 <artifactId>h2</artifactId>
808 <version>${h2.version}</version>
811 </dependencyManagement>
814 <id>docker-image-build</id>
816 <docker.skip>false</docker.skip>
817 <docker.skip.build>false</docker.skip.build>
818 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
822 <id>docker-image-build-push</id>
824 <docker.skip>false</docker.skip>
825 <docker.skip.build>false</docker.skip.build>
826 <docker.skip.push>false</docker.skip.push>
827 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
834 <name>m2e.version</name>
838 <originalClassifier/>