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>
8 <name>MSO main project</name>
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 <evosuiteVersion>1.0.4-alpha2</evosuiteVersion>
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47 <sitePath>/content/sites/site/org/onap/so/${project.version}</sitePath>
48 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
50 <distributionManagement>
52 <id>ecomp-releases</id>
53 <name>MSO Release Repository</name>
54 <url>${nexusproxy}/${releaseNexusPath}</url>
57 <id>ecomp-snapshots</id>
58 <name>MSO Snapshot Repository</name>
59 <url>${nexusproxy}/${snapshotNexusPath}</url>
63 <url>dav:${nexusproxy}${sitePath}</url>
65 </distributionManagement>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-javadoc-plugin</artifactId>
71 <version>2.10.4</version>
73 <failOnError>false</failOnError>
74 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
76 <groupId>org.umlgraph</groupId>
77 <artifactId>umlgraph</artifactId>
78 <version>5.6</version>
80 <additionalparam>-views</additionalparam>
81 <useStandardDocletOptions>true</useStandardDocletOptions>
86 <!-- configure build -->
87 <!-- *********************************************************************************************************** -->
88 <!-- Plugins and repositories -->
92 <url>http://repo1.maven.org/maven2</url>
96 <name>EvoSuite Repository</name>
97 <url>http://www.evosuite.org/m2</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>
122 <id>ecomp-staging</id>
123 <name>MSO Staging Repository</name>
124 <url>${nexusproxy}/${stagingNexusPath}</url>
127 <id>ecomp-snapshots</id>
128 <name>MSO Snapshot Repository</name>
129 <url>${nexusproxy}/${snapshotNexusPath}</url>
131 <!-- Camunda Web Repository -->
133 <id>CamundaWebRepo</id>
134 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
135 <name>Camunda Web Repository</name>
138 <id>CamundaPublicRepo</id>
139 <url>https://app.camunda.com/nexus/content/groups/public</url>
140 <name>Camunda Public repository</name>
144 <url>http://www.soapui.org/repository/maven2/</url>
145 <name>SoapUI plugin</name>
148 <!-- *********************************************************************************************************** -->
153 <directory>src/main/resources</directory>
154 <filtering>true</filtering>
157 <directory>target/generated-sources/license</directory>
159 <include>third-party-licenses.txt</include>
163 <directory>target/generated-resources/licenses</directory>
165 <include>*.*</include>
167 <targetPath>third-party-licenses</targetPath>
172 <groupId>org.sonatype.plugins</groupId>
173 <artifactId>nexus-staging-maven-plugin</artifactId>
174 <version>1.6.7</version>
175 <extensions>true</extensions>
177 <nexusUrl>${nexusproxy}</nexusUrl>
178 <stagingProfileId>176c31dfe190a</stagingProfileId>
179 <serverId>ecomp-staging</serverId>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-deploy-plugin</artifactId>
185 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-surefire-plugin</artifactId>
193 <version>2.17</version>
195 <!-- <forkCount>2C</forkCount>
196 <reuseForks>true</reuseForks> -->
199 <name>listener</name>
200 <value>org.evosuite.runtime.InitializingListener</value>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-compiler-plugin</artifactId>
208 <version>3.6.1</version>
211 <compilerArgument>-Xlint</compilerArgument>
212 <verbose>true</verbose>
213 <showDeprecation>true</showDeprecation>
214 <showWarnings>true</showWarnings>
220 <!-- <groupId>org.codehaus.mojo</groupId> -->
221 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
222 <!-- <version>2.1</version> -->
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-ejb-plugin</artifactId>
227 <version>2.2.1</version>
229 <ejbVersion>3.0</ejbVersion>
232 <addClasspath>true</addClasspath>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-checkstyle-plugin</artifactId>
240 <version>2.17</version>
242 <includes>**/org/openecomp/**/*.java</includes>
243 <configLocation>/google_checks.xml</configLocation>
247 <groupId>org.codehaus.mojo</groupId>
248 <artifactId>findbugs-maven-plugin</artifactId>
249 <version>2.5.2</version>
251 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
252 <nested>true</nested>
253 <findbugsXmlOutput>true</findbugsXmlOutput>
254 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
255 <xmlOutput>true</xmlOutput>
259 <groupId>org.codehaus.mojo</groupId>
260 <artifactId>sonar-maven-plugin</artifactId>
261 <version>3.2</version>
264 <artifactId>maven-scm-plugin</artifactId>
265 <version>1.8.1</version>
267 <tag>${project.artifactId}-${project.version}</tag>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-javadoc-plugin</artifactId>
273 <version>2.9</version>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-site-plugin</artifactId>
278 <version>3.6</version>
281 <groupId>org.apache.maven.wagon</groupId>
282 <artifactId>wagon-webdav-jackrabbit</artifactId>
283 <version>2.10</version>
288 <groupId>org.codehaus.mojo</groupId>
289 <artifactId>cobertura-maven-plugin</artifactId>
290 <version>2.5.2</version>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>versions-maven-plugin</artifactId>
300 <version>1.3.1</version>
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>jboss-packaging-maven-plugin</artifactId>
305 <version>2.2</version>
306 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
307 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
308 maven packaging type -->
309 <extensions>true</extensions>
312 <groupId>org.jacoco</groupId>
313 <artifactId>jacoco-maven-plugin</artifactId>
314 <version>0.7.7.201606060606</version>
316 <dumpOnExit>true</dumpOnExit>
318 <include>org.openecomp.*</include>
323 <id>jacoco-initialize-unit-tests</id>
325 <goal>prepare-agent</goal>
328 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
329 <!-- <append>true</append> -->
335 <groupId>com.fortify.ps.maven.plugin</groupId>
336 <artifactId>sca-maven-plugin</artifactId>
337 <version>4.20</version>
339 <buildId>mso-${project.version}</buildId>
343 <!-- license plugin -->
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>license-maven-plugin</artifactId>
347 <version>1.10</version>
349 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
350 <processStartTag>============LICENSE_START=======================================================</processStartTag>
351 <processEndTag>============LICENSE_END=========================================================</processEndTag>
352 <sectionDelimiter>================================================================================</sectionDelimiter>
353 <licenseName>apache_v2</licenseName>
354 <inceptionYear>2017</inceptionYear>
355 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
356 <projectName>ECOMP MSO</projectName>
357 <canUpdateCopyright>true</canUpdateCopyright>
358 <canUpdateDescription>true</canUpdateDescription>
359 <canUpdateLicense>true</canUpdateLicense>
360 <emptyLineAfterHeader>true</emptyLineAfterHeader>
366 <goal>update-file-header</goal>
368 <phase>process-sources</phase>
370 <licenseName>apache_v2</licenseName>
372 <include>*.java</include>
373 <include>*.groovy</include>
376 <exclude>*.json</exclude>
386 <groupId>org.evosuite.plugins</groupId>
387 <artifactId>evosuite-maven-plugin</artifactId>
388 <version>${evosuiteVersion}</version>
394 <phase>process-test-classes</phase>
401 <!-- *********************************************************************************************************** -->
402 <!-- Dependencies -->
405 <groupId>junit</groupId>
406 <artifactId>junit</artifactId>
407 <version>4.12</version>
411 <dependencyManagement>
413 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
414 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
416 <groupId>org.apache.httpcomponents</groupId>
417 <artifactId>httpclient</artifactId>
418 <version>4.5</version>
419 <scope>compile</scope>
422 <groupId>org.apache.httpcomponents</groupId>
423 <artifactId>httpcore</artifactId>
424 <version>4.4.1</version>
425 <scope>compile</scope>
428 <groupId>commons-codec</groupId>
429 <artifactId>commons-codec</artifactId>
430 <version>1.10</version>
431 <scope>compile</scope>
434 <groupId>commons-io</groupId>
435 <artifactId>commons-io</artifactId>
436 <version>2.5</version>
437 <scope>compile</scope>
440 <groupId>org.hamcrest</groupId>
441 <artifactId>hamcrest-core</artifactId>
442 <version>1.3</version>
446 <groupId>log4j</groupId>
447 <artifactId>log4j</artifactId>
448 <version>1.2.17</version>
449 <scope>compile</scope>
452 <groupId>org.slf4j</groupId>
453 <artifactId>slf4j-api</artifactId>
454 <version>1.7.10</version>
455 <scope>compile</scope>
458 <groupId>com.sun.xml.fastinfoset</groupId>
459 <artifactId>FastInfoset</artifactId>
460 <version>1.2.13</version>
461 <scope>compile</scope>
464 </dependencyManagement>