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.1.0-SNAPSHOT</version>
12 <groupId>org.openecomp.so</groupId>
13 <artifactId>so</artifactId>
14 <packaging>pom</packaging>
15 <!-- <version>1.2.0-SNAPSHOT</version> -->
16 <version>1.2.0-SNAPSHOT</version>
18 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
19 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
20 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
23 <name>OPENECOMP - MSO</name>
24 <url>http://www.onap.org/</url>
27 <module>common</module>
28 <module>mso-api-handlers</module>
29 <module>mso-catalog-db</module>
30 <module>adapters</module>
31 <module>asdc-controller</module>
32 <module>status-control</module>
34 <module>packages</module>
35 <!-- <module>aria/aria-rest-server</module> -->
38 <project.mso.base.folder>.</project.mso.base.folder>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41 <sonar.language>java</sonar.language>
42 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
43 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
44 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
45 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
46 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
47 <sonar.projectVersion>${project.version}</sonar.projectVersion>
48 <org.apache.maven.user-settings></org.apache.maven.user-settings>
49 <!-- this is used for Chef mso-code cookbook -->
50 <swm.version>2.19.3-1</swm.version>
51 <!-- <openstack.version>1.2.0-SNAPSHOT</openstack.version> -->
52 <openstack.version>1.1.0</openstack.version>
53 <nexusproxy>https://nexus.onap.org</nexusproxy>
54 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
56 <distributionManagement>
58 <id>ecomp-releases</id>
59 <name>Clamp Release Repository</name>
60 <url>https://nexus.onap.org/content/repositories/releases/</url>
63 <id>ecomp-snapshots</id>
64 <name>Clamp Snapshot Repository</name>
65 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
69 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
71 </distributionManagement>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-javadoc-plugin</artifactId>
77 <version>2.10.4</version>
79 <failOnError>false</failOnError>
80 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
82 <groupId>org.umlgraph</groupId>
83 <artifactId>umlgraph</artifactId>
84 <version>5.6</version>
86 <additionalparam>-views</additionalparam>
87 <useStandardDocletOptions>true</useStandardDocletOptions>
92 <!-- configure build -->
93 <!-- *********************************************************************************************************** -->
94 <!-- Plugins and repositories -->
98 <url>http://repo1.maven.org/maven2</url>
103 <name>Restlet Repository</name>
104 <url>http://maven.restlet.com</url>
106 </pluginRepositories>
110 <url>https://nexus.onap.org/content/groups/public/</url>
111 <name>Onap public</name>
115 <name>JBoss Repository</name>
116 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
119 <id>jboss-deprecated-repository</id>
120 <name>JBoss Deprecated Maven Repository</name>
121 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
124 <id>ecomp-releases</id>
125 <name>ONAP Release Repository</name>
126 <url>https://nexus.onap.org/content/repositories/releases/</url>
129 <id>ecomp-staging</id>
130 <name>ONAP Staging Repository</name>
131 <url>https://nexus.onap.org/content/repositories/staging/</url>
134 <id>ecomp-snapshots</id>
135 <name>ONAP Snapshot Repository</name>
136 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
138 <enabled>true</enabled>
141 <enabled>false</enabled>
144 <!-- Camunda Web Repository -->
146 <id>CamundaWebRepo</id>
147 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
148 <name>Camunda Web Repository</name>
151 <id>CamundaPublicRepo</id>
152 <url>https://app.camunda.com/nexus/content/groups/public</url>
153 <name>Camunda Public repository</name>
158 <url>http://www.soapui.org/repository/maven2/</url>
159 <name>SoapUI plugin</name>
162 <!-- *********************************************************************************************************** -->
167 <directory>src/main/resources</directory>
168 <filtering>true</filtering>
171 <directory>target/generated-sources/license</directory>
173 <include>third-party-licenses.txt</include>
177 <directory>target/generated-resources/licenses</directory>
179 <include>*.*</include>
181 <targetPath>third-party-licenses</targetPath>
186 <groupId>org.sonatype.plugins</groupId>
187 <artifactId>nexus-staging-maven-plugin</artifactId>
188 <version>1.6.7</version>
189 <extensions>true</extensions>
191 <nexusUrl>${nexusproxy}</nexusUrl>
192 <stagingProfileId>176c31dfe190a</stagingProfileId>
193 <serverId>ecomp-staging</serverId>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-deploy-plugin</artifactId>
199 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-surefire-plugin</artifactId>
207 <version>2.19.1</version>
209 <argLine>${surefireArgLine}</argLine>
210 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
212 <exclude>**/IT*.java</exclude>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-compiler-plugin</artifactId>
219 <version>3.6.1</version>
222 <compilerArgument>-Xlint</compilerArgument>
223 <verbose>true</verbose>
224 <showDeprecation>true</showDeprecation>
225 <showWarnings>true</showWarnings>
231 <!-- <groupId>org.codehaus.mojo</groupId> -->
232 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
233 <!-- <version>2.1</version> -->
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-ejb-plugin</artifactId>
238 <version>2.2.1</version>
240 <ejbVersion>3.0</ejbVersion>
243 <addClasspath>true</addClasspath>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-checkstyle-plugin</artifactId>
251 <version>2.17</version>
253 <includes>**/org/openecomp/**/*.java</includes>
254 <configLocation>/google_checks.xml</configLocation>
258 <groupId>org.codehaus.mojo</groupId>
259 <artifactId>findbugs-maven-plugin</artifactId>
260 <version>2.5.2</version>
262 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
263 <nested>true</nested>
264 <findbugsXmlOutput>true</findbugsXmlOutput>
265 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
266 <xmlOutput>true</xmlOutput>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>sonar-maven-plugin</artifactId>
272 <version>3.2</version>
275 <artifactId>maven-scm-plugin</artifactId>
276 <version>1.8.1</version>
278 <tag>${project.artifactId}-${project.version}</tag>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-javadoc-plugin</artifactId>
284 <version>2.9</version>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-site-plugin</artifactId>
289 <version>3.6</version>
292 <groupId>org.apache.maven.wagon</groupId>
293 <artifactId>wagon-webdav-jackrabbit</artifactId>
294 <version>2.10</version>
299 <groupId>org.codehaus.mojo</groupId>
300 <artifactId>cobertura-maven-plugin</artifactId>
301 <version>2.5.2</version>
309 <groupId>org.codehaus.mojo</groupId>
310 <artifactId>versions-maven-plugin</artifactId>
311 <version>1.3.1</version>
314 <groupId>org.codehaus.mojo</groupId>
315 <artifactId>jboss-packaging-maven-plugin</artifactId>
316 <version>2.2</version>
317 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
318 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
319 maven packaging type -->
320 <extensions>true</extensions>
323 <groupId>org.jacoco</groupId>
324 <artifactId>jacoco-maven-plugin</artifactId>
325 <version>0.7.7.201606060606</version>
327 <dumpOnExit>true</dumpOnExit>
329 <include>org.openecomp.*</include>
334 <id>pre-unit-test</id>
336 <goal>prepare-agent</goal>
339 <destFile>${sonar.jacoco.reportPath}</destFile>
340 <propertyName>surefireArgLine</propertyName>
346 <groupId>com.fortify.ps.maven.plugin</groupId>
347 <artifactId>sca-maven-plugin</artifactId>
348 <version>4.20</version>
350 <buildId>mso-${project.version}</buildId>
356 <!-- *********************************************************************************************************** -->
357 <!-- Dependencies -->
360 <groupId>junit</groupId>
361 <artifactId>junit</artifactId>
362 <version>4.12</version>
366 <dependencyManagement>
368 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
369 <!-- force use of version 4.5 everywhere in transient deps, aligned
370 on WildFly 10 version -->
372 <groupId>org.apache.httpcomponents</groupId>
373 <artifactId>httpclient</artifactId>
374 <version>4.5</version>
375 <scope>compile</scope>
378 <groupId>org.apache.httpcomponents</groupId>
379 <artifactId>httpcore</artifactId>
380 <version>4.4.1</version>
381 <scope>compile</scope>
384 <groupId>commons-codec</groupId>
385 <artifactId>commons-codec</artifactId>
386 <version>1.10</version>
387 <scope>compile</scope>
390 <groupId>commons-io</groupId>
391 <artifactId>commons-io</artifactId>
392 <version>2.5</version>
393 <scope>compile</scope>
396 <groupId>org.hamcrest</groupId>
397 <artifactId>hamcrest-core</artifactId>
398 <version>1.3</version>
402 <groupId>log4j</groupId>
403 <artifactId>log4j</artifactId>
404 <version>1.2.17</version>
405 <scope>compile</scope>
408 <groupId>org.slf4j</groupId>
409 <artifactId>slf4j-api</artifactId>
410 <version>1.7.10</version>
411 <scope>compile</scope>
414 <groupId>com.sun.xml.fastinfoset</groupId>
415 <artifactId>FastInfoset</artifactId>
416 <version>1.2.13</version>
417 <scope>compile</scope>
420 </dependencyManagement>