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.2.0-SNAPSHOT</version> -->
14 <version>1.2.0-SNAPSHOT</version>
16 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
17 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
18 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
21 <name>OPENECOMP - MSO</name>
22 <url>http://www.onap.org/</url>
25 <module>common</module>
26 <module>cloudify-client</module>
27 <module>mso-api-handlers</module>
28 <module>mso-catalog-db</module>
29 <module>adapters</module>
30 <module>asdc-controller</module>
31 <module>status-control</module>
33 <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}/coverage-reports/jacoco.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 <org.apache.maven.user-settings></org.apache.maven.user-settings>
48 <!-- this is used for Chef mso-code cookbook -->
49 <swm.version>2.19.3-1</swm.version>
50 <!-- <openstack.version>1.2.0-SNAPSHOT</openstack.version> -->
51 <openstack.version>1.2.0</openstack.version>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
54 <resteasy.version>3.0.19.Final</resteasy.version>
56 <distributionManagement>
58 <id>ecomp-releases</id>
59 <name>Clamp Release Repository</name>
60 <url>https://nexus.onap.org/content/repositories/releases/</url>
63 <id>ecomp-snapshots</id>
64 <name>Clamp Snapshot Repository</name>
65 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
69 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
71 </distributionManagement>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-javadoc-plugin</artifactId>
77 <version>2.10.4</version>
79 <failOnError>false</failOnError>
80 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
82 <groupId>org.umlgraph</groupId>
83 <artifactId>umlgraph</artifactId>
84 <version>5.6</version>
86 <additionalparam>-views</additionalparam>
87 <useStandardDocletOptions>true</useStandardDocletOptions>
92 <!-- configure build -->
93 <!-- *********************************************************************************************************** -->
94 <!-- Plugins and repositories -->
98 <url>http://repo1.maven.org/maven2</url>
103 <name>Restlet Repository</name>
104 <url>http://maven.restlet.com</url>
106 </pluginRepositories>
110 <url>https://nexus.onap.org/content/groups/public/</url>
111 <name>Onap public</name>
115 <name>JBoss Repository</name>
116 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
119 <id>opendaylight-mirror</id>
120 <name>opendaylight-mirror</name>
121 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
123 <enabled>true</enabled>
124 <updatePolicy>never</updatePolicy>
127 <enabled>false</enabled>
131 <id>jboss-deprecated-repository</id>
132 <name>JBoss Deprecated Maven Repository</name>
133 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
136 <id>ecomp-releases</id>
137 <name>ONAP Release Repository</name>
138 <url>https://nexus.onap.org/content/repositories/releases/</url>
141 <id>ecomp-staging</id>
142 <name>ONAP Staging Repository</name>
143 <url>https://nexus.onap.org/content/repositories/staging/</url>
146 <id>ecomp-snapshots</id>
147 <name>ONAP Snapshot Repository</name>
148 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
150 <enabled>true</enabled>
153 <enabled>false</enabled>
156 <!-- Camunda Web Repository -->
158 <id>CamundaWebRepo</id>
159 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
160 <name>Camunda Web Repository</name>
163 <id>CamundaPublicRepo</id>
164 <url>https://app.camunda.com/nexus/content/groups/public</url>
165 <name>Camunda Public repository</name>
170 <url>http://www.soapui.org/repository/maven2/</url>
171 <name>SoapUI plugin</name>
174 <!-- *********************************************************************************************************** -->
179 <directory>src/main/resources</directory>
180 <filtering>true</filtering>
183 <directory>target/generated-sources/license</directory>
185 <include>third-party-licenses.txt</include>
189 <directory>target/generated-resources/licenses</directory>
191 <include>*.*</include>
193 <targetPath>third-party-licenses</targetPath>
198 <groupId>org.sonatype.plugins</groupId>
199 <artifactId>nexus-staging-maven-plugin</artifactId>
200 <version>1.6.7</version>
201 <extensions>true</extensions>
203 <nexusUrl>${nexusproxy}</nexusUrl>
204 <stagingProfileId>176c31dfe190a</stagingProfileId>
205 <serverId>ecomp-staging</serverId>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-deploy-plugin</artifactId>
211 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-surefire-plugin</artifactId>
219 <version>2.19.1</version>
221 <argLine>${surefireArgLine}</argLine>
222 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
224 <exclude>**/IT*.java</exclude>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-compiler-plugin</artifactId>
231 <version>3.6.1</version>
234 <compilerArgument>-Xlint</compilerArgument>
235 <verbose>true</verbose>
236 <showDeprecation>true</showDeprecation>
237 <showWarnings>true</showWarnings>
243 <!-- <groupId>org.codehaus.mojo</groupId> -->
244 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
245 <!-- <version>2.1</version> -->
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>
265 <includes>**/org/openecomp/**/*.java</includes>
266 <configLocation>/google_checks.xml</configLocation>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>findbugs-maven-plugin</artifactId>
272 <version>2.5.2</version>
274 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
275 <nested>true</nested>
276 <findbugsXmlOutput>true</findbugsXmlOutput>
277 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
278 <xmlOutput>true</xmlOutput>
282 <groupId>org.codehaus.mojo</groupId>
283 <artifactId>sonar-maven-plugin</artifactId>
284 <version>3.2</version>
287 <artifactId>maven-scm-plugin</artifactId>
288 <version>1.8.1</version>
290 <tag>${project.artifactId}-${project.version}</tag>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-javadoc-plugin</artifactId>
296 <version>2.9</version>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-site-plugin</artifactId>
301 <version>3.6</version>
304 <groupId>org.apache.maven.wagon</groupId>
305 <artifactId>wagon-webdav-jackrabbit</artifactId>
306 <version>2.10</version>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>cobertura-maven-plugin</artifactId>
313 <version>2.5.2</version>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>versions-maven-plugin</artifactId>
323 <version>1.3.1</version>
326 <groupId>org.codehaus.mojo</groupId>
327 <artifactId>jboss-packaging-maven-plugin</artifactId>
328 <version>2.2</version>
329 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
330 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
331 maven packaging type -->
332 <extensions>true</extensions>
335 <groupId>org.jacoco</groupId>
336 <artifactId>jacoco-maven-plugin</artifactId>
337 <version>0.7.7.201606060606</version>
339 <dumpOnExit>true</dumpOnExit>
341 <include>org.openecomp.*</include>
346 <id>pre-unit-test</id>
348 <goal>prepare-agent</goal>
351 <destFile>${sonar.jacoco.reportPath}</destFile>
352 <propertyName>surefireArgLine</propertyName>
358 <groupId>com.fortify.ps.maven.plugin</groupId>
359 <artifactId>sca-maven-plugin</artifactId>
360 <version>4.20</version>
362 <buildId>mso-${project.version}</buildId>
368 <!-- *********************************************************************************************************** -->
369 <!-- Dependencies -->
372 <groupId>com.fasterxml.jackson.core</groupId>
373 <artifactId>jackson-core</artifactId>
374 <version>2.8.7</version>
377 <groupId>com.fasterxml.jackson.module</groupId>
378 <artifactId>jackson-module-jaxb-annotations</artifactId>
379 <version>2.4.0</version>
382 <groupId>com.fasterxml.jackson.core</groupId>
383 <artifactId>jackson-databind</artifactId>
384 <version>2.8.7</version>
387 <groupId>com.fasterxml.jackson.core</groupId>
388 <artifactId>jackson-annotations</artifactId>
389 <version>2.8.7</version>
392 <groupId>com.fasterxml.jackson.jaxrs</groupId>
393 <artifactId>jackson-jaxrs-base</artifactId>
394 <version>2.9.2</version>
397 <groupId>com.fasterxml.jackson.jaxrs</groupId>
398 <artifactId>jackson-jaxrs-providers</artifactId>
399 <version>2.9.2</version>
403 <groupId>org.jboss.resteasy</groupId>
404 <artifactId>resteasy-jaxrs</artifactId>
405 <version>${resteasy.version}</version>
406 <scope>provided</scope>
409 <groupId>org.slf4j</groupId>
410 <artifactId>slf4j-api</artifactId>
413 <groupId>org.slf4j</groupId>
414 <artifactId>slf4j-simple</artifactId>
417 <groupId>org.apache.httpcomponents</groupId>
418 <artifactId>httpclient</artifactId>
423 <groupId>org.jboss.resteasy</groupId>
424 <artifactId>resteasy-client</artifactId>
425 <version>${resteasy.version}</version>
426 <scope>provided</scope>
429 <groupId>org.apache.httpcomponents</groupId>
430 <artifactId>httpclient</artifactId>
435 <groupId>org.jboss.resteasy</groupId>
436 <artifactId>resteasy-jackson2-provider</artifactId>
437 <version>${resteasy.version}</version>
440 <groupId>junit</groupId>
441 <artifactId>junit</artifactId>
442 <version>4.12</version>
447 <groupId>org.mockito</groupId>
448 <artifactId>mockito-all</artifactId>
449 <version>1.10.19</version>
453 <groupId>org.jmockit</groupId>
454 <artifactId>jmockit</artifactId>
455 <version>1.19</version>
459 <groupId>org.jmockit</groupId>
460 <artifactId>jmockit-coverage</artifactId>
461 <version>1.19</version>
465 <groupId>org.powermock</groupId>
466 <artifactId>powermock-api-mockito</artifactId>
467 <version>1.6.2</version>
471 <groupId>org.powermock</groupId>
472 <artifactId>powermock-module-junit4</artifactId>
473 <version>1.6.2</version>
477 <groupId>org.hamcrest</groupId>
478 <artifactId>hamcrest-all</artifactId>
479 <version>1.3</version>
483 <groupId>com.github.tomakehurst</groupId>
484 <artifactId>wiremock</artifactId>
485 <version>1.56</version>
487 <classifier>standalone</classifier>
490 <groupId>org.mortbay.jetty</groupId>
491 <artifactId>jetty</artifactId>
494 <groupId>com.google.guava</groupId>
495 <artifactId>guava</artifactId>
498 <groupId>com.fasterxml.jackson.core</groupId>
499 <artifactId>jackson-core</artifactId>
502 <groupId>com.fasterxml.jackson.core</groupId>
503 <artifactId>jackson-annotations</artifactId>
506 <groupId>com.fasterxml.jackson.core</groupId>
507 <artifactId>jackson-databind</artifactId>
510 <groupId>org.apache.httpcomponents</groupId>
511 <artifactId>httpclient</artifactId>
514 <groupId>org.skyscreamer</groupId>
515 <artifactId>jsonassert</artifactId>
518 <groupId>xmlunit</groupId>
519 <artifactId>xmlunit</artifactId>
522 <groupId>com.jayway.jsonpath</groupId>
523 <artifactId>json-path</artifactId>
526 <groupId>net.sf.jopt-simple</groupId>
527 <artifactId>jopt-simple</artifactId>
532 <groupId>org.jboss.resteasy</groupId>
533 <artifactId>tjws</artifactId>
534 <version>${resteasy.version}</version>
538 <dependencyManagement>
540 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
541 <!-- force use of version 4.5 everywhere in transient deps, aligned
542 on WildFly 10 version -->
544 <groupId>org.apache.httpcomponents</groupId>
545 <artifactId>httpclient</artifactId>
546 <version>4.5.5</version>
547 <scope>compile</scope>
550 <groupId>org.apache.httpcomponents</groupId>
551 <artifactId>httpcore</artifactId>
552 <version>4.4.4</version>
553 <scope>compile</scope>
556 <groupId>commons-codec</groupId>
557 <artifactId>commons-codec</artifactId>
558 <version>1.10</version>
559 <scope>compile</scope>
562 <groupId>commons-io</groupId>
563 <artifactId>commons-io</artifactId>
564 <version>2.5</version>
565 <scope>compile</scope>
568 <groupId>org.hamcrest</groupId>
569 <artifactId>hamcrest-core</artifactId>
570 <version>1.3</version>
574 <groupId>log4j</groupId>
575 <artifactId>log4j</artifactId>
576 <version>1.2.17</version>
577 <scope>compile</scope>
580 <groupId>org.slf4j</groupId>
581 <artifactId>slf4j-api</artifactId>
582 <version>1.7.10</version>
583 <scope>compile</scope>
586 <groupId>com.sun.xml.fastinfoset</groupId>
587 <artifactId>FastInfoset</artifactId>
588 <version>1.2.13</version>
589 <scope>compile</scope>
592 </dependencyManagement>