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>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
12 <groupId>org.openecomp.so</groupId>
13 <artifactId>so</artifactId>
14 <packaging>pom</packaging>
15 <version>1.1.0-SNAPSHOT</version>
17 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
18 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
19 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
22 <name>OPENECOMP - MSO</name>
23 <url>http://www.onap.org/</url>
26 <module>common</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>
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.1.0-SNAPSHOT</openstack.version>
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
51 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
53 <distributionManagement>
55 <id>ecomp-releases</id>
56 <name>Clamp Release Repository</name>
57 <url>https://nexus.onap.org/content/repositories/releases/</url>
60 <id>ecomp-snapshots</id>
61 <name>Clamp Snapshot Repository</name>
62 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
66 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
68 </distributionManagement>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-javadoc-plugin</artifactId>
74 <version>2.10.4</version>
76 <failOnError>false</failOnError>
77 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
79 <groupId>org.umlgraph</groupId>
80 <artifactId>umlgraph</artifactId>
81 <version>5.6</version>
83 <additionalparam>-views</additionalparam>
84 <useStandardDocletOptions>true</useStandardDocletOptions>
89 <!-- configure build -->
90 <!-- *********************************************************************************************************** -->
91 <!-- Plugins and repositories -->
95 <url>http://repo1.maven.org/maven2</url>
100 <name>Restlet Repository</name>
101 <url>http://maven.restlet.com</url>
103 </pluginRepositories>
107 <url>https://nexus.onap.org/content/groups/public/</url>
108 <name>Onap public</name>
112 <name>JBoss Repository</name>
113 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
116 <id>jboss-deprecated-repository</id>
117 <name>JBoss Deprecated Maven Repository</name>
118 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
121 <id>ecomp-releases</id>
122 <name>ONAP Release Repository</name>
123 <url>https://nexus.onap.org/content/repositories/releases/</url>
126 <id>ecomp-staging</id>
127 <name>ONAP Staging Repository</name>
128 <url>https://nexus.onap.org/content/repositories/staging/</url>
131 <id>ecomp-snapshots</id>
132 <name>ONAP Snapshot Repository</name>
133 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
135 <enabled>true</enabled>
138 <enabled>false</enabled>
141 <!-- Camunda Web Repository -->
143 <id>CamundaWebRepo</id>
144 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
145 <name>Camunda Web Repository</name>
148 <id>CamundaPublicRepo</id>
149 <url>https://app.camunda.com/nexus/content/groups/public</url>
150 <name>Camunda Public repository</name>
155 <url>http://www.soapui.org/repository/maven2/</url>
156 <name>SoapUI plugin</name>
159 <!-- *********************************************************************************************************** -->
164 <directory>src/main/resources</directory>
165 <filtering>true</filtering>
168 <directory>target/generated-sources/license</directory>
170 <include>third-party-licenses.txt</include>
174 <directory>target/generated-resources/licenses</directory>
176 <include>*.*</include>
178 <targetPath>third-party-licenses</targetPath>
183 <groupId>org.sonatype.plugins</groupId>
184 <artifactId>nexus-staging-maven-plugin</artifactId>
185 <version>1.6.7</version>
186 <extensions>true</extensions>
188 <nexusUrl>${nexusproxy}</nexusUrl>
189 <stagingProfileId>176c31dfe190a</stagingProfileId>
190 <serverId>ecomp-staging</serverId>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-deploy-plugin</artifactId>
196 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-surefire-plugin</artifactId>
204 <version>2.19.1</version>
206 <argLine>${surefireArgLine}</argLine>
207 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
209 <exclude>**/IT*.java</exclude>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-compiler-plugin</artifactId>
216 <version>3.6.1</version>
219 <compilerArgument>-Xlint</compilerArgument>
220 <verbose>true</verbose>
221 <showDeprecation>true</showDeprecation>
222 <showWarnings>true</showWarnings>
228 <!-- <groupId>org.codehaus.mojo</groupId> -->
229 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
230 <!-- <version>2.1</version> -->
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-ejb-plugin</artifactId>
235 <version>2.2.1</version>
237 <ejbVersion>3.0</ejbVersion>
240 <addClasspath>true</addClasspath>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-checkstyle-plugin</artifactId>
248 <version>2.17</version>
250 <includes>**/org/openecomp/**/*.java</includes>
251 <configLocation>/google_checks.xml</configLocation>
255 <groupId>org.codehaus.mojo</groupId>
256 <artifactId>findbugs-maven-plugin</artifactId>
257 <version>2.5.2</version>
259 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
260 <nested>true</nested>
261 <findbugsXmlOutput>true</findbugsXmlOutput>
262 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
263 <xmlOutput>true</xmlOutput>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>sonar-maven-plugin</artifactId>
269 <version>3.2</version>
272 <artifactId>maven-scm-plugin</artifactId>
273 <version>1.8.1</version>
275 <tag>${project.artifactId}-${project.version}</tag>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-javadoc-plugin</artifactId>
281 <version>2.9</version>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-site-plugin</artifactId>
286 <version>3.6</version>
289 <groupId>org.apache.maven.wagon</groupId>
290 <artifactId>wagon-webdav-jackrabbit</artifactId>
291 <version>2.10</version>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>cobertura-maven-plugin</artifactId>
298 <version>2.5.2</version>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>versions-maven-plugin</artifactId>
308 <version>1.3.1</version>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>jboss-packaging-maven-plugin</artifactId>
313 <version>2.2</version>
314 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
315 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
316 maven packaging type -->
317 <extensions>true</extensions>
320 <groupId>org.jacoco</groupId>
321 <artifactId>jacoco-maven-plugin</artifactId>
322 <version>0.7.7.201606060606</version>
324 <dumpOnExit>true</dumpOnExit>
326 <include>org.openecomp.*</include>
331 <id>pre-unit-test</id>
333 <goal>prepare-agent</goal>
336 <destFile>${sonar.jacoco.reportPath}</destFile>
337 <propertyName>surefireArgLine</propertyName>
343 <groupId>com.fortify.ps.maven.plugin</groupId>
344 <artifactId>sca-maven-plugin</artifactId>
345 <version>4.20</version>
347 <buildId>mso-${project.version}</buildId>
353 <!-- *********************************************************************************************************** -->
354 <!-- Dependencies -->
357 <groupId>junit</groupId>
358 <artifactId>junit</artifactId>
359 <version>4.12</version>
363 <dependencyManagement>
365 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
366 <!-- force use of version 4.5 everywhere in transient deps, aligned
367 on WildFly 10 version -->
369 <groupId>org.apache.httpcomponents</groupId>
370 <artifactId>httpclient</artifactId>
371 <version>4.5</version>
372 <scope>compile</scope>
375 <groupId>org.apache.httpcomponents</groupId>
376 <artifactId>httpcore</artifactId>
377 <version>4.4.1</version>
378 <scope>compile</scope>
381 <groupId>commons-codec</groupId>
382 <artifactId>commons-codec</artifactId>
383 <version>1.10</version>
384 <scope>compile</scope>
387 <groupId>commons-io</groupId>
388 <artifactId>commons-io</artifactId>
389 <version>2.5</version>
390 <scope>compile</scope>
393 <groupId>org.hamcrest</groupId>
394 <artifactId>hamcrest-core</artifactId>
395 <version>1.3</version>
399 <groupId>log4j</groupId>
400 <artifactId>log4j</artifactId>
401 <version>1.2.17</version>
402 <scope>compile</scope>
405 <groupId>org.slf4j</groupId>
406 <artifactId>slf4j-api</artifactId>
407 <version>1.7.10</version>
408 <scope>compile</scope>
411 <groupId>com.sun.xml.fastinfoset</groupId>
412 <artifactId>FastInfoset</artifactId>
413 <version>1.2.13</version>
414 <scope>compile</scope>
417 </dependencyManagement>