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>
4 <groupId>org.openecomp.so</groupId>
5 <artifactId>so</artifactId>
6 <packaging>pom</packaging>
7 <version>1.1.0-SNAPSHOT</version>
9 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
10 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
11 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
14 <name>OPENECOMP - MSO</name>
15 <url>http://www.onap.org/</url>
18 <module>common</module>
19 <module>mso-api-handlers</module>
20 <module>mso-catalog-db</module>
21 <module>adapters</module>
22 <module>asdc-controller</module>
23 <module>status-control</module>
25 <module>packages</module>
28 <project.mso.base.folder>.</project.mso.base.folder>
29 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
31 <sonar.language>java</sonar.language>
32 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
33 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
34 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
35 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
36 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
37 <sonar.projectVersion>${project.version}</sonar.projectVersion>
38 <org.apache.maven.user-settings></org.apache.maven.user-settings>
39 <!-- this is used for Chef mso-code cookbook -->
40 <swm.version>2.19.3-1</swm.version>
41 <openstack.version>1.1.0-SNAPSHOT</openstack.version>
42 <nexusproxy>https://nexus.onap.org</nexusproxy>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
46 <sitePath>/content/sites/site/org/onap/so/${project.version}</sitePath>
47 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
49 <distributionManagement>
51 <id>ecomp-releases</id>
52 <name>MSO Release Repository</name>
53 <url>${nexusproxy}/${releaseNexusPath}</url>
56 <id>ecomp-snapshots</id>
57 <name>MSO Snapshot Repository</name>
58 <url>${nexusproxy}/${snapshotNexusPath}</url>
62 <url>dav:${nexusproxy}${sitePath}</url>
64 </distributionManagement>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-javadoc-plugin</artifactId>
70 <version>2.10.4</version>
72 <failOnError>false</failOnError>
73 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
75 <groupId>org.umlgraph</groupId>
76 <artifactId>umlgraph</artifactId>
77 <version>5.6</version>
79 <additionalparam>-views</additionalparam>
80 <useStandardDocletOptions>true</useStandardDocletOptions>
85 <!-- configure build -->
86 <!-- *********************************************************************************************************** -->
87 <!-- Plugins and repositories -->
91 <url>http://repo1.maven.org/maven2</url>
96 <name>Restlet Repository</name>
97 <url>http://maven.restlet.com</url>
103 <name>Maven 2 repository 2</name>
104 <url>http://repo2.maven.org/maven2/</url>
108 <name>JBoss Repository</name>
109 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
112 <id>jboss-deprecated-repository</id>
113 <name>JBoss Deprecated Maven Repository</name>
114 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
117 <id>ecomp-releases</id>
118 <name>MSO Release Repository</name>
119 <url>${nexusproxy}/${releaseNexusPath}</url>
123 <id>ecomp-staging</id>
124 <name>MSO Staging Repository</name>
125 <url>${nexusproxy}/${stagingNexusPath}</url>
128 <id>ecomp-snapshots</id>
129 <name>MSO Snapshot Repository</name>
130 <url>${nexusproxy}/${snapshotNexusPath}</url>
132 <!-- Camunda Web Repository -->
134 <id>CamundaWebRepo</id>
135 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
136 <name>Camunda Web Repository</name>
139 <id>CamundaPublicRepo</id>
140 <url>https://app.camunda.com/nexus/content/groups/public</url>
141 <name>Camunda Public repository</name>
145 <url>http://www.soapui.org/repository/maven2/</url>
146 <name>SoapUI plugin</name>
149 <!-- *********************************************************************************************************** -->
154 <directory>src/main/resources</directory>
155 <filtering>true</filtering>
158 <directory>target/generated-sources/license</directory>
160 <include>third-party-licenses.txt</include>
164 <directory>target/generated-resources/licenses</directory>
166 <include>*.*</include>
168 <targetPath>third-party-licenses</targetPath>
173 <groupId>org.sonatype.plugins</groupId>
174 <artifactId>nexus-staging-maven-plugin</artifactId>
175 <version>1.6.7</version>
176 <extensions>true</extensions>
178 <nexusUrl>${nexusproxy}</nexusUrl>
179 <stagingProfileId>176c31dfe190a</stagingProfileId>
180 <serverId>ecomp-staging</serverId>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-deploy-plugin</artifactId>
186 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-surefire-plugin</artifactId>
194 <version>2.17</version>
196 <!-- <forkCount>2C</forkCount>
197 <reuseForks>true</reuseForks> -->
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-compiler-plugin</artifactId>
203 <version>3.6.1</version>
206 <compilerArgument>-Xlint</compilerArgument>
207 <verbose>true</verbose>
208 <showDeprecation>true</showDeprecation>
209 <showWarnings>true</showWarnings>
215 <!-- <groupId>org.codehaus.mojo</groupId> -->
216 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
217 <!-- <version>2.1</version> -->
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-ejb-plugin</artifactId>
222 <version>2.2.1</version>
224 <ejbVersion>3.0</ejbVersion>
227 <addClasspath>true</addClasspath>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-checkstyle-plugin</artifactId>
235 <version>2.17</version>
237 <includes>**/org/openecomp/**/*.java</includes>
238 <configLocation>/google_checks.xml</configLocation>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>findbugs-maven-plugin</artifactId>
244 <version>2.5.2</version>
246 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
247 <nested>true</nested>
248 <findbugsXmlOutput>true</findbugsXmlOutput>
249 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
250 <xmlOutput>true</xmlOutput>
254 <groupId>org.codehaus.mojo</groupId>
255 <artifactId>sonar-maven-plugin</artifactId>
256 <version>3.2</version>
259 <artifactId>maven-scm-plugin</artifactId>
260 <version>1.8.1</version>
262 <tag>${project.artifactId}-${project.version}</tag>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-javadoc-plugin</artifactId>
268 <version>2.9</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-site-plugin</artifactId>
273 <version>3.6</version>
276 <groupId>org.apache.maven.wagon</groupId>
277 <artifactId>wagon-webdav-jackrabbit</artifactId>
278 <version>2.10</version>
283 <groupId>org.codehaus.mojo</groupId>
284 <artifactId>cobertura-maven-plugin</artifactId>
285 <version>2.5.2</version>
293 <groupId>org.codehaus.mojo</groupId>
294 <artifactId>versions-maven-plugin</artifactId>
295 <version>1.3.1</version>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>jboss-packaging-maven-plugin</artifactId>
300 <version>2.2</version>
301 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
302 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
303 maven packaging type -->
304 <extensions>true</extensions>
307 <groupId>org.jacoco</groupId>
308 <artifactId>jacoco-maven-plugin</artifactId>
309 <version>0.7.7.201606060606</version>
311 <dumpOnExit>true</dumpOnExit>
313 <include>org.openecomp.*</include>
318 <id>jacoco-initialize-unit-tests</id>
320 <goal>prepare-agent</goal>
323 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
324 <!-- <append>true</append> -->
330 <groupId>com.fortify.ps.maven.plugin</groupId>
331 <artifactId>sca-maven-plugin</artifactId>
332 <version>4.20</version>
334 <buildId>mso-${project.version}</buildId>
340 <!-- *********************************************************************************************************** -->
341 <!-- Dependencies -->
344 <groupId>junit</groupId>
345 <artifactId>junit</artifactId>
346 <version>4.12</version>
350 <dependencyManagement>
352 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
353 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
355 <groupId>org.apache.httpcomponents</groupId>
356 <artifactId>httpclient</artifactId>
357 <version>4.5</version>
358 <scope>compile</scope>
361 <groupId>org.apache.httpcomponents</groupId>
362 <artifactId>httpcore</artifactId>
363 <version>4.4.1</version>
364 <scope>compile</scope>
367 <groupId>commons-codec</groupId>
368 <artifactId>commons-codec</artifactId>
369 <version>1.10</version>
370 <scope>compile</scope>
373 <groupId>commons-io</groupId>
374 <artifactId>commons-io</artifactId>
375 <version>2.5</version>
376 <scope>compile</scope>
379 <groupId>org.hamcrest</groupId>
380 <artifactId>hamcrest-core</artifactId>
381 <version>1.3</version>
385 <groupId>log4j</groupId>
386 <artifactId>log4j</artifactId>
387 <version>1.2.17</version>
388 <scope>compile</scope>
391 <groupId>org.slf4j</groupId>
392 <artifactId>slf4j-api</artifactId>
393 <version>1.7.10</version>
394 <scope>compile</scope>
397 <groupId>com.sun.xml.fastinfoset</groupId>
398 <artifactId>FastInfoset</artifactId>
399 <version>1.2.13</version>
400 <scope>compile</scope>
403 </dependencyManagement>