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>
10 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
11 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
12 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
16 <name>OPENECOMP - MSO</name>
17 <url>http://www.openecomp.org/</url>
20 <module>common</module>
21 <module>mso-api-handlers</module>
22 <module>mso-catalog-db</module>
23 <module>adapters</module>
24 <module>asdc-controller</module>
25 <module>status-control</module>
27 <module>packages</module>
31 <project.mso.base.folder>.</project.mso.base.folder>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
34 <sonar.language>java</sonar.language>
35 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
36 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
37 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
38 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
39 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
40 <sonar.projectVersion>${project.version}</sonar.projectVersion>
41 <org.apache.maven.user-settings></org.apache.maven.user-settings>
42 <!-- this is used for Chef mso-code cookbook -->
43 <swm.version>2.19.3-1</swm.version>
44 <evosuiteVersion>1.0.4-alpha2</evosuiteVersion>
47 <distributionManagement>
50 <name>MSO Release Repository</name>
51 <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
54 <id>mso-snapshots</id>
55 <name>MSO Snapshot Repository</name>
56 <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
60 <url>dav:https://ecomp-nexus:8443/repository/mso-javadoc/${project.version}</url>
62 </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>
85 <!-- configure build -->
87 <!-- *********************************************************************************************************** -->
88 <!-- Plugins and repositories -->
92 <url>http://repo1.maven.org/maven2</url>
97 <name>EvoSuite Repository</name>
98 <url>http://www.evosuite.org/m2</url>
100 </pluginRepositories>
105 <name>Maven 2 repository 2</name>
106 <url>http://repo2.maven.org/maven2/</url>
110 <name>JBoss Repository</name>
111 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
114 <id>jboss-deprecated-repository</id>
115 <name>JBoss Deprecated Maven Repository</name>
116 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
119 <id>mso-releases</id>
120 <name>MSO Release Repository</name>
121 <url>https://ecomp-nexus:8443/repository/maven-releases/</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>
136 <!-- For Cambria Client -->
138 <id>ecomp-nexus-public</id>
139 <name>ECOMP Nexus Public Repository</name>
140 <url>https://ecomp-nexus:8443/repository/maven-public</url>
145 <url>http://www.soapui.org/repository/maven2/</url>
146 <name>SoapUI plugin</name>
150 <!-- *********************************************************************************************************** -->
155 <directory>src/main/resources</directory>
156 <filtering>true</filtering>
159 <directory>target/generated-sources/license</directory>
161 <include>third-party-licenses.txt</include>
165 <directory>target/generated-resources/licenses</directory>
167 <include>*.*</include>
169 <targetPath>third-party-licenses</targetPath>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-deploy-plugin</artifactId>
176 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-surefire-plugin</artifactId>
181 <version>2.17</version>
183 <!-- <forkCount>2C</forkCount>
184 <reuseForks>true</reuseForks> -->
187 <name>listener</name>
188 <value>org.evosuite.runtime.InitializingListener</value>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-compiler-plugin</artifactId>
196 <version>2.3.2</version>
199 <compilerArgument>-Xlint</compilerArgument>
200 <verbose>true</verbose>
201 <showDeprecation>true</showDeprecation>
202 <showWarnings>true</showWarnings>
208 <!-- <groupId>org.codehaus.mojo</groupId> -->
209 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
210 <!-- <version>2.1</version> -->
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-ejb-plugin</artifactId>
215 <version>2.2.1</version>
217 <ejbVersion>3.0</ejbVersion>
220 <addClasspath>true</addClasspath>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-checkstyle-plugin</artifactId>
228 <version>2.17</version>
230 <includes>**/org/openecomp/**/*.java</includes>
231 <configLocation>/google_checks.xml</configLocation>
235 <groupId>org.codehaus.mojo</groupId>
236 <artifactId>findbugs-maven-plugin</artifactId>
237 <version>2.5.2</version>
239 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
240 <nested>true</nested>
241 <findbugsXmlOutput>true</findbugsXmlOutput>
242 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
243 <xmlOutput>true</xmlOutput>
248 <groupId>org.codehaus.mojo</groupId>
249 <artifactId>sonar-maven-plugin</artifactId>
250 <version>3.2</version>
254 <artifactId>maven-scm-plugin</artifactId>
255 <version>1.8.1</version>
257 <tag>${project.artifactId}-${project.version}</tag>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-javadoc-plugin</artifactId>
263 <version>2.9</version>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-site-plugin</artifactId>
268 <version>3.6</version>
271 <groupId>org.apache.maven.wagon</groupId>
272 <artifactId>wagon-webdav-jackrabbit</artifactId>
273 <version>2.10</version>
278 <groupId>org.codehaus.mojo</groupId>
279 <artifactId>cobertura-maven-plugin</artifactId>
280 <version>2.5.2</version>
288 <groupId>org.codehaus.mojo</groupId>
289 <artifactId>versions-maven-plugin</artifactId>
290 <version>1.3.1</version>
293 <groupId>org.codehaus.mojo</groupId>
294 <artifactId>jboss-packaging-maven-plugin</artifactId>
295 <version>2.2</version>
296 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
297 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
298 maven packaging type -->
299 <extensions>true</extensions>
303 <groupId>org.jacoco</groupId>
304 <artifactId>jacoco-maven-plugin</artifactId>
305 <version>0.7.7.201606060606</version>
307 <dumpOnExit>true</dumpOnExit>
309 <include>org.openecomp.*</include>
317 <id>jacoco-initialize-unit-tests</id>
319 <goal>prepare-agent</goal>
322 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
323 <!-- <append>true</append> -->
331 <groupId>com.fortify.ps.maven.plugin</groupId>
332 <artifactId>sca-maven-plugin</artifactId>
333 <version>4.20</version>
335 <buildId>mso-${project.version}</buildId>
340 <!-- license plugin -->
342 <groupId>org.codehaus.mojo</groupId>
343 <artifactId>license-maven-plugin</artifactId>
344 <version>1.10</version>
346 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
347 <processStartTag>============LICENSE_START=======================================================</processStartTag>
348 <processEndTag>============LICENSE_END=========================================================</processEndTag>
349 <sectionDelimiter>================================================================================</sectionDelimiter>
350 <licenseName>apache_v2</licenseName>
351 <inceptionYear>2017</inceptionYear>
352 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
353 <projectName>ECOMP MSO</projectName>
354 <canUpdateCopyright>true</canUpdateCopyright>
355 <canUpdateDescription>true</canUpdateDescription>
356 <canUpdateLicense>true</canUpdateLicense>
357 <emptyLineAfterHeader>true</emptyLineAfterHeader>
363 <goal>update-file-header</goal>
365 <phase>process-sources</phase>
367 <licenseName>apache_v2</licenseName>
369 <include>*.java</include>
370 <include>*.groovy</include>
373 <exclude>*.json</exclude>
385 <groupId>org.evosuite.plugins</groupId>
386 <artifactId>evosuite-maven-plugin</artifactId>
387 <version>${evosuiteVersion}</version>
393 <phase>process-test-classes</phase>
401 <!-- *********************************************************************************************************** -->
402 <!-- Dependencies -->
405 <groupId>junit</groupId>
406 <artifactId>junit</artifactId>
407 <version>4.11</version>
411 <groupId>org.evosuite</groupId>
412 <artifactId>evosuite-standalone-runtime</artifactId>
413 <version>${evosuiteVersion}</version>
417 <dependencyManagement>
421 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
422 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
424 <groupId>org.apache.httpcomponents</groupId>
425 <artifactId>httpclient</artifactId>
426 <version>4.5</version>
427 <scope>compile</scope>
430 <groupId>org.apache.httpcomponents</groupId>
431 <artifactId>httpcore</artifactId>
432 <version>4.4.1</version>
433 <scope>compile</scope>
436 <groupId>commons-codec</groupId>
437 <artifactId>commons-codec</artifactId>
438 <version>1.10</version>
439 <scope>compile</scope>
442 <groupId>commons-io</groupId>
443 <artifactId>commons-io</artifactId>
444 <version>2.5</version>
445 <scope>compile</scope>
448 <groupId>org.hamcrest</groupId>
449 <artifactId>hamcrest-core</artifactId>
450 <version>1.3</version>
454 <groupId>log4j</groupId>
455 <artifactId>log4j</artifactId>
456 <version>1.2.17</version>
457 <scope>compile</scope>
460 <groupId>org.slf4j</groupId>
461 <artifactId>slf4j-api</artifactId>
462 <version>1.7.10</version>
463 <scope>compile</scope>
466 <groupId>com.sun.xml.fastinfoset</groupId>
467 <artifactId>FastInfoset</artifactId>
468 <version>1.2.13</version>
469 <scope>compile</scope>
472 </dependencyManagement>