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>
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>OPENECOMP - MSO</name>
21 <url>http://www.onap.org/</url>
24 <module>common</module>
25 <module>cloudify-client</module>
26 <module>mso-api-handlers</module>
27 <module>mso-catalog-db</module>
28 <module>adapters</module>
29 <module>asdc-controller</module>
30 <module>status-control</module>
32 <module>packages</module>
36 <project.mso.base.folder>.</project.mso.base.folder>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39 <sonar.language>java</sonar.language>
40 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
41 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
42 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
43 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
44 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
45 <sonar.projectVersion>${project.version}</sonar.projectVersion>
46 <org.apache.maven.user-settings></org.apache.maven.user-settings>
47 <!-- this is used for Chef mso-code cookbook -->
48 <swm.version>2.19.3-1</swm.version>
49 <openstack.version>1.2.1</openstack.version>
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
51 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
52 <resteasy.version>3.0.19.Final</resteasy.version>
54 <distributionManagement>
56 <id>ecomp-releases</id>
57 <name>Clamp Release Repository</name>
58 <url>https://nexus.onap.org/content/repositories/releases/</url>
61 <id>ecomp-snapshots</id>
62 <name>Clamp Snapshot Repository</name>
63 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
67 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
69 </distributionManagement>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-javadoc-plugin</artifactId>
75 <version>2.10.4</version>
77 <failOnError>false</failOnError>
78 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
80 <groupId>org.umlgraph</groupId>
81 <artifactId>umlgraph</artifactId>
82 <version>5.6</version>
84 <additionalparam>-views</additionalparam>
85 <useStandardDocletOptions>true</useStandardDocletOptions>
90 <!-- configure build -->
91 <!-- *********************************************************************************************************** -->
92 <!-- Plugins and repositories -->
96 <url>http://repo1.maven.org/maven2</url>
101 <name>Restlet Repository</name>
102 <url>http://maven.restlet.com</url>
104 </pluginRepositories>
108 <url>https://nexus.onap.org/content/groups/public/</url>
109 <name>Onap public</name>
113 <name>JBoss Repository</name>
114 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
117 <id>opendaylight-mirror</id>
118 <name>opendaylight-mirror</name>
119 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
121 <enabled>true</enabled>
122 <updatePolicy>never</updatePolicy>
125 <enabled>false</enabled>
129 <id>jboss-deprecated-repository</id>
130 <name>JBoss Deprecated Maven Repository</name>
131 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
134 <id>ecomp-releases</id>
135 <name>ONAP Release Repository</name>
136 <url>https://nexus.onap.org/content/repositories/releases/</url>
139 <id>ecomp-staging</id>
140 <name>ONAP Staging Repository</name>
141 <url>https://nexus.onap.org/content/repositories/staging/</url>
144 <id>ecomp-snapshots</id>
145 <name>ONAP Snapshot Repository</name>
146 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
148 <enabled>true</enabled>
151 <enabled>false</enabled>
154 <!-- Camunda Web Repository -->
156 <id>CamundaWebRepo</id>
157 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
158 <name>Camunda Web Repository</name>
161 <id>CamundaPublicRepo</id>
162 <url>https://app.camunda.com/nexus/content/groups/public</url>
163 <name>Camunda Public repository</name>
168 <url>http://www.soapui.org/repository/maven2/</url>
169 <name>SoapUI plugin</name>
172 <!-- *********************************************************************************************************** -->
177 <directory>src/main/resources</directory>
178 <filtering>true</filtering>
181 <directory>target/generated-sources/license</directory>
183 <include>third-party-licenses.txt</include>
187 <directory>target/generated-resources/licenses</directory>
189 <include>*.*</include>
191 <targetPath>third-party-licenses</targetPath>
196 <groupId>org.sonatype.plugins</groupId>
197 <artifactId>nexus-staging-maven-plugin</artifactId>
198 <version>1.6.7</version>
199 <extensions>true</extensions>
201 <nexusUrl>${nexusproxy}</nexusUrl>
202 <stagingProfileId>176c31dfe190a</stagingProfileId>
203 <serverId>ecomp-staging</serverId>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-deploy-plugin</artifactId>
209 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-surefire-plugin</artifactId>
217 <version>2.19.1</version>
219 <argLine>${surefireArgLine}</argLine>
220 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
222 <exclude>**/IT*.java</exclude>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-compiler-plugin</artifactId>
229 <version>3.6.1</version>
232 <compilerArgument>-Xlint</compilerArgument>
233 <verbose>true</verbose>
234 <showDeprecation>true</showDeprecation>
235 <showWarnings>true</showWarnings>
241 <!-- <groupId>org.codehaus.mojo</groupId> -->
242 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
243 <!-- <version>2.1</version> -->
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-ejb-plugin</artifactId>
248 <version>2.2.1</version>
250 <ejbVersion>3.0</ejbVersion>
253 <addClasspath>true</addClasspath>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-checkstyle-plugin</artifactId>
261 <version>2.17</version>
263 <includes>**/org/openecomp/**/*.java</includes>
264 <configLocation>/google_checks.xml</configLocation>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>findbugs-maven-plugin</artifactId>
270 <version>2.5.2</version>
272 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
273 <nested>true</nested>
274 <findbugsXmlOutput>true</findbugsXmlOutput>
275 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
276 <xmlOutput>true</xmlOutput>
280 <groupId>org.codehaus.mojo</groupId>
281 <artifactId>sonar-maven-plugin</artifactId>
282 <version>3.2</version>
285 <artifactId>maven-scm-plugin</artifactId>
286 <version>1.8.1</version>
288 <tag>${project.artifactId}-${project.version}</tag>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-javadoc-plugin</artifactId>
294 <version>2.9</version>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-site-plugin</artifactId>
299 <version>3.6</version>
302 <groupId>org.apache.maven.wagon</groupId>
303 <artifactId>wagon-webdav-jackrabbit</artifactId>
304 <version>2.10</version>
309 <groupId>org.codehaus.mojo</groupId>
310 <artifactId>cobertura-maven-plugin</artifactId>
311 <version>2.5.2</version>
319 <groupId>org.codehaus.mojo</groupId>
320 <artifactId>versions-maven-plugin</artifactId>
321 <version>1.3.1</version>
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>jboss-packaging-maven-plugin</artifactId>
326 <version>2.2</version>
327 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
328 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
329 maven packaging type -->
330 <extensions>true</extensions>
333 <groupId>org.jacoco</groupId>
334 <artifactId>jacoco-maven-plugin</artifactId>
335 <version>0.7.7.201606060606</version>
337 <dumpOnExit>true</dumpOnExit>
339 <include>org.openecomp.*</include>
344 <id>pre-unit-test</id>
346 <goal>prepare-agent</goal>
349 <destFile>${sonar.jacoco.reportPath}</destFile>
350 <propertyName>surefireArgLine</propertyName>
356 <groupId>com.fortify.ps.maven.plugin</groupId>
357 <artifactId>sca-maven-plugin</artifactId>
358 <version>4.20</version>
360 <buildId>mso-${project.version}</buildId>
366 <!-- *********************************************************************************************************** -->
367 <!-- Dependencies -->
370 <groupId>com.fasterxml.jackson.core</groupId>
371 <artifactId>jackson-core</artifactId>
372 <version>2.8.7</version>
375 <groupId>com.fasterxml.jackson.module</groupId>
376 <artifactId>jackson-module-jaxb-annotations</artifactId>
377 <version>2.4.0</version>
380 <groupId>com.fasterxml.jackson.core</groupId>
381 <artifactId>jackson-databind</artifactId>
382 <version>2.8.7</version>
385 <groupId>com.fasterxml.jackson.core</groupId>
386 <artifactId>jackson-annotations</artifactId>
387 <version>2.8.7</version>
390 <groupId>com.fasterxml.jackson.jaxrs</groupId>
391 <artifactId>jackson-jaxrs-base</artifactId>
392 <version>2.9.2</version>
395 <groupId>com.fasterxml.jackson.jaxrs</groupId>
396 <artifactId>jackson-jaxrs-providers</artifactId>
397 <version>2.9.2</version>
401 <groupId>org.jboss.resteasy</groupId>
402 <artifactId>resteasy-jaxrs</artifactId>
403 <version>${resteasy.version}</version>
404 <scope>provided</scope>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-api</artifactId>
411 <groupId>org.slf4j</groupId>
412 <artifactId>slf4j-simple</artifactId>
415 <groupId>org.apache.httpcomponents</groupId>
416 <artifactId>httpclient</artifactId>
421 <groupId>org.jboss.resteasy</groupId>
422 <artifactId>resteasy-client</artifactId>
423 <version>${resteasy.version}</version>
424 <scope>provided</scope>
427 <groupId>org.apache.httpcomponents</groupId>
428 <artifactId>httpclient</artifactId>
433 <groupId>org.jboss.resteasy</groupId>
434 <artifactId>resteasy-jackson2-provider</artifactId>
435 <version>3.1.0.Final</version>
438 <groupId>org.hamcrest</groupId>
439 <artifactId>hamcrest-core</artifactId>
440 <version>1.3</version>
443 <groupId>org.hamcrest</groupId>
444 <artifactId>hamcrest-all</artifactId>
445 <version>1.3</version>
448 <groupId>junit</groupId>
449 <artifactId>junit</artifactId>
450 <version>4.12</version>
454 <groupId>org.jmockit</groupId>
455 <artifactId>jmockit</artifactId>
456 <version>1.19</version>
460 <groupId>org.jmockit</groupId>
461 <artifactId>jmockit-coverage</artifactId>
462 <version>1.19</version>
466 <groupId>org.powermock</groupId>
467 <artifactId>powermock-api-mockito</artifactId>
468 <version>1.6.2</version>
472 <groupId>org.powermock</groupId>
473 <artifactId>powermock-module-junit4</artifactId>
474 <version>1.6.2</version>
478 <groupId>com.github.tomakehurst</groupId>
479 <artifactId>wiremock</artifactId>
480 <version>1.56</version>
482 <classifier>standalone</classifier>
485 <groupId>org.mortbay.jetty</groupId>
486 <artifactId>jetty</artifactId>
489 <groupId>com.google.guava</groupId>
490 <artifactId>guava</artifactId>
493 <groupId>com.fasterxml.jackson.core</groupId>
494 <artifactId>jackson-core</artifactId>
497 <groupId>com.fasterxml.jackson.core</groupId>
498 <artifactId>jackson-annotations</artifactId>
501 <groupId>com.fasterxml.jackson.core</groupId>
502 <artifactId>jackson-databind</artifactId>
505 <groupId>org.apache.httpcomponents</groupId>
506 <artifactId>httpclient</artifactId>
509 <groupId>org.skyscreamer</groupId>
510 <artifactId>jsonassert</artifactId>
513 <groupId>xmlunit</groupId>
514 <artifactId>xmlunit</artifactId>
517 <groupId>com.jayway.jsonpath</groupId>
518 <artifactId>json-path</artifactId>
521 <groupId>net.sf.jopt-simple</groupId>
522 <artifactId>jopt-simple</artifactId>
527 <groupId>org.jboss.resteasy</groupId>
528 <artifactId>tjws</artifactId>
529 <version>${resteasy.version}</version>
533 <dependencyManagement>
535 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
536 <!-- force use of version 4.5 everywhere in transient deps, aligned
537 on WildFly 10 version -->
539 <groupId>org.apache.httpcomponents</groupId>
540 <artifactId>httpclient</artifactId>
541 <version>4.5.5</version>
542 <scope>compile</scope>
545 <groupId>org.apache.httpcomponents</groupId>
546 <artifactId>httpcore</artifactId>
547 <version>4.4.4</version>
548 <scope>compile</scope>
551 <groupId>commons-codec</groupId>
552 <artifactId>commons-codec</artifactId>
553 <version>1.10</version>
554 <scope>compile</scope>
557 <groupId>commons-io</groupId>
558 <artifactId>commons-io</artifactId>
559 <version>2.5</version>
560 <scope>compile</scope>
563 <groupId>log4j</groupId>
564 <artifactId>log4j</artifactId>
565 <version>1.2.17</version>
566 <scope>compile</scope>
569 <groupId>org.slf4j</groupId>
570 <artifactId>slf4j-api</artifactId>
571 <version>1.7.10</version>
572 <scope>compile</scope>
575 <groupId>com.sun.xml.fastinfoset</groupId>
576 <artifactId>FastInfoset</artifactId>
577 <version>1.2.13</version>
578 <scope>compile</scope>
581 <groupId>org.mockito</groupId>
582 <artifactId>mockito-core</artifactId>
583 <version>1.10.19</version>
587 </dependencyManagement>