blob: acbabf0b031d223d3e88e30302e3caa6f8800f26 [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Anaël Clossonc28ea7c2017-02-07 12:45:45 +01002 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
ChrisC025301d2017-01-31 11:40:03 +01003 <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>
ChrisC025301d2017-01-31 11:40:03 +01009 <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"
12 </description>
ChrisC025301d2017-01-31 11:40:03 +010013 <organization>
14 <name>OPENECOMP - MSO</name>
15 <url>http://www.openecomp.org/</url>
16 </organization>
17 <modules>
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>
24 <module>bpmn</module>
25 <module>packages</module>
26 </modules>
ChrisC025301d2017-01-31 11:40:03 +010027 <properties>
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>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010041 <evosuiteVersion>1.0.4-alpha2</evosuiteVersion>
ChrisC025301d2017-01-31 11:40:03 +010042 </properties>
ChrisC025301d2017-01-31 11:40:03 +010043 <distributionManagement>
44 <repository>
JulienBeec92b1a2017-02-06 11:22:26 +010045 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +010046 <name>MSO Release Repository</name>
JulienBeec92b1a2017-02-06 11:22:26 +010047 <url>https://nexus.openecomp.org/content/repositories/releases/</url>
ChrisC025301d2017-01-31 11:40:03 +010048 </repository>
49 <snapshotRepository>
JulienBeec92b1a2017-02-06 11:22:26 +010050 <id>ecomp-snapshots</id>
ChrisC025301d2017-01-31 11:40:03 +010051 <name>MSO Snapshot Repository</name>
JulienBeec92b1a2017-02-06 11:22:26 +010052 <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
ChrisC025301d2017-01-31 11:40:03 +010053 </snapshotRepository>
54 <site>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010055 <id>ecomp-javadoc</id>
56 <url>dav:https://ecomp-nexus:8443/repository/mso-javadoc/${project.version}</url>
ChrisC025301d2017-01-31 11:40:03 +010057 </site>
58 </distributionManagement>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010059 <reporting>
60 <plugins>
61 <plugin>
62 <groupId>org.apache.maven.plugins</groupId>
63 <artifactId>maven-javadoc-plugin</artifactId>
64 <version>2.10.4</version>
65 <configuration>
66 <failOnError>false</failOnError>
67 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
68 <docletArtifact>
69 <groupId>org.umlgraph</groupId>
70 <artifactId>umlgraph</artifactId>
71 <version>5.6</version>
72 </docletArtifact>
73 <additionalparam>-views</additionalparam>
74 <useStandardDocletOptions>true</useStandardDocletOptions>
75 </configuration>
76 </plugin>
77 </plugins>
78 </reporting>
79 <!-- configure build -->
ChrisC025301d2017-01-31 11:40:03 +010080 <!-- *********************************************************************************************************** -->
81 <!-- Plugins and repositories -->
82 <pluginRepositories>
83 <pluginRepository>
84 <id>central</id>
85 <url>http://repo1.maven.org/maven2</url>
86 </pluginRepository>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010087 <pluginRepository>
88 <id>EvoSuite</id>
89 <name>EvoSuite Repository</name>
90 <url>http://www.evosuite.org/m2</url>
91 </pluginRepository>
ChrisC025301d2017-01-31 11:40:03 +010092 </pluginRepositories>
ChrisC025301d2017-01-31 11:40:03 +010093 <repositories>
94 <repository>
95 <id>central</id>
96 <name>Maven 2 repository 2</name>
97 <url>http://repo2.maven.org/maven2/</url>
98 </repository>
99 <repository>
100 <id>JBOSS</id>
101 <name>JBoss Repository</name>
102 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100103 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100104 <repository>
105 <id>jboss-deprecated-repository</id>
106 <name>JBoss Deprecated Maven Repository</name>
107 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
108 </repository>
109 <repository>
JulienBe4d74e802017-02-06 06:11:09 -0800110 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +0100111 <name>MSO Release Repository</name>
JulienBe4d74e802017-02-06 06:11:09 -0800112 <url>https://nexus.openecomp.org/content/repositories/releases/</url>
ChrisC025301d2017-01-31 11:40:03 +0100113 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100114 <!-- Camunda Web Repository -->
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100115 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100116 <id>CamundaWebRepo</id>
117 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
118 <name>Camunda Web Repository</name>
119 </repository>
120 <repository>
121 <id>CamundaPublicRepo</id>
122 <url>https://app.camunda.com/nexus/content/groups/public</url>
123 <name>Camunda Public repository</name>
124 </repository>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100125 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100126 <id>soapUI</id>
127 <url>http://www.soapui.org/repository/maven2/</url>
128 <name>SoapUI plugin</name>
129 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100130 </repositories>
131 <!-- *********************************************************************************************************** -->
132 <!-- Build -->
133 <build>
134 <resources>
135 <resource>
136 <directory>src/main/resources</directory>
137 <filtering>true</filtering>
138 </resource>
139 <resource>
140 <directory>target/generated-sources/license</directory>
141 <includes>
142 <include>third-party-licenses.txt</include>
143 </includes>
144 </resource>
145 <resource>
146 <directory>target/generated-resources/licenses</directory>
147 <includes>
148 <include>*.*</include>
149 </includes>
150 <targetPath>third-party-licenses</targetPath>
151 </resource>
152 </resources>
153 <plugins>
154 <plugin>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100155 <groupId>org.sonatype.plugins</groupId>
156 <artifactId>nexus-staging-maven-plugin</artifactId>
157 <version>1.6.7</version>
158 <extensions>true</extensions>
159 <configuration>
160 <nexusUrl>http://nexus.openecomp.org/</nexusUrl>
161 <stagingProfileId>176c31dfe190a</stagingProfileId>
162 <serverId>ecomp-staging</serverId>
163 </configuration>
164 </plugin>
165 <plugin>
ChrisC025301d2017-01-31 11:40:03 +0100166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-deploy-plugin</artifactId>
168 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Anaël Closson7fa6f162017-02-07 14:26:21 +0100169 <configuration>
170 <skip />
171 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100172 </plugin>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-surefire-plugin</artifactId>
176 <version>2.17</version>
177 <configuration>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100178 <!-- <forkCount>2C</forkCount>
179 <reuseForks>true</reuseForks> -->
ChrisC025301d2017-01-31 11:40:03 +0100180 <properties>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100181 <property>
182 <name>listener</name>
183 <value>org.evosuite.runtime.InitializingListener</value>
184 </property>
185 </properties>
ChrisC025301d2017-01-31 11:40:03 +0100186 </configuration>
187 </plugin>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-compiler-plugin</artifactId>
191 <version>2.3.2</version>
192 <configuration>
193 <debug>true</debug>
194 <compilerArgument>-Xlint</compilerArgument>
195 <verbose>true</verbose>
196 <showDeprecation>true</showDeprecation>
197 <showWarnings>true</showWarnings>
198 <source>1.8</source>
199 <target>1.8</target>
200 </configuration>
201 </plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100202 <!-- <plugin> -->
203 <!-- <groupId>org.codehaus.mojo</groupId> -->
204 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
205 <!-- <version>2.1</version> -->
206 <!-- </plugin> -->
ChrisC025301d2017-01-31 11:40:03 +0100207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-ejb-plugin</artifactId>
210 <version>2.2.1</version>
211 <configuration>
212 <ejbVersion>3.0</ejbVersion>
213 <archive>
214 <manifest>
215 <addClasspath>true</addClasspath>
216 </manifest>
217 </archive>
218 </configuration>
219 </plugin>
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-checkstyle-plugin</artifactId>
223 <version>2.17</version>
224 <configuration>
225 <includes>**/org/openecomp/**/*.java</includes>
226 <configLocation>/google_checks.xml</configLocation>
227 </configuration>
228 </plugin>
229 <plugin>
230 <groupId>org.codehaus.mojo</groupId>
231 <artifactId>findbugs-maven-plugin</artifactId>
232 <version>2.5.2</version>
233 <configuration>
234 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
235 <nested>true</nested>
236 <findbugsXmlOutput>true</findbugsXmlOutput>
237 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
238 <xmlOutput>true</xmlOutput>
239 </configuration>
240 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100241 <plugin>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>sonar-maven-plugin</artifactId>
244 <version>3.2</version>
245 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100246 <plugin>
247 <artifactId>maven-scm-plugin</artifactId>
248 <version>1.8.1</version>
249 <configuration>
250 <tag>${project.artifactId}-${project.version}</tag>
251 </configuration>
252 </plugin>
253 <plugin>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-javadoc-plugin</artifactId>
256 <version>2.9</version>
257 </plugin>
258 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100259 <groupId>org.apache.maven.plugins</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100260 <artifactId>maven-site-plugin</artifactId>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100261 <version>3.6</version>
262 <dependencies>
263 <dependency>
264 <groupId>org.apache.maven.wagon</groupId>
265 <artifactId>wagon-webdav-jackrabbit</artifactId>
266 <version>2.10</version>
267 </dependency>
268 </dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100269 </plugin>
270 <plugin>
271 <groupId>org.codehaus.mojo</groupId>
272 <artifactId>cobertura-maven-plugin</artifactId>
273 <version>2.5.2</version>
274 <configuration>
275 <formats>
276 <format>xml</format>
277 </formats>
278 </configuration>
279 </plugin>
280 <plugin>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>versions-maven-plugin</artifactId>
283 <version>1.3.1</version>
284 </plugin>
285 <plugin>
286 <groupId>org.codehaus.mojo</groupId>
287 <artifactId>jboss-packaging-maven-plugin</artifactId>
288 <version>2.2</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100289 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
290 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
291 maven packaging type -->
ChrisC025301d2017-01-31 11:40:03 +0100292 <extensions>true</extensions>
293 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100294 <plugin>
295 <groupId>org.jacoco</groupId>
296 <artifactId>jacoco-maven-plugin</artifactId>
297 <version>0.7.7.201606060606</version>
298 <configuration>
299 <dumpOnExit>true</dumpOnExit>
300 <includes>
301 <include>org.openecomp.*</include>
302 </includes>
ChrisC025301d2017-01-31 11:40:03 +0100303 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100304 <executions>
305 <execution>
306 <id>jacoco-initialize-unit-tests</id>
307 <goals>
308 <goal>prepare-agent</goal>
309 </goals>
310 <configuration>
311 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
312 <!-- <append>true</append> -->
ChrisC025301d2017-01-31 11:40:03 +0100313 </configuration>
314 </execution>
315 </executions>
316 </plugin>
317 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100318 <groupId>com.fortify.ps.maven.plugin</groupId>
319 <artifactId>sca-maven-plugin</artifactId>
320 <version>4.20</version>
321 <configuration>
322 <buildId>mso-${project.version}</buildId>
323 <source>1.7</source>
324 </configuration>
325 </plugin>
326 <!-- license plugin -->
327 <plugin>
328 <groupId>org.codehaus.mojo</groupId>
329 <artifactId>license-maven-plugin</artifactId>
330 <version>1.10</version>
331 <configuration>
332 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
333 <processStartTag>============LICENSE_START=======================================================</processStartTag>
334 <processEndTag>============LICENSE_END=========================================================</processEndTag>
335 <sectionDelimiter>================================================================================</sectionDelimiter>
336 <licenseName>apache_v2</licenseName>
337 <inceptionYear>2017</inceptionYear>
338 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
339 <projectName>ECOMP MSO</projectName>
340 <canUpdateCopyright>true</canUpdateCopyright>
341 <canUpdateDescription>true</canUpdateDescription>
342 <canUpdateLicense>true</canUpdateLicense>
343 <emptyLineAfterHeader>true</emptyLineAfterHeader>
344 </configuration>
345 <executions>
346 <execution>
347 <id>first</id>
348 <goals>
349 <goal>update-file-header</goal>
350 </goals>
351 <phase>process-sources</phase>
352 <configuration>
353 <licenseName>apache_v2</licenseName>
354 <includes>
355 <include>*.java</include>
356 <include>*.groovy</include>
357 </includes>
358 <excludes>
359 <exclude>*.json</exclude>
360 </excludes>
361 </configuration>
362 </execution>
363 </executions>
364 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100365 </plugins>
366 <pluginManagement>
367 <plugins>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100368 <plugin>
369 <groupId>org.evosuite.plugins</groupId>
370 <artifactId>evosuite-maven-plugin</artifactId>
371 <version>${evosuiteVersion}</version>
372 <executions>
373 <execution>
374 <goals>
375 <goal>prepare</goal>
376 </goals>
377 <phase>process-test-classes</phase>
378 </execution>
379 </executions>
380 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100381 </plugins>
382 </pluginManagement>
383 </build>
ChrisC025301d2017-01-31 11:40:03 +0100384 <!-- *********************************************************************************************************** -->
385 <!-- Dependencies -->
386 <dependencies>
387 <dependency>
388 <groupId>junit</groupId>
389 <artifactId>junit</artifactId>
390 <version>4.11</version>
391 <scope>test</scope>
392 </dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100393 <dependency>
394 <groupId>org.evosuite</groupId>
395 <artifactId>evosuite-standalone-runtime</artifactId>
396 <version>${evosuiteVersion}</version>
397 <scope>test</scope>
398 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100399 </dependencies>
400 <dependencyManagement>
401 <dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100402 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
403 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
404 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100405 <groupId>org.apache.httpcomponents</groupId>
406 <artifactId>httpclient</artifactId>
407 <version>4.5</version>
ChrisC025301d2017-01-31 11:40:03 +0100408 <scope>compile</scope>
409 </dependency>
410 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100411 <groupId>org.apache.httpcomponents</groupId>
412 <artifactId>httpcore</artifactId>
413 <version>4.4.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100414 <scope>compile</scope>
415 </dependency>
416 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100417 <groupId>commons-codec</groupId>
418 <artifactId>commons-codec</artifactId>
419 <version>1.10</version>
ChrisC025301d2017-01-31 11:40:03 +0100420 <scope>compile</scope>
421 </dependency>
422 <dependency>
423 <groupId>commons-io</groupId>
424 <artifactId>commons-io</artifactId>
425 <version>2.5</version>
426 <scope>compile</scope>
427 </dependency>
428 <dependency>
429 <groupId>org.hamcrest</groupId>
430 <artifactId>hamcrest-core</artifactId>
431 <version>1.3</version>
432 <scope>test</scope>
433 </dependency>
434 <dependency>
435 <groupId>log4j</groupId>
436 <artifactId>log4j</artifactId>
437 <version>1.2.17</version>
438 <scope>compile</scope>
439 </dependency>
440 <dependency>
441 <groupId>org.slf4j</groupId>
442 <artifactId>slf4j-api</artifactId>
443 <version>1.7.10</version>
444 <scope>compile</scope>
445 </dependency>
446 <dependency>
447 <groupId>com.sun.xml.fastinfoset</groupId>
448 <artifactId>FastInfoset</artifactId>
449 <version>1.2.13</version>
450 <scope>compile</scope>
451 </dependency>
452 </dependencies>
453 </dependencyManagement>
JulienBeec92b1a2017-02-06 11:22:26 +0100454</project>