blob: fad299cb3cf3fe03e3fc499df5babbc4c70d6f44 [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>
Rob Daugherty8047b7c2017-08-01 11:56:58 -04004 <groupId>org.openecomp.so</groupId>
Rob Daugherty26419352017-08-04 15:55:54 -04005 <artifactId>so</artifactId>
ChrisC025301d2017-01-31 11:40:03 +01006 <packaging>pom</packaging>
ChrisC1ba1d192017-03-13 05:01:04 -07007 <version>1.1.0-SNAPSHOT</version>
ChrisC025301d2017-01-31 11:40:03 +01008 <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>
Andrew Grimbergd7486942017-03-29 13:51:39 -070015 <url>http://www.onap.org/</url>
ChrisC025301d2017-01-31 11:40:03 +010016 </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>
Rob Daugherty3efc13f2017-07-19 16:38:36 -040041 <openstack.version>1.1.0-SNAPSHOT</openstack.version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010042 <evosuiteVersion>1.0.4-alpha2</evosuiteVersion>
Andrew Grimbergd7486942017-03-29 13:51:39 -070043 <nexusproxy>https://nexus.onap.org</nexusproxy>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080044 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -070046 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Rob Daugherty2c5310a2017-07-20 11:09:23 -040047 <sitePath>/content/sites/site/org/onap/so/${project.version}</sitePath>
JulienBec3f8ddf2017-03-08 02:19:21 -080048 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
ChrisC025301d2017-01-31 11:40:03 +010049 </properties>
ChrisC025301d2017-01-31 11:40:03 +010050 <distributionManagement>
51 <repository>
JulienBeec92b1a2017-02-06 11:22:26 +010052 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +010053 <name>MSO Release Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080054 <url>${nexusproxy}/${releaseNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +010055 </repository>
56 <snapshotRepository>
JulienBeec92b1a2017-02-06 11:22:26 +010057 <id>ecomp-snapshots</id>
ChrisC025301d2017-01-31 11:40:03 +010058 <name>MSO Snapshot Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080059 <url>${nexusproxy}/${snapshotNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +010060 </snapshotRepository>
61 <site>
Anaël Closson5dd56472017-03-09 16:52:09 +010062 <id>ecomp-site</id>
63 <url>dav:${nexusproxy}${sitePath}</url>
ChrisC025301d2017-01-31 11:40:03 +010064 </site>
65 </distributionManagement>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010066 <reporting>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-javadoc-plugin</artifactId>
71 <version>2.10.4</version>
72 <configuration>
73 <failOnError>false</failOnError>
74 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
75 <docletArtifact>
76 <groupId>org.umlgraph</groupId>
77 <artifactId>umlgraph</artifactId>
78 <version>5.6</version>
79 </docletArtifact>
80 <additionalparam>-views</additionalparam>
81 <useStandardDocletOptions>true</useStandardDocletOptions>
82 </configuration>
83 </plugin>
84 </plugins>
85 </reporting>
86 <!-- configure build -->
ChrisC025301d2017-01-31 11:40:03 +010087 <!-- *********************************************************************************************************** -->
88 <!-- Plugins and repositories -->
89 <pluginRepositories>
90 <pluginRepository>
91 <id>central</id>
92 <url>http://repo1.maven.org/maven2</url>
93 </pluginRepository>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010094 <pluginRepository>
95 <id>EvoSuite</id>
96 <name>EvoSuite Repository</name>
97 <url>http://www.evosuite.org/m2</url>
98 </pluginRepository>
ChrisC025301d2017-01-31 11:40:03 +010099 </pluginRepositories>
ChrisC025301d2017-01-31 11:40:03 +0100100 <repositories>
101 <repository>
102 <id>central</id>
103 <name>Maven 2 repository 2</name>
104 <url>http://repo2.maven.org/maven2/</url>
105 </repository>
106 <repository>
107 <id>JBOSS</id>
108 <name>JBoss Repository</name>
109 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100110 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100111 <repository>
112 <id>jboss-deprecated-repository</id>
113 <name>JBoss Deprecated Maven Repository</name>
114 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
115 </repository>
116 <repository>
JulienBe4d74e802017-02-06 06:11:09 -0800117 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +0100118 <name>MSO Release Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -0800119 <url>${nexusproxy}/${releaseNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +0100120 </repository>
eh552t04bf14b2017-02-14 15:02:15 +0100121 <repository>
122 <id>ecomp-staging</id>
123 <name>MSO Staging Repository</name>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -0700124 <url>${nexusproxy}/${stagingNexusPath}</url>
eh552t04bf14b2017-02-14 15:02:15 +0100125 </repository>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -0700126 <repository>
127 <id>ecomp-snapshots</id>
128 <name>MSO Snapshot Repository</name>
129 <url>${nexusproxy}/${snapshotNexusPath}</url>
130 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100131 <!-- Camunda Web Repository -->
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100132 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100133 <id>CamundaWebRepo</id>
134 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
135 <name>Camunda Web Repository</name>
136 </repository>
137 <repository>
138 <id>CamundaPublicRepo</id>
139 <url>https://app.camunda.com/nexus/content/groups/public</url>
140 <name>Camunda Public repository</name>
141 </repository>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100142 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100143 <id>soapUI</id>
144 <url>http://www.soapui.org/repository/maven2/</url>
145 <name>SoapUI plugin</name>
146 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100147 </repositories>
148 <!-- *********************************************************************************************************** -->
149 <!-- Build -->
150 <build>
151 <resources>
152 <resource>
153 <directory>src/main/resources</directory>
154 <filtering>true</filtering>
155 </resource>
156 <resource>
157 <directory>target/generated-sources/license</directory>
158 <includes>
159 <include>third-party-licenses.txt</include>
160 </includes>
161 </resource>
162 <resource>
163 <directory>target/generated-resources/licenses</directory>
164 <includes>
165 <include>*.*</include>
166 </includes>
167 <targetPath>third-party-licenses</targetPath>
168 </resource>
169 </resources>
170 <plugins>
171 <plugin>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100172 <groupId>org.sonatype.plugins</groupId>
173 <artifactId>nexus-staging-maven-plugin</artifactId>
174 <version>1.6.7</version>
175 <extensions>true</extensions>
176 <configuration>
Andrew Grimbergc6aecd42017-02-15 03:39:18 -0800177 <nexusUrl>${nexusproxy}</nexusUrl>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100178 <stagingProfileId>176c31dfe190a</stagingProfileId>
179 <serverId>ecomp-staging</serverId>
180 </configuration>
181 </plugin>
182 <plugin>
ChrisC025301d2017-01-31 11:40:03 +0100183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-deploy-plugin</artifactId>
185 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Anaël Closson7fa6f162017-02-07 14:26:21 +0100186 <configuration>
187 <skip />
188 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100189 </plugin>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-surefire-plugin</artifactId>
193 <version>2.17</version>
194 <configuration>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100195 <!-- <forkCount>2C</forkCount>
196 <reuseForks>true</reuseForks> -->
ChrisC025301d2017-01-31 11:40:03 +0100197 <properties>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100198 <property>
199 <name>listener</name>
200 <value>org.evosuite.runtime.InitializingListener</value>
201 </property>
202 </properties>
ChrisC025301d2017-01-31 11:40:03 +0100203 </configuration>
204 </plugin>
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-compiler-plugin</artifactId>
xg353yb6b7bef2017-04-11 13:30:42 +0200208 <version>3.6.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100209 <configuration>
210 <debug>true</debug>
211 <compilerArgument>-Xlint</compilerArgument>
212 <verbose>true</verbose>
213 <showDeprecation>true</showDeprecation>
214 <showWarnings>true</showWarnings>
215 <source>1.8</source>
216 <target>1.8</target>
217 </configuration>
218 </plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100219 <!-- <plugin> -->
220 <!-- <groupId>org.codehaus.mojo</groupId> -->
221 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
222 <!-- <version>2.1</version> -->
223 <!-- </plugin> -->
ChrisC025301d2017-01-31 11:40:03 +0100224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-ejb-plugin</artifactId>
227 <version>2.2.1</version>
228 <configuration>
229 <ejbVersion>3.0</ejbVersion>
230 <archive>
231 <manifest>
232 <addClasspath>true</addClasspath>
233 </manifest>
234 </archive>
235 </configuration>
236 </plugin>
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-checkstyle-plugin</artifactId>
240 <version>2.17</version>
241 <configuration>
242 <includes>**/org/openecomp/**/*.java</includes>
243 <configLocation>/google_checks.xml</configLocation>
244 </configuration>
245 </plugin>
246 <plugin>
247 <groupId>org.codehaus.mojo</groupId>
248 <artifactId>findbugs-maven-plugin</artifactId>
249 <version>2.5.2</version>
250 <configuration>
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>
256 </configuration>
257 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100258 <plugin>
259 <groupId>org.codehaus.mojo</groupId>
260 <artifactId>sonar-maven-plugin</artifactId>
261 <version>3.2</version>
262 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100263 <plugin>
264 <artifactId>maven-scm-plugin</artifactId>
265 <version>1.8.1</version>
266 <configuration>
267 <tag>${project.artifactId}-${project.version}</tag>
268 </configuration>
269 </plugin>
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-javadoc-plugin</artifactId>
273 <version>2.9</version>
274 </plugin>
275 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100276 <groupId>org.apache.maven.plugins</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100277 <artifactId>maven-site-plugin</artifactId>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100278 <version>3.6</version>
279 <dependencies>
280 <dependency>
281 <groupId>org.apache.maven.wagon</groupId>
282 <artifactId>wagon-webdav-jackrabbit</artifactId>
283 <version>2.10</version>
284 </dependency>
285 </dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100286 </plugin>
287 <plugin>
288 <groupId>org.codehaus.mojo</groupId>
289 <artifactId>cobertura-maven-plugin</artifactId>
290 <version>2.5.2</version>
291 <configuration>
292 <formats>
293 <format>xml</format>
294 </formats>
295 </configuration>
296 </plugin>
297 <plugin>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>versions-maven-plugin</artifactId>
300 <version>1.3.1</version>
301 </plugin>
302 <plugin>
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>jboss-packaging-maven-plugin</artifactId>
305 <version>2.2</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100306 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
307 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
308 maven packaging type -->
ChrisC025301d2017-01-31 11:40:03 +0100309 <extensions>true</extensions>
310 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100311 <plugin>
312 <groupId>org.jacoco</groupId>
313 <artifactId>jacoco-maven-plugin</artifactId>
314 <version>0.7.7.201606060606</version>
315 <configuration>
316 <dumpOnExit>true</dumpOnExit>
317 <includes>
318 <include>org.openecomp.*</include>
319 </includes>
ChrisC025301d2017-01-31 11:40:03 +0100320 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100321 <executions>
322 <execution>
323 <id>jacoco-initialize-unit-tests</id>
324 <goals>
325 <goal>prepare-agent</goal>
326 </goals>
327 <configuration>
328 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
329 <!-- <append>true</append> -->
ChrisC025301d2017-01-31 11:40:03 +0100330 </configuration>
331 </execution>
332 </executions>
333 </plugin>
334 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100335 <groupId>com.fortify.ps.maven.plugin</groupId>
336 <artifactId>sca-maven-plugin</artifactId>
337 <version>4.20</version>
338 <configuration>
339 <buildId>mso-${project.version}</buildId>
xg353yb6b7bef2017-04-11 13:30:42 +0200340 <source>1.8</source>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100341 </configuration>
342 </plugin>
343 <!-- license plugin -->
344 <plugin>
345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>license-maven-plugin</artifactId>
347 <version>1.10</version>
348 <configuration>
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&amp;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>
361 </configuration>
362 <executions>
363 <execution>
364 <id>first</id>
365 <goals>
366 <goal>update-file-header</goal>
367 </goals>
368 <phase>process-sources</phase>
369 <configuration>
370 <licenseName>apache_v2</licenseName>
371 <includes>
372 <include>*.java</include>
373 <include>*.groovy</include>
374 </includes>
375 <excludes>
376 <exclude>*.json</exclude>
377 </excludes>
378 </configuration>
379 </execution>
380 </executions>
381 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100382 </plugins>
383 <pluginManagement>
384 <plugins>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100385 <plugin>
386 <groupId>org.evosuite.plugins</groupId>
387 <artifactId>evosuite-maven-plugin</artifactId>
388 <version>${evosuiteVersion}</version>
389 <executions>
390 <execution>
391 <goals>
392 <goal>prepare</goal>
393 </goals>
394 <phase>process-test-classes</phase>
395 </execution>
396 </executions>
397 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100398 </plugins>
399 </pluginManagement>
400 </build>
ChrisC025301d2017-01-31 11:40:03 +0100401 <!-- *********************************************************************************************************** -->
402 <!-- Dependencies -->
403 <dependencies>
404 <dependency>
405 <groupId>junit</groupId>
406 <artifactId>junit</artifactId>
xg353yb6b7bef2017-04-11 13:30:42 +0200407 <version>4.12</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100408 <scope>test</scope>
409 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100410 </dependencies>
411 <dependencyManagement>
412 <dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100413 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
414 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
415 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100416 <groupId>org.apache.httpcomponents</groupId>
417 <artifactId>httpclient</artifactId>
418 <version>4.5</version>
ChrisC025301d2017-01-31 11:40:03 +0100419 <scope>compile</scope>
420 </dependency>
421 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100422 <groupId>org.apache.httpcomponents</groupId>
423 <artifactId>httpcore</artifactId>
424 <version>4.4.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100425 <scope>compile</scope>
426 </dependency>
427 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100428 <groupId>commons-codec</groupId>
429 <artifactId>commons-codec</artifactId>
430 <version>1.10</version>
ChrisC025301d2017-01-31 11:40:03 +0100431 <scope>compile</scope>
432 </dependency>
433 <dependency>
434 <groupId>commons-io</groupId>
435 <artifactId>commons-io</artifactId>
436 <version>2.5</version>
437 <scope>compile</scope>
438 </dependency>
439 <dependency>
440 <groupId>org.hamcrest</groupId>
441 <artifactId>hamcrest-core</artifactId>
442 <version>1.3</version>
443 <scope>test</scope>
444 </dependency>
445 <dependency>
446 <groupId>log4j</groupId>
447 <artifactId>log4j</artifactId>
448 <version>1.2.17</version>
449 <scope>compile</scope>
450 </dependency>
451 <dependency>
452 <groupId>org.slf4j</groupId>
453 <artifactId>slf4j-api</artifactId>
454 <version>1.7.10</version>
455 <scope>compile</scope>
456 </dependency>
457 <dependency>
458 <groupId>com.sun.xml.fastinfoset</groupId>
459 <artifactId>FastInfoset</artifactId>
460 <version>1.2.13</version>
461 <scope>compile</scope>
462 </dependency>
463 </dependencies>
464 </dependencyManagement>
JulienBeec92b1a2017-02-06 11:22:26 +0100465</project>