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> -->
16 <version>1.1.1-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>
37 <project.mso.base.folder>.</project.mso.base.folder>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40 <sonar.language>java</sonar.language>
41 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
42 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
43 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
44 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
45 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
46 <sonar.projectVersion>${project.version}</sonar.projectVersion>
47 <org.apache.maven.user-settings></org.apache.maven.user-settings>
48 <!-- this is used for Chef mso-code cookbook -->
49 <swm.version>2.19.3-1</swm.version>
50 <!-- <openstack.version>1.1.0-SNAPSHOT</openstack.version> -->
51 <openstack.version>1.1.0</openstack.version>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
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>jboss-deprecated-repository</id>
119 <name>JBoss Deprecated Maven Repository</name>
120 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
123 <id>ecomp-releases</id>
124 <name>ONAP Release Repository</name>
125 <url>https://nexus.onap.org/content/repositories/releases/</url>
128 <id>ecomp-staging</id>
129 <name>ONAP Staging Repository</name>
130 <url>https://nexus.onap.org/content/repositories/staging/</url>
133 <id>ecomp-snapshots</id>
134 <name>ONAP Snapshot Repository</name>
135 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
137 <enabled>true</enabled>
140 <enabled>false</enabled>
143 <!-- Camunda Web Repository -->
145 <id>CamundaWebRepo</id>
146 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
147 <name>Camunda Web Repository</name>
150 <id>CamundaPublicRepo</id>
151 <url>https://app.camunda.com/nexus/content/groups/public</url>
152 <name>Camunda Public repository</name>
157 <url>http://www.soapui.org/repository/maven2/</url>
158 <name>SoapUI plugin</name>
161 <!-- *********************************************************************************************************** -->
166 <directory>src/main/resources</directory>
167 <filtering>true</filtering>
170 <directory>target/generated-sources/license</directory>
172 <include>third-party-licenses.txt</include>
176 <directory>target/generated-resources/licenses</directory>
178 <include>*.*</include>
180 <targetPath>third-party-licenses</targetPath>
185 <groupId>org.sonatype.plugins</groupId>
186 <artifactId>nexus-staging-maven-plugin</artifactId>
187 <version>1.6.7</version>
188 <extensions>true</extensions>
190 <nexusUrl>${nexusproxy}</nexusUrl>
191 <stagingProfileId>176c31dfe190a</stagingProfileId>
192 <serverId>ecomp-staging</serverId>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-deploy-plugin</artifactId>
198 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-surefire-plugin</artifactId>
206 <version>2.19.1</version>
208 <argLine>${surefireArgLine}</argLine>
209 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
211 <exclude>**/IT*.java</exclude>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-compiler-plugin</artifactId>
218 <version>3.6.1</version>
221 <compilerArgument>-Xlint</compilerArgument>
222 <verbose>true</verbose>
223 <showDeprecation>true</showDeprecation>
224 <showWarnings>true</showWarnings>
230 <!-- <groupId>org.codehaus.mojo</groupId> -->
231 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
232 <!-- <version>2.1</version> -->
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-ejb-plugin</artifactId>
237 <version>2.2.1</version>
239 <ejbVersion>3.0</ejbVersion>
242 <addClasspath>true</addClasspath>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-checkstyle-plugin</artifactId>
250 <version>2.17</version>
252 <includes>**/org/openecomp/**/*.java</includes>
253 <configLocation>/google_checks.xml</configLocation>
257 <groupId>org.codehaus.mojo</groupId>
258 <artifactId>findbugs-maven-plugin</artifactId>
259 <version>2.5.2</version>
261 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
262 <nested>true</nested>
263 <findbugsXmlOutput>true</findbugsXmlOutput>
264 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
265 <xmlOutput>true</xmlOutput>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>sonar-maven-plugin</artifactId>
271 <version>3.2</version>
274 <artifactId>maven-scm-plugin</artifactId>
275 <version>1.8.1</version>
277 <tag>${project.artifactId}-${project.version}</tag>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-javadoc-plugin</artifactId>
283 <version>2.9</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-site-plugin</artifactId>
288 <version>3.6</version>
291 <groupId>org.apache.maven.wagon</groupId>
292 <artifactId>wagon-webdav-jackrabbit</artifactId>
293 <version>2.10</version>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>cobertura-maven-plugin</artifactId>
300 <version>2.5.2</version>
308 <groupId>org.codehaus.mojo</groupId>
309 <artifactId>versions-maven-plugin</artifactId>
310 <version>1.3.1</version>
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>jboss-packaging-maven-plugin</artifactId>
315 <version>2.2</version>
316 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
317 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
318 maven packaging type -->
319 <extensions>true</extensions>
322 <groupId>org.jacoco</groupId>
323 <artifactId>jacoco-maven-plugin</artifactId>
324 <version>0.7.7.201606060606</version>
326 <dumpOnExit>true</dumpOnExit>
328 <include>org.openecomp.*</include>
333 <id>pre-unit-test</id>
335 <goal>prepare-agent</goal>
338 <destFile>${sonar.jacoco.reportPath}</destFile>
339 <propertyName>surefireArgLine</propertyName>
345 <groupId>com.fortify.ps.maven.plugin</groupId>
346 <artifactId>sca-maven-plugin</artifactId>
347 <version>4.20</version>
349 <buildId>mso-${project.version}</buildId>
355 <!-- *********************************************************************************************************** -->
356 <!-- Dependencies -->
359 <groupId>junit</groupId>
360 <artifactId>junit</artifactId>
361 <version>4.12</version>
365 <dependencyManagement>
367 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
368 <!-- force use of version 4.5 everywhere in transient deps, aligned
369 on WildFly 10 version -->
371 <groupId>org.apache.httpcomponents</groupId>
372 <artifactId>httpclient</artifactId>
373 <version>4.5</version>
374 <scope>compile</scope>
377 <groupId>org.apache.httpcomponents</groupId>
378 <artifactId>httpcore</artifactId>
379 <version>4.4.1</version>
380 <scope>compile</scope>
383 <groupId>commons-codec</groupId>
384 <artifactId>commons-codec</artifactId>
385 <version>1.10</version>
386 <scope>compile</scope>
389 <groupId>commons-io</groupId>
390 <artifactId>commons-io</artifactId>
391 <version>2.5</version>
392 <scope>compile</scope>
395 <groupId>org.hamcrest</groupId>
396 <artifactId>hamcrest-core</artifactId>
397 <version>1.3</version>
401 <groupId>log4j</groupId>
402 <artifactId>log4j</artifactId>
403 <version>1.2.17</version>
404 <scope>compile</scope>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-api</artifactId>
409 <version>1.7.10</version>
410 <scope>compile</scope>
413 <groupId>com.sun.xml.fastinfoset</groupId>
414 <artifactId>FastInfoset</artifactId>
415 <version>1.2.13</version>
416 <scope>compile</scope>
419 </dependencyManagement>