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 <openstack.version>1.1.0</openstack.version>
51 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
54 <distributionManagement>
56 <id>ecomp-releases</id>
57 <name>Clamp Release Repository</name>
58 <url>https://nexus.onap.org/content/repositories/releases/</url>
61 <id>ecomp-snapshots</id>
62 <name>Clamp Snapshot Repository</name>
63 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
67 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
69 </distributionManagement>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-javadoc-plugin</artifactId>
75 <version>2.10.4</version>
77 <failOnError>false</failOnError>
78 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
80 <groupId>org.umlgraph</groupId>
81 <artifactId>umlgraph</artifactId>
82 <version>5.6</version>
84 <additionalparam>-views</additionalparam>
85 <useStandardDocletOptions>true</useStandardDocletOptions>
90 <!-- configure build -->
91 <!-- *********************************************************************************************************** -->
92 <!-- Plugins and repositories -->
96 <url>http://repo1.maven.org/maven2</url>
101 <name>Restlet Repository</name>
102 <url>http://maven.restlet.com</url>
104 </pluginRepositories>
108 <url>https://nexus.onap.org/content/groups/public/</url>
109 <name>Onap public</name>
113 <name>JBoss Repository</name>
114 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
117 <id>jboss-deprecated-repository</id>
118 <name>JBoss Deprecated Maven Repository</name>
119 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
122 <id>ecomp-releases</id>
123 <name>ONAP Release Repository</name>
124 <url>https://nexus.onap.org/content/repositories/releases/</url>
127 <id>ecomp-staging</id>
128 <name>ONAP Staging Repository</name>
129 <url>https://nexus.onap.org/content/repositories/staging/</url>
132 <id>ecomp-snapshots</id>
133 <name>ONAP Snapshot Repository</name>
134 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
136 <enabled>true</enabled>
139 <enabled>false</enabled>
142 <!-- Camunda Web Repository -->
144 <id>CamundaWebRepo</id>
145 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
146 <name>Camunda Web Repository</name>
149 <id>CamundaPublicRepo</id>
150 <url>https://app.camunda.com/nexus/content/groups/public</url>
151 <name>Camunda Public repository</name>
156 <url>http://www.soapui.org/repository/maven2/</url>
157 <name>SoapUI plugin</name>
160 <!-- *********************************************************************************************************** -->
165 <directory>src/main/resources</directory>
166 <filtering>true</filtering>
169 <directory>target/generated-sources/license</directory>
171 <include>third-party-licenses.txt</include>
175 <directory>target/generated-resources/licenses</directory>
177 <include>*.*</include>
179 <targetPath>third-party-licenses</targetPath>
184 <groupId>org.sonatype.plugins</groupId>
185 <artifactId>nexus-staging-maven-plugin</artifactId>
186 <version>1.6.7</version>
187 <extensions>true</extensions>
189 <nexusUrl>${nexusproxy}</nexusUrl>
190 <stagingProfileId>176c31dfe190a</stagingProfileId>
191 <serverId>ecomp-staging</serverId>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-deploy-plugin</artifactId>
197 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-surefire-plugin</artifactId>
205 <version>2.19.1</version>
207 <argLine>${surefireArgLine}</argLine>
208 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
210 <exclude>**/IT*.java</exclude>
215 <groupId>org.apache.maven.plugins</groupId>
216 <artifactId>maven-compiler-plugin</artifactId>
217 <version>3.6.1</version>
220 <compilerArgument>-Xlint</compilerArgument>
221 <verbose>true</verbose>
222 <showDeprecation>true</showDeprecation>
223 <showWarnings>true</showWarnings>
229 <!-- <groupId>org.codehaus.mojo</groupId> -->
230 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
231 <!-- <version>2.1</version> -->
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-ejb-plugin</artifactId>
236 <version>2.2.1</version>
238 <ejbVersion>3.0</ejbVersion>
241 <addClasspath>true</addClasspath>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-checkstyle-plugin</artifactId>
249 <version>2.17</version>
251 <includes>**/org/openecomp/**/*.java</includes>
252 <configLocation>/google_checks.xml</configLocation>
256 <groupId>org.codehaus.mojo</groupId>
257 <artifactId>findbugs-maven-plugin</artifactId>
258 <version>2.5.2</version>
260 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
261 <nested>true</nested>
262 <findbugsXmlOutput>true</findbugsXmlOutput>
263 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
264 <xmlOutput>true</xmlOutput>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>sonar-maven-plugin</artifactId>
270 <version>3.2</version>
273 <artifactId>maven-scm-plugin</artifactId>
274 <version>1.8.1</version>
276 <tag>${project.artifactId}-${project.version}</tag>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-javadoc-plugin</artifactId>
282 <version>2.9</version>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-site-plugin</artifactId>
287 <version>3.6</version>
290 <groupId>org.apache.maven.wagon</groupId>
291 <artifactId>wagon-webdav-jackrabbit</artifactId>
292 <version>2.10</version>
297 <groupId>org.codehaus.mojo</groupId>
298 <artifactId>cobertura-maven-plugin</artifactId>
299 <version>2.5.2</version>
307 <groupId>org.codehaus.mojo</groupId>
308 <artifactId>versions-maven-plugin</artifactId>
309 <version>1.3.1</version>
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>jboss-packaging-maven-plugin</artifactId>
314 <version>2.2</version>
315 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
316 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
317 maven packaging type -->
318 <extensions>true</extensions>
321 <groupId>org.jacoco</groupId>
322 <artifactId>jacoco-maven-plugin</artifactId>
323 <version>0.7.7.201606060606</version>
325 <dumpOnExit>true</dumpOnExit>
327 <include>org.openecomp.*</include>
332 <id>pre-unit-test</id>
334 <goal>prepare-agent</goal>
337 <destFile>${sonar.jacoco.reportPath}</destFile>
338 <propertyName>surefireArgLine</propertyName>
344 <groupId>com.fortify.ps.maven.plugin</groupId>
345 <artifactId>sca-maven-plugin</artifactId>
346 <version>4.20</version>
348 <buildId>mso-${project.version}</buildId>
354 <!-- *********************************************************************************************************** -->
355 <!-- Dependencies -->
358 <groupId>junit</groupId>
359 <artifactId>junit</artifactId>
360 <version>4.12</version>
364 <dependencyManagement>
366 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
367 <!-- force use of version 4.5 everywhere in transient deps, aligned
368 on WildFly 10 version -->
370 <groupId>org.apache.httpcomponents</groupId>
371 <artifactId>httpclient</artifactId>
372 <version>4.5</version>
373 <scope>compile</scope>
376 <groupId>org.apache.httpcomponents</groupId>
377 <artifactId>httpcore</artifactId>
378 <version>4.4.1</version>
379 <scope>compile</scope>
382 <groupId>commons-codec</groupId>
383 <artifactId>commons-codec</artifactId>
384 <version>1.10</version>
385 <scope>compile</scope>
388 <groupId>commons-io</groupId>
389 <artifactId>commons-io</artifactId>
390 <version>2.5</version>
391 <scope>compile</scope>
394 <groupId>org.hamcrest</groupId>
395 <artifactId>hamcrest-core</artifactId>
396 <version>1.3</version>
400 <groupId>log4j</groupId>
401 <artifactId>log4j</artifactId>
402 <version>1.2.17</version>
403 <scope>compile</scope>
406 <groupId>org.slf4j</groupId>
407 <artifactId>slf4j-api</artifactId>
408 <version>1.7.10</version>
409 <scope>compile</scope>
412 <groupId>com.sun.xml.fastinfoset</groupId>
413 <artifactId>FastInfoset</artifactId>
414 <version>1.2.13</version>
415 <scope>compile</scope>
418 </dependencyManagement>