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>
33 <!-- module>aria</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'HHmmss'Z'</maven.build.timestamp.format>
52 <resteasy.version>3.0.19.Final</resteasy.version>
53 <enforcer.skip>true</enforcer.skip>
55 <distributionManagement>
57 <id>ecomp-releases</id>
58 <name>Clamp Release Repository</name>
59 <url>https://nexus.onap.org/content/repositories/releases/</url>
62 <id>ecomp-snapshots</id>
63 <name>Clamp Snapshot Repository</name>
64 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
68 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
70 </distributionManagement>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-javadoc-plugin</artifactId>
76 <version>2.10.4</version>
78 <failOnError>false</failOnError>
79 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
81 <groupId>org.umlgraph</groupId>
82 <artifactId>umlgraph</artifactId>
83 <version>5.6</version>
85 <additionalparam>-views</additionalparam>
86 <useStandardDocletOptions>true</useStandardDocletOptions>
91 <!-- configure build -->
92 <!-- *********************************************************************************************************** -->
93 <!-- Plugins and repositories -->
97 <url>http://repo1.maven.org/maven2</url>
102 <name>Restlet Repository</name>
103 <url>http://maven.restlet.com</url>
105 </pluginRepositories>
109 <url>https://nexus.onap.org/content/groups/public/</url>
110 <name>Onap public</name>
114 <name>JBoss Repository</name>
115 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
118 <id>opendaylight-mirror</id>
119 <name>opendaylight-mirror</name>
120 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
122 <enabled>true</enabled>
123 <updatePolicy>never</updatePolicy>
126 <enabled>false</enabled>
130 <id>jboss-deprecated-repository</id>
131 <name>JBoss Deprecated Maven Repository</name>
132 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
135 <id>ecomp-releases</id>
136 <name>ONAP Release Repository</name>
137 <url>https://nexus.onap.org/content/repositories/releases/</url>
140 <id>ecomp-staging</id>
141 <name>ONAP Staging Repository</name>
142 <url>https://nexus.onap.org/content/repositories/staging/</url>
145 <id>ecomp-snapshots</id>
146 <name>ONAP Snapshot Repository</name>
147 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
149 <enabled>true</enabled>
152 <enabled>false</enabled>
155 <!-- Camunda Web Repository -->
157 <id>CamundaWebRepo</id>
158 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
159 <name>Camunda Web Repository</name>
162 <id>CamundaPublicRepo</id>
163 <url>https://app.camunda.com/nexus/content/groups/public</url>
164 <name>Camunda Public repository</name>
169 <url>http://www.soapui.org/repository/maven2/</url>
170 <name>SoapUI plugin</name>
173 <!-- *********************************************************************************************************** -->
178 <directory>src/main/resources</directory>
179 <filtering>true</filtering>
182 <directory>target/generated-sources/license</directory>
184 <include>third-party-licenses.txt</include>
188 <directory>target/generated-resources/licenses</directory>
190 <include>*.*</include>
192 <targetPath>third-party-licenses</targetPath>
197 <groupId>org.sonatype.plugins</groupId>
198 <artifactId>nexus-staging-maven-plugin</artifactId>
199 <version>1.6.7</version>
200 <extensions>true</extensions>
202 <nexusUrl>${nexusproxy}</nexusUrl>
203 <stagingProfileId>176c31dfe190a</stagingProfileId>
204 <serverId>ecomp-staging</serverId>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-deploy-plugin</artifactId>
210 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-surefire-plugin</artifactId>
218 <version>2.19.1</version>
220 <argLine>${surefireArgLine}</argLine>
221 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
223 <exclude>**/IT*.java</exclude>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-compiler-plugin</artifactId>
230 <version>3.6.1</version>
233 <compilerArgument>-Xlint</compilerArgument>
234 <verbose>true</verbose>
235 <showDeprecation>true</showDeprecation>
236 <showWarnings>true</showWarnings>
242 <!-- <groupId>org.codehaus.mojo</groupId> -->
243 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
244 <!-- <version>2.1</version> -->
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-ejb-plugin</artifactId>
249 <version>2.2.1</version>
251 <ejbVersion>3.0</ejbVersion>
254 <addClasspath>true</addClasspath>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-checkstyle-plugin</artifactId>
262 <version>2.17</version>
264 <includes>**/org/openecomp/**/*.java</includes>
265 <configLocation>/google_checks.xml</configLocation>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>findbugs-maven-plugin</artifactId>
271 <version>2.5.2</version>
273 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
274 <nested>true</nested>
275 <findbugsXmlOutput>true</findbugsXmlOutput>
276 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
277 <xmlOutput>true</xmlOutput>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>sonar-maven-plugin</artifactId>
283 <version>3.2</version>
286 <artifactId>maven-scm-plugin</artifactId>
287 <version>1.8.1</version>
289 <tag>${project.artifactId}-${project.version}</tag>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-javadoc-plugin</artifactId>
295 <version>2.9</version>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-site-plugin</artifactId>
300 <version>3.6</version>
303 <groupId>org.apache.maven.wagon</groupId>
304 <artifactId>wagon-webdav-jackrabbit</artifactId>
305 <version>2.10</version>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>cobertura-maven-plugin</artifactId>
312 <version>2.5.2</version>
320 <groupId>org.codehaus.mojo</groupId>
321 <artifactId>versions-maven-plugin</artifactId>
322 <version>1.3.1</version>
325 <groupId>org.codehaus.mojo</groupId>
326 <artifactId>jboss-packaging-maven-plugin</artifactId>
327 <version>2.2</version>
328 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
329 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
330 maven packaging type -->
331 <extensions>true</extensions>
334 <groupId>org.jacoco</groupId>
335 <artifactId>jacoco-maven-plugin</artifactId>
336 <version>0.7.7.201606060606</version>
338 <dumpOnExit>true</dumpOnExit>
340 <include>org.openecomp.*</include>
345 <id>pre-unit-test</id>
347 <goal>prepare-agent</goal>
350 <destFile>${sonar.jacoco.reportPath}</destFile>
351 <propertyName>surefireArgLine</propertyName>
357 <groupId>com.fortify.ps.maven.plugin</groupId>
358 <artifactId>sca-maven-plugin</artifactId>
359 <version>4.20</version>
361 <buildId>mso-${project.version}</buildId>
367 <!-- *********************************************************************************************************** -->
368 <!-- Dependencies -->
371 <groupId>com.fasterxml.jackson.core</groupId>
372 <artifactId>jackson-core</artifactId>
373 <version>2.8.7</version>
376 <groupId>com.fasterxml.jackson.module</groupId>
377 <artifactId>jackson-module-jaxb-annotations</artifactId>
378 <version>2.4.0</version>
381 <groupId>com.fasterxml.jackson.core</groupId>
382 <artifactId>jackson-databind</artifactId>
383 <version>2.8.7</version>
386 <groupId>com.fasterxml.jackson.core</groupId>
387 <artifactId>jackson-annotations</artifactId>
388 <version>2.8.7</version>
391 <groupId>com.fasterxml.jackson.jaxrs</groupId>
392 <artifactId>jackson-jaxrs-base</artifactId>
393 <version>2.9.2</version>
396 <groupId>com.fasterxml.jackson.jaxrs</groupId>
397 <artifactId>jackson-jaxrs-providers</artifactId>
398 <version>2.9.2</version>
402 <groupId>org.jboss.resteasy</groupId>
403 <artifactId>resteasy-jaxrs</artifactId>
404 <version>${resteasy.version}</version>
405 <scope>provided</scope>
408 <groupId>org.slf4j</groupId>
409 <artifactId>slf4j-api</artifactId>
412 <groupId>org.slf4j</groupId>
413 <artifactId>slf4j-simple</artifactId>
416 <groupId>org.apache.httpcomponents</groupId>
417 <artifactId>httpclient</artifactId>
422 <groupId>org.jboss.resteasy</groupId>
423 <artifactId>resteasy-client</artifactId>
424 <version>${resteasy.version}</version>
425 <scope>provided</scope>
428 <groupId>org.apache.httpcomponents</groupId>
429 <artifactId>httpclient</artifactId>
434 <groupId>org.jboss.resteasy</groupId>
435 <artifactId>resteasy-jackson2-provider</artifactId>
436 <version>3.1.0.Final</version>
439 <groupId>org.hamcrest</groupId>
440 <artifactId>hamcrest-core</artifactId>
441 <version>1.3</version>
444 <groupId>org.hamcrest</groupId>
445 <artifactId>hamcrest-all</artifactId>
446 <version>1.3</version>
449 <groupId>junit</groupId>
450 <artifactId>junit</artifactId>
451 <version>4.12</version>
455 <groupId>org.jmockit</groupId>
456 <artifactId>jmockit</artifactId>
457 <version>1.19</version>
461 <groupId>org.jmockit</groupId>
462 <artifactId>jmockit-coverage</artifactId>
463 <version>1.19</version>
467 <groupId>org.powermock</groupId>
468 <artifactId>powermock-api-mockito</artifactId>
469 <version>1.6.2</version>
473 <groupId>org.powermock</groupId>
474 <artifactId>powermock-module-junit4</artifactId>
475 <version>1.6.2</version>
479 <groupId>com.github.tomakehurst</groupId>
480 <artifactId>wiremock</artifactId>
481 <version>1.56</version>
483 <classifier>standalone</classifier>
486 <groupId>org.mortbay.jetty</groupId>
487 <artifactId>jetty</artifactId>
490 <groupId>com.google.guava</groupId>
491 <artifactId>guava</artifactId>
494 <groupId>com.fasterxml.jackson.core</groupId>
495 <artifactId>jackson-core</artifactId>
498 <groupId>com.fasterxml.jackson.core</groupId>
499 <artifactId>jackson-annotations</artifactId>
502 <groupId>com.fasterxml.jackson.core</groupId>
503 <artifactId>jackson-databind</artifactId>
506 <groupId>org.apache.httpcomponents</groupId>
507 <artifactId>httpclient</artifactId>
510 <groupId>org.skyscreamer</groupId>
511 <artifactId>jsonassert</artifactId>
514 <groupId>xmlunit</groupId>
515 <artifactId>xmlunit</artifactId>
518 <groupId>com.jayway.jsonpath</groupId>
519 <artifactId>json-path</artifactId>
522 <groupId>net.sf.jopt-simple</groupId>
523 <artifactId>jopt-simple</artifactId>
528 <groupId>org.jboss.resteasy</groupId>
529 <artifactId>tjws</artifactId>
530 <version>${resteasy.version}</version>
533 <!-- For CVE-2016-1000031 -->
535 <groupId>commons-fileupload</groupId>
536 <artifactId>commons-fileupload</artifactId>
537 <version>1.3.3</version>
539 <!-- For CVE-2017-5929 -->
541 <groupId>ch.qos.logback</groupId>
542 <artifactId>logback-core</artifactId>
543 <version>1.1.11</version>
545 <!-- For CVE-2014-0225 CVE-2015-5211 -->
547 <groupId>org.springframework</groupId>
548 <artifactId>spring-core</artifactId>
549 <version>4.3.14.RELEASE</version>
552 <dependencyManagement>
554 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
555 <!-- force use of version 4.5 everywhere in transient deps, aligned
556 on WildFly 10 version -->
558 <groupId>org.apache.httpcomponents</groupId>
559 <artifactId>httpclient</artifactId>
560 <version>4.5.5</version>
561 <scope>compile</scope>
564 <groupId>org.apache.httpcomponents</groupId>
565 <artifactId>httpcore</artifactId>
566 <version>4.4.4</version>
567 <scope>compile</scope>
570 <groupId>commons-codec</groupId>
571 <artifactId>commons-codec</artifactId>
572 <version>1.10</version>
573 <scope>compile</scope>
576 <groupId>commons-io</groupId>
577 <artifactId>commons-io</artifactId>
578 <version>2.5</version>
579 <scope>compile</scope>
582 <groupId>log4j</groupId>
583 <artifactId>log4j</artifactId>
584 <version>1.2.17</version>
585 <scope>compile</scope>
588 <groupId>org.slf4j</groupId>
589 <artifactId>slf4j-api</artifactId>
590 <version>1.7.10</version>
591 <scope>compile</scope>
594 <groupId>com.sun.xml.fastinfoset</groupId>
595 <artifactId>FastInfoset</artifactId>
596 <version>1.2.13</version>
597 <scope>compile</scope>
600 <groupId>org.mockito</groupId>
601 <artifactId>mockito-core</artifactId>
602 <version>1.10.19</version>
606 </dependencyManagement>