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</groupId>
5 <artifactId>mso</artifactId>
6 <packaging>pom</packaging>
7 <version>0.0.4-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.openecomp.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 <evosuiteVersion>1.0.4-alpha2</evosuiteVersion>
42 <nexusproxy>https://nexus.openecomp.org</nexusproxy>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <sitePath>/content/sites/site/org/openecomp/mso/${project.version}</sitePath>
46 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
48 <distributionManagement>
50 <id>ecomp-releases</id>
51 <name>MSO Release Repository</name>
52 <url>${nexusproxy}/${releaseNexusPath}</url>
55 <id>ecomp-snapshots</id>
56 <name>MSO Snapshot Repository</name>
57 <url>${nexusproxy}/${snapshotNexusPath}</url>
61 <url>dav:${nexusproxy}${sitePath}</url>
63 </distributionManagement>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-javadoc-plugin</artifactId>
69 <version>2.10.4</version>
71 <failOnError>false</failOnError>
72 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
74 <groupId>org.umlgraph</groupId>
75 <artifactId>umlgraph</artifactId>
76 <version>5.6</version>
78 <additionalparam>-views</additionalparam>
79 <useStandardDocletOptions>true</useStandardDocletOptions>
84 <!-- configure build -->
85 <!-- *********************************************************************************************************** -->
86 <!-- Plugins and repositories -->
90 <url>http://repo1.maven.org/maven2</url>
94 <name>EvoSuite Repository</name>
95 <url>http://www.evosuite.org/m2</url>
101 <name>Maven 2 repository 2</name>
102 <url>http://repo2.maven.org/maven2/</url>
106 <name>JBoss Repository</name>
107 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
110 <id>jboss-deprecated-repository</id>
111 <name>JBoss Deprecated Maven Repository</name>
112 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
115 <id>ecomp-releases</id>
116 <name>MSO Release Repository</name>
117 <url>${nexusproxy}/${releaseNexusPath}</url>
120 <id>ecomp-staging</id>
121 <name>MSO Staging Repository</name>
122 <url>${nexusproxy}/content/repositories/staging/</url>
124 <!-- Camunda Web Repository -->
126 <id>CamundaWebRepo</id>
127 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
128 <name>Camunda Web Repository</name>
131 <id>CamundaPublicRepo</id>
132 <url>https://app.camunda.com/nexus/content/groups/public</url>
133 <name>Camunda Public repository</name>
137 <url>http://www.soapui.org/repository/maven2/</url>
138 <name>SoapUI plugin</name>
141 <!-- *********************************************************************************************************** -->
146 <directory>src/main/resources</directory>
147 <filtering>true</filtering>
150 <directory>target/generated-sources/license</directory>
152 <include>third-party-licenses.txt</include>
156 <directory>target/generated-resources/licenses</directory>
158 <include>*.*</include>
160 <targetPath>third-party-licenses</targetPath>
165 <groupId>org.sonatype.plugins</groupId>
166 <artifactId>nexus-staging-maven-plugin</artifactId>
167 <version>1.6.7</version>
168 <extensions>true</extensions>
170 <nexusUrl>${nexusproxy}</nexusUrl>
171 <stagingProfileId>176c31dfe190a</stagingProfileId>
172 <serverId>ecomp-staging</serverId>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-deploy-plugin</artifactId>
178 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-surefire-plugin</artifactId>
186 <version>2.17</version>
188 <!-- <forkCount>2C</forkCount>
189 <reuseForks>true</reuseForks> -->
192 <name>listener</name>
193 <value>org.evosuite.runtime.InitializingListener</value>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-compiler-plugin</artifactId>
201 <version>2.3.2</version>
204 <compilerArgument>-Xlint</compilerArgument>
205 <verbose>true</verbose>
206 <showDeprecation>true</showDeprecation>
207 <showWarnings>true</showWarnings>
213 <!-- <groupId>org.codehaus.mojo</groupId> -->
214 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
215 <!-- <version>2.1</version> -->
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-ejb-plugin</artifactId>
220 <version>2.2.1</version>
222 <ejbVersion>3.0</ejbVersion>
225 <addClasspath>true</addClasspath>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-checkstyle-plugin</artifactId>
233 <version>2.17</version>
235 <includes>**/org/openecomp/**/*.java</includes>
236 <configLocation>/google_checks.xml</configLocation>
240 <groupId>org.codehaus.mojo</groupId>
241 <artifactId>findbugs-maven-plugin</artifactId>
242 <version>2.5.2</version>
244 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
245 <nested>true</nested>
246 <findbugsXmlOutput>true</findbugsXmlOutput>
247 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
248 <xmlOutput>true</xmlOutput>
252 <groupId>org.codehaus.mojo</groupId>
253 <artifactId>sonar-maven-plugin</artifactId>
254 <version>3.2</version>
257 <artifactId>maven-scm-plugin</artifactId>
258 <version>1.8.1</version>
260 <tag>${project.artifactId}-${project.version}</tag>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-javadoc-plugin</artifactId>
266 <version>2.9</version>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-site-plugin</artifactId>
271 <version>3.6</version>
274 <groupId>org.apache.maven.wagon</groupId>
275 <artifactId>wagon-webdav-jackrabbit</artifactId>
276 <version>2.10</version>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>cobertura-maven-plugin</artifactId>
283 <version>2.5.2</version>
291 <groupId>org.codehaus.mojo</groupId>
292 <artifactId>versions-maven-plugin</artifactId>
293 <version>1.3.1</version>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>jboss-packaging-maven-plugin</artifactId>
298 <version>2.2</version>
299 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
300 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
301 maven packaging type -->
302 <extensions>true</extensions>
305 <groupId>org.jacoco</groupId>
306 <artifactId>jacoco-maven-plugin</artifactId>
307 <version>0.7.7.201606060606</version>
309 <dumpOnExit>true</dumpOnExit>
311 <include>org.openecomp.*</include>
316 <id>jacoco-initialize-unit-tests</id>
318 <goal>prepare-agent</goal>
321 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
322 <!-- <append>true</append> -->
328 <groupId>com.fortify.ps.maven.plugin</groupId>
329 <artifactId>sca-maven-plugin</artifactId>
330 <version>4.20</version>
332 <buildId>mso-${project.version}</buildId>
336 <!-- license plugin -->
338 <groupId>org.codehaus.mojo</groupId>
339 <artifactId>license-maven-plugin</artifactId>
340 <version>1.10</version>
342 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
343 <processStartTag>============LICENSE_START=======================================================</processStartTag>
344 <processEndTag>============LICENSE_END=========================================================</processEndTag>
345 <sectionDelimiter>================================================================================</sectionDelimiter>
346 <licenseName>apache_v2</licenseName>
347 <inceptionYear>2017</inceptionYear>
348 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
349 <projectName>ECOMP MSO</projectName>
350 <canUpdateCopyright>true</canUpdateCopyright>
351 <canUpdateDescription>true</canUpdateDescription>
352 <canUpdateLicense>true</canUpdateLicense>
353 <emptyLineAfterHeader>true</emptyLineAfterHeader>
359 <goal>update-file-header</goal>
361 <phase>process-sources</phase>
363 <licenseName>apache_v2</licenseName>
365 <include>*.java</include>
366 <include>*.groovy</include>
369 <exclude>*.json</exclude>
379 <groupId>org.evosuite.plugins</groupId>
380 <artifactId>evosuite-maven-plugin</artifactId>
381 <version>${evosuiteVersion}</version>
387 <phase>process-test-classes</phase>
394 <!-- *********************************************************************************************************** -->
395 <!-- Dependencies -->
398 <groupId>junit</groupId>
399 <artifactId>junit</artifactId>
400 <version>4.11</version>
404 <groupId>org.evosuite</groupId>
405 <artifactId>evosuite-standalone-runtime</artifactId>
406 <version>${evosuiteVersion}</version>
410 <dependencyManagement>
412 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
413 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
415 <groupId>org.apache.httpcomponents</groupId>
416 <artifactId>httpclient</artifactId>
417 <version>4.5</version>
418 <scope>compile</scope>
421 <groupId>org.apache.httpcomponents</groupId>
422 <artifactId>httpcore</artifactId>
423 <version>4.4.1</version>
424 <scope>compile</scope>
427 <groupId>commons-codec</groupId>
428 <artifactId>commons-codec</artifactId>
429 <version>1.10</version>
430 <scope>compile</scope>
433 <groupId>commons-io</groupId>
434 <artifactId>commons-io</artifactId>
435 <version>2.5</version>
436 <scope>compile</scope>
439 <groupId>org.hamcrest</groupId>
440 <artifactId>hamcrest-core</artifactId>
441 <version>1.3</version>
445 <groupId>log4j</groupId>
446 <artifactId>log4j</artifactId>
447 <version>1.2.17</version>
448 <scope>compile</scope>
451 <groupId>org.slf4j</groupId>
452 <artifactId>slf4j-api</artifactId>
453 <version>1.7.10</version>
454 <scope>compile</scope>
457 <groupId>com.sun.xml.fastinfoset</groupId>
458 <artifactId>FastInfoset</artifactId>
459 <version>1.2.13</version>
460 <scope>compile</scope>
463 </dependencyManagement>