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>
5 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
7 <version>1.1.0</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>packages</module>
35 <project.mso.base.folder>.</project.mso.base.folder>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
38 <sonar.language>java</sonar.language>
39 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
40 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
41 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
42 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
43 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
44 <sonar.projectVersion>${project.version}</sonar.projectVersion>
45 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
46 <jacoco.version>0.7.5.201505241946</jacoco.version>
47 <org.apache.maven.user-settings></org.apache.maven.user-settings>
48 <openstack.version>1.2.2</openstack.version>
49 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
50 <springboot.version>1.5.13.RELEASE</springboot.version>
51 <originalClassifier>original</originalClassifier>
52 <docker.skip>true</docker.skip>
53 <docker.skip.build>true</docker.skip.build>
54 <docker.skip.push>true</docker.skip.push>
55 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
56 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
57 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
58 <enforcer.skip>true</enforcer.skip>
59 <nexusproxy>https://nexus.onap.org</nexusproxy>
60 <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
61 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
62 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
63 <publicNexusPath>content/repositories/public/</publicNexusPath>
64 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
65 <cxf.version>3.2.5</cxf.version>
67 <distributionManagement>
69 <id>ecomp-releases</id>
70 <url>${nexusproxy}/${releaseNexusPath}</url>
73 <id>ecomp-snapshots</id>
74 <url>${nexusproxy}/${snapshotNexusPath}</url>
78 <url>dav:${nexusproxy}${siteNexusPath}</url>
80 </distributionManagement>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-javadoc-plugin</artifactId>
86 <version>2.10.4</version>
88 <failOnError>false</failOnError>
89 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
91 <groupId>org.umlgraph</groupId>
92 <artifactId>umlgraph</artifactId>
93 <version>5.6</version>
95 <additionalparam>-views</additionalparam>
96 <useStandardDocletOptions>true</useStandardDocletOptions>
101 <!-- configure build -->
102 <!-- *********************************************************************************************************** -->
103 <!-- Plugins and repositories -->
107 <url>http://repo1.maven.org/maven2</url>
111 <url>http://maven.restlet.com</url>
114 <id>ecomp-staging</id>
115 <url>${nexusproxy}/${stagingNexusPath}</url>
117 <enabled>false</enabled>
121 <id>ecomp-public</id>
122 <url>${nexusproxy}/${publicNexusPath}</url>
124 <enabled>false</enabled>
128 <id>ecomp-release</id>
129 <url>${nexusproxy}/${releaseNexusPath}</url>
131 <enabled>false</enabled>
135 <id>ecomp-snapshots</id>
136 <url>${nexusproxy}/${snapshotNexusPath}</url>
138 <enabled>false</enabled>
141 </pluginRepositories>
144 <id>ecomp-staging</id>
145 <url>https://nexus.onap.org/content/repositories/staging/</url>
147 <enabled>false</enabled>
151 <id>ecomp-public</id>
152 <url>https://nexus.onap.org/content/repositories/public/</url>
154 <enabled>false</enabled>
158 <id>ecomp-releases</id>
159 <url>https://nexus.onap.org/content/repositories/releases/</url>
161 <enabled>false</enabled>
165 <id>ecomp-snapshots</id>
166 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
168 <enabled>false</enabled>
173 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
176 <id>camunda-public</id>
177 <url>https://app.camunda.com/nexus/content/groups/public</url>
180 <!-- TODO: remove from ONAP environemnt -->
181 <id>onap-releases</id>
182 <url>https://nexus.onap.org/content/repositories/releases/</url>
184 <enabled>false</enabled>
188 <!-- TODO: remove from ONAP environemnt -->
189 <id>onap-snapshots</id>
190 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
192 <enabled>false</enabled>
196 <!-- *********************************************************************************************************** -->
201 <directory>src/main/resources</directory>
202 <filtering>true</filtering>
205 <directory>target/generated-sources/license</directory>
207 <include>third-party-licenses.txt</include>
211 <directory>target/generated-resources/licenses</directory>
213 <include>*.*</include>
215 <targetPath>third-party-licenses</targetPath>
220 <groupId>org.sonatype.plugins</groupId>
221 <artifactId>nexus-staging-maven-plugin</artifactId>
222 <version>1.6.7</version>
223 <extensions>true</extensions>
225 <nexusUrl>${nexusproxy}</nexusUrl>
226 <stagingProfileId>176c31dfe190a</stagingProfileId>
227 <serverId>ecomp-staging</serverId>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-deploy-plugin</artifactId>
233 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-compiler-plugin</artifactId>
242 <version>3.6.1</version>
245 <compilerArgument>-Xlint</compilerArgument>
246 <verbose>true</verbose>
247 <showDeprecation>true</showDeprecation>
248 <showWarnings>true</showWarnings>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-ejb-plugin</artifactId>
256 <version>2.2.1</version>
258 <ejbVersion>3.0</ejbVersion>
261 <addClasspath>true</addClasspath>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-checkstyle-plugin</artifactId>
269 <version>2.17</version>
272 <includes>**/org/openecomp/**/*.java</includes>
273 <configLocation>/google_checks.xml</configLocation>
277 <groupId>org.codehaus.mojo</groupId>
278 <artifactId>findbugs-maven-plugin</artifactId>
279 <version>2.5.2</version>
281 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
282 <nested>true</nested>
283 <findbugsXmlOutput>true</findbugsXmlOutput>
284 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
285 <xmlOutput>true</xmlOutput>
289 <groupId>org.codehaus.mojo</groupId>
290 <artifactId>sonar-maven-plugin</artifactId>
291 <version>5.1</version>
294 <artifactId>maven-scm-plugin</artifactId>
295 <version>1.8.1</version>
297 <tag>${project.artifactId}-${project.version}</tag>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-javadoc-plugin</artifactId>
303 <version>2.9</version>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-site-plugin</artifactId>
308 <version>3.6</version>
311 <groupId>org.apache.maven.wagon</groupId>
312 <artifactId>wagon-webdav-jackrabbit</artifactId>
313 <version>2.10</version>
318 <groupId>org.codehaus.mojo</groupId>
319 <artifactId>cobertura-maven-plugin</artifactId>
320 <version>2.5.2</version>
328 <groupId>org.codehaus.mojo</groupId>
329 <artifactId>versions-maven-plugin</artifactId>
330 <version>1.3.1</version>
334 <groupId>com.fortify.ps.maven.plugin</groupId>
335 <artifactId>sca-maven-plugin</artifactId>
336 <version>4.20</version>
338 <buildId>mso-${project.version}</buildId>
343 <groupId>org.jacoco</groupId>
344 <artifactId>jacoco-maven-plugin</artifactId>
345 <version>${jacoco.version}</version>
348 <id>default-prepare-agent</id>
350 <goal>prepare-agent</goal>
354 <id>default-report</id>
362 <groupId>org.codehaus.mojo</groupId>
363 <artifactId>license-maven-plugin</artifactId>
364 <version>1.15</version>
366 <inceptionYear>2017</inceptionYear>
367 <projectName>ONAP - SO</projectName>
368 <licenseName>apache_v2</licenseName>
369 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
370 <emptyLineAfterHeader>true</emptyLineAfterHeader>
371 <trimHeaderLine>true</trimHeaderLine>
372 <processStartTag>============LICENSE_START=======================================================</processStartTag>
373 <sectionDelimiter>================================================================================</sectionDelimiter>
374 <processEndTag>============LICENSE_END=========================================================</processEndTag>
376 <include>**/*.java</include>
377 <include>**/*.groovy</include>
380 <exclude>**/com/att/**</exclude>
385 <id>verify-headers</id>
387 <goal>check-file-header</goal>
390 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
391 <failOnMissingHeader>true</failOnMissingHeader>
400 <groupId>io.fabric8</groupId>
401 <artifactId>fabric8-maven-plugin</artifactId>
402 <version>3.5.33</version>
404 <skip>${docker.skip}</skip>
405 <skipBuild>${docker.skip.build}</skipBuild>
406 <skipPush>${docker.skip.push}</skipPush>
407 <dockerHost>${docker.newHost}</dockerHost> <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY
408 environment variable -->
409 <certPath>${docker.host.cert.path}</certPath><!-- Add -Ddocker.host.cert.pat="path
410 to your local certs directory" to maven build command -->
411 <pushRegistry>${dockerPushRepo}</pushRegistry> <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username,
413 <pullRegistry>${dockerPullRepo}</pullRegistry> <!-- If docker repo is not public. Update .m2/settings.xml Add server id
414 settings.dockerRepository, username, and password -->
417 <alias>service</alias>
418 <name>${artifactId}:${project.version}</name>
420 <dockerFileDir>${project.build.directory}</dockerFileDir>
436 <groupId>org.apache.maven.plugins</groupId>
437 <artifactId>maven-surefire-plugin</artifactId>
438 <version>2.20</version>
440 <systemPropertyVariables>
441 <so.log.level>${so.log.level}</so.log.level>
442 </systemPropertyVariables>
443 <rerunFailingTestsCount>2</rerunFailingTestsCount>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-failsafe-plugin</artifactId>
449 <version>2.20</version>
452 <systemPropertyVariables>
453 <so.log.level>${so.log.level}</so.log.level>
454 </systemPropertyVariables>
455 <rerunFailingTestsCount>2</rerunFailingTestsCount>
459 <groupId>org.apache.maven.plugins</groupId>
460 <artifactId>maven-dependency-plugin</artifactId>
463 <id>extract-docker-file</id>
470 <groupId>org.onap.so</groupId>
471 <artifactId>deployment-configs</artifactId>
472 <version>${project.version}</version>
473 <outputDirectory>${project.build.directory}</outputDirectory>
474 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
475 <excludes>Kubernetes</excludes>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-jar-plugin</artifactId>
485 <version>3.0.2</version>
490 <goal>test-jar</goal>
498 <phase>package</phase>
503 <classifier>${originalClassifier}</classifier>
505 <include>**</include>
514 <!-- *********************************************************************************************************** -->
515 <!-- Dependencies -->
518 <groupId>com.fasterxml.jackson.core</groupId>
519 <artifactId>jackson-core</artifactId>
520 <version>2.8.7</version>
523 <groupId>com.fasterxml.jackson.module</groupId>
524 <artifactId>jackson-module-jaxb-annotations</artifactId>
525 <version>2.4.0</version>
528 <groupId>com.fasterxml.jackson.core</groupId>
529 <artifactId>jackson-databind</artifactId>
530 <version>2.8.7</version>
533 <groupId>com.fasterxml.jackson.core</groupId>
534 <artifactId>jackson-annotations</artifactId>
535 <version>2.8.7</version>
538 <groupId>com.fasterxml.jackson.jaxrs</groupId>
539 <artifactId>jackson-jaxrs-base</artifactId>
540 <version>2.9.2</version>
543 <groupId>com.fasterxml.jackson.jaxrs</groupId>
544 <artifactId>jackson-jaxrs-json-provider</artifactId>
545 <version>2.9.2</version>
548 <groupId>javax.ws.rs</groupId>
549 <artifactId>javax.ws.rs-api</artifactId>
550 <version>2.0</version>
553 <groupId>javax.annotation</groupId>
554 <artifactId>javax.annotation-api</artifactId>
555 <version>1.3.1</version>
558 <groupId>javax.inject</groupId>
559 <artifactId>javax.inject</artifactId>
563 <groupId>org.hamcrest</groupId>
564 <artifactId>hamcrest-core</artifactId>
565 <version>1.3</version>
568 <groupId>org.hamcrest</groupId>
569 <artifactId>hamcrest-all</artifactId>
570 <version>1.3</version>
573 <groupId>org.mockito</groupId>
574 <artifactId>mockito-all</artifactId>
575 <version>1.10.19</version>
579 <groupId>org.powermock</groupId>
580 <artifactId>powermock-api-mockito</artifactId>
581 <version>1.6.2</version>
585 <groupId>org.powermock</groupId>
586 <artifactId>powermock-module-junit4</artifactId>
587 <version>1.6.2</version>
591 <groupId>junit</groupId>
592 <artifactId>junit</artifactId>
593 <version>4.12</version>
597 <groupId>xmlunit</groupId>
598 <artifactId>xmlunit</artifactId>
599 <version>1.6</version>
603 <groupId>com.github.tomakehurst</groupId>
604 <artifactId>wiremock-standalone</artifactId>
605 <version>2.13.0</version>
609 <groupId>org.mortbay.jetty</groupId>
610 <artifactId>jetty</artifactId>
613 <groupId>com.google.guava</groupId>
614 <artifactId>guava</artifactId>
617 <groupId>com.fasterxml.jackson.core</groupId>
618 <artifactId>jackson-core</artifactId>
621 <groupId>com.fasterxml.jackson.core</groupId>
622 <artifactId>jackson-annotations</artifactId>
625 <groupId>com.fasterxml.jackson.core</groupId>
626 <artifactId>jackson-databind</artifactId>
629 <groupId>org.apache.httpcomponents</groupId>
630 <artifactId>httpclient</artifactId>
633 <groupId>org.skyscreamer</groupId>
634 <artifactId>jsonassert</artifactId>
637 <groupId>xmlunit</groupId>
638 <artifactId>xmlunit</artifactId>
641 <groupId>com.jayway.jsonpath</groupId>
642 <artifactId>json-path</artifactId>
645 <groupId>net.sf.jopt-simple</groupId>
646 <artifactId>jopt-simple</artifactId>
651 <groupId>com.openpojo</groupId>
652 <artifactId>openpojo</artifactId>
653 <version>0.8.10</version>
656 <groupId>com.shazam</groupId>
657 <artifactId>shazamcrest</artifactId>
658 <version>0.11</version>
662 <groupId>com.google.guava</groupId>
663 <artifactId>guava</artifactId>
666 <groupId>org.apache.commons</groupId>
667 <artifactId>commons-lang3</artifactId>
672 <groupId>org.assertj</groupId>
673 <artifactId>assertj-core</artifactId>
674 <version>3.9.0</version>
678 <groupId>com.googlecode.junit-toolbox</groupId>
679 <artifactId>junit-toolbox</artifactId>
680 <version>2.4</version>
683 <dependencyManagement>
685 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
686 <!-- force use of version 4.5 everywhere in transient deps, aligned on
687 WildFly 10 version -->
689 <groupId>org.apache.httpcomponents</groupId>
690 <artifactId>httpclient</artifactId>
691 <version>4.5.5</version>
692 <scope>compile</scope>
695 <groupId>org.apache.httpcomponents</groupId>
696 <artifactId>httpcore</artifactId>
697 <version>4.4.4</version>
698 <scope>compile</scope>
701 <groupId>commons-codec</groupId>
702 <artifactId>commons-codec</artifactId>
703 <version>1.10</version>
704 <scope>compile</scope>
707 <groupId>commons-io</groupId>
708 <artifactId>commons-io</artifactId>
709 <version>2.5</version>
710 <scope>compile</scope>
713 <groupId>log4j</groupId>
714 <artifactId>log4j</artifactId>
715 <version>1.2.17</version>
716 <scope>compile</scope>
719 <groupId>org.slf4j</groupId>
720 <artifactId>slf4j-api</artifactId>
721 <version>1.7.15</version>
722 <scope>compile</scope>
725 <groupId>com.sun.xml.fastinfoset</groupId>
726 <artifactId>FastInfoset</artifactId>
727 <version>1.2.13</version>
728 <scope>compile</scope>
731 <groupId>org.springframework.boot</groupId>
732 <artifactId>spring-boot-dependencies</artifactId>
733 <version>${springboot.version}</version>
735 <scope>import</scope>
738 <groupId>org.yaml</groupId>
739 <artifactId>snakeyaml</artifactId>
740 <version>1.15</version>
743 <groupId>org.springframework.boot</groupId>
744 <artifactId>spring-boot-starter-test</artifactId>
745 <version>${springboot.version}</version>
748 <groupId>com.vaadin.external.google</groupId>
749 <artifactId>android-json</artifactId>
754 <groupId>net.javacrumbs.shedlock</groupId>
755 <artifactId>shedlock-spring</artifactId>
756 <version>0.18.2</version>
759 <groupId>net.javacrumbs.shedlock</groupId>
760 <artifactId>shedlock-provider-jdbc-template</artifactId>
761 <version>0.18.2</version>
764 <groupId>net.javacrumbs.shedlock</groupId>
765 <artifactId>shedlock-provider-jdbc-template</artifactId>
766 <version>0.18.2</version>
769 <groupId>org.flywaydb</groupId>
770 <artifactId>flyway-core</artifactId>
771 <version>4.2.0</version>
774 </dependencyManagement>
777 <id>docker-image-build</id>
779 <docker.skip>false</docker.skip>
780 <docker.skip.build>false</docker.skip.build>
781 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
785 <id>docker-image-build-push</id>
787 <docker.skip>false</docker.skip>
788 <docker.skip.build>false</docker.skip.build>
789 <docker.skip.push>false</docker.skip.push>
790 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
797 <name>m2e.version</name>
801 <originalClassifier></originalClassifier>