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 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
53 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
54 <sitePath>/content/sites/site/org/onap/so/${project.version}</sitePath>
55 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
57 <distributionManagement>
59 <id>ecomp-releases</id>
60 <name>MSO Release Repository</name>
61 <url>${nexusproxy}/${releaseNexusPath}</url>
64 <id>ecomp-snapshots</id>
65 <name>MSO Snapshot Repository</name>
66 <url>${nexusproxy}/${snapshotNexusPath}</url>
70 <url>dav:${nexusproxy}${sitePath}</url>
72 </distributionManagement>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-javadoc-plugin</artifactId>
78 <version>2.10.4</version>
80 <failOnError>false</failOnError>
81 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
83 <groupId>org.umlgraph</groupId>
84 <artifactId>umlgraph</artifactId>
85 <version>5.6</version>
87 <additionalparam>-views</additionalparam>
88 <useStandardDocletOptions>true</useStandardDocletOptions>
93 <!-- configure build -->
94 <!-- *********************************************************************************************************** -->
95 <!-- Plugins and repositories -->
99 <url>http://repo1.maven.org/maven2</url>
104 <name>Restlet Repository</name>
105 <url>http://maven.restlet.com</url>
107 </pluginRepositories>
111 <name>Maven 2 repository 2</name>
112 <url>http://repo2.maven.org/maven2/</url>
116 <name>JBoss Repository</name>
117 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
120 <id>jboss-deprecated-repository</id>
121 <name>JBoss Deprecated Maven Repository</name>
122 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
125 <id>ecomp-releases</id>
126 <name>MSO Release Repository</name>
127 <url>${nexusproxy}/${releaseNexusPath}</url>
131 <id>ecomp-staging</id>
132 <name>MSO Staging Repository</name>
133 <url>${nexusproxy}/${stagingNexusPath}</url>
136 <id>ecomp-snapshots</id>
137 <name>MSO Snapshot Repository</name>
138 <url>${nexusproxy}/${snapshotNexusPath}</url>
140 <!-- Camunda Web Repository -->
142 <id>CamundaWebRepo</id>
143 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
144 <name>Camunda Web Repository</name>
147 <id>CamundaPublicRepo</id>
148 <url>https://app.camunda.com/nexus/content/groups/public</url>
149 <name>Camunda Public repository</name>
153 <url>http://www.soapui.org/repository/maven2/</url>
154 <name>SoapUI plugin</name>
157 <!-- *********************************************************************************************************** -->
162 <directory>src/main/resources</directory>
163 <filtering>true</filtering>
166 <directory>target/generated-sources/license</directory>
168 <include>third-party-licenses.txt</include>
172 <directory>target/generated-resources/licenses</directory>
174 <include>*.*</include>
176 <targetPath>third-party-licenses</targetPath>
181 <groupId>org.sonatype.plugins</groupId>
182 <artifactId>nexus-staging-maven-plugin</artifactId>
183 <version>1.6.7</version>
184 <extensions>true</extensions>
186 <nexusUrl>${nexusproxy}</nexusUrl>
187 <stagingProfileId>176c31dfe190a</stagingProfileId>
188 <serverId>ecomp-staging</serverId>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-deploy-plugin</artifactId>
194 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-surefire-plugin</artifactId>
202 <version>2.17</version>
204 <!-- <forkCount>2C</forkCount>
205 <reuseForks>true</reuseForks> -->
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-compiler-plugin</artifactId>
211 <version>3.6.1</version>
214 <compilerArgument>-Xlint</compilerArgument>
215 <verbose>true</verbose>
216 <showDeprecation>true</showDeprecation>
217 <showWarnings>true</showWarnings>
223 <!-- <groupId>org.codehaus.mojo</groupId> -->
224 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
225 <!-- <version>2.1</version> -->
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-ejb-plugin</artifactId>
230 <version>2.2.1</version>
232 <ejbVersion>3.0</ejbVersion>
235 <addClasspath>true</addClasspath>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-checkstyle-plugin</artifactId>
243 <version>2.17</version>
245 <includes>**/org/openecomp/**/*.java</includes>
246 <configLocation>/google_checks.xml</configLocation>
250 <groupId>org.codehaus.mojo</groupId>
251 <artifactId>findbugs-maven-plugin</artifactId>
252 <version>2.5.2</version>
254 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
255 <nested>true</nested>
256 <findbugsXmlOutput>true</findbugsXmlOutput>
257 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
258 <xmlOutput>true</xmlOutput>
262 <groupId>org.codehaus.mojo</groupId>
263 <artifactId>sonar-maven-plugin</artifactId>
264 <version>3.2</version>
267 <artifactId>maven-scm-plugin</artifactId>
268 <version>1.8.1</version>
270 <tag>${project.artifactId}-${project.version}</tag>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-javadoc-plugin</artifactId>
276 <version>2.9</version>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-site-plugin</artifactId>
281 <version>3.6</version>
284 <groupId>org.apache.maven.wagon</groupId>
285 <artifactId>wagon-webdav-jackrabbit</artifactId>
286 <version>2.10</version>
291 <groupId>org.codehaus.mojo</groupId>
292 <artifactId>cobertura-maven-plugin</artifactId>
293 <version>2.5.2</version>
301 <groupId>org.codehaus.mojo</groupId>
302 <artifactId>versions-maven-plugin</artifactId>
303 <version>1.3.1</version>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>jboss-packaging-maven-plugin</artifactId>
308 <version>2.2</version>
309 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
310 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
311 maven packaging type -->
312 <extensions>true</extensions>
315 <groupId>org.jacoco</groupId>
316 <artifactId>jacoco-maven-plugin</artifactId>
317 <version>0.7.7.201606060606</version>
319 <dumpOnExit>true</dumpOnExit>
321 <include>org.openecomp.*</include>
326 <id>jacoco-initialize-unit-tests</id>
328 <goal>prepare-agent</goal>
331 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
332 <!-- <append>true</append> -->
338 <groupId>com.fortify.ps.maven.plugin</groupId>
339 <artifactId>sca-maven-plugin</artifactId>
340 <version>4.20</version>
342 <buildId>mso-${project.version}</buildId>
348 <!-- *********************************************************************************************************** -->
349 <!-- Dependencies -->
352 <groupId>junit</groupId>
353 <artifactId>junit</artifactId>
354 <version>4.12</version>
358 <dependencyManagement>
360 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
361 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
363 <groupId>org.apache.httpcomponents</groupId>
364 <artifactId>httpclient</artifactId>
365 <version>4.5</version>
366 <scope>compile</scope>
369 <groupId>org.apache.httpcomponents</groupId>
370 <artifactId>httpcore</artifactId>
371 <version>4.4.1</version>
372 <scope>compile</scope>
375 <groupId>commons-codec</groupId>
376 <artifactId>commons-codec</artifactId>
377 <version>1.10</version>
378 <scope>compile</scope>
381 <groupId>commons-io</groupId>
382 <artifactId>commons-io</artifactId>
383 <version>2.5</version>
384 <scope>compile</scope>
387 <groupId>org.hamcrest</groupId>
388 <artifactId>hamcrest-core</artifactId>
389 <version>1.3</version>
393 <groupId>log4j</groupId>
394 <artifactId>log4j</artifactId>
395 <version>1.2.17</version>
396 <scope>compile</scope>
399 <groupId>org.slf4j</groupId>
400 <artifactId>slf4j-api</artifactId>
401 <version>1.7.10</version>
402 <scope>compile</scope>
405 <groupId>com.sun.xml.fastinfoset</groupId>
406 <artifactId>FastInfoset</artifactId>
407 <version>1.2.13</version>
408 <scope>compile</scope>
411 </dependencyManagement>