blob: 39c12df54fdb4b830442bf8b27311a61109b322b [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 Daughertyec9600d2017-09-27 06:11:26 -04004
5 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
9 <relativePath/>
10 </parent>
11
Rob Daugherty8047b7c2017-08-01 11:56:58 -040012 <groupId>org.openecomp.so</groupId>
Rob Daugherty26419352017-08-04 15:55:54 -040013 <artifactId>so</artifactId>
ChrisC025301d2017-01-31 11:40:03 +010014 <packaging>pom</packaging>
ChrisC1ba1d192017-03-13 05:01:04 -070015 <version>1.1.0-SNAPSHOT</version>
Jessica Wagantall9c03f462017-09-08 12:46:01 -070016 <name>so</name>
ChrisC025301d2017-01-31 11:40:03 +010017 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
18 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
19 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
20 </description>
ChrisC025301d2017-01-31 11:40:03 +010021 <organization>
22 <name>OPENECOMP - MSO</name>
Andrew Grimbergd7486942017-03-29 13:51:39 -070023 <url>http://www.onap.org/</url>
ChrisC025301d2017-01-31 11:40:03 +010024 </organization>
25 <modules>
26 <module>common</module>
27 <module>mso-api-handlers</module>
28 <module>mso-catalog-db</module>
29 <module>adapters</module>
30 <module>asdc-controller</module>
31 <module>status-control</module>
32 <module>bpmn</module>
33 <module>packages</module>
34 </modules>
ChrisC025301d2017-01-31 11:40:03 +010035 <properties>
36 <project.mso.base.folder>.</project.mso.base.folder>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39 <sonar.language>java</sonar.language>
40 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
41 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
42 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
43 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
44 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
45 <sonar.projectVersion>${project.version}</sonar.projectVersion>
46 <org.apache.maven.user-settings></org.apache.maven.user-settings>
47 <!-- this is used for Chef mso-code cookbook -->
48 <swm.version>2.19.3-1</swm.version>
Rob Daugherty3efc13f2017-07-19 16:38:36 -040049 <openstack.version>1.1.0-SNAPSHOT</openstack.version>
Andrew Grimbergd7486942017-03-29 13:51:39 -070050 <nexusproxy>https://nexus.onap.org</nexusproxy>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080051 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -070053 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Rob Daugherty2c5310a2017-07-20 11:09:23 -040054 <sitePath>/content/sites/site/org/onap/so/${project.version}</sitePath>
JulienBec3f8ddf2017-03-08 02:19:21 -080055 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
ChrisC025301d2017-01-31 11:40:03 +010056 </properties>
ChrisC025301d2017-01-31 11:40:03 +010057 <distributionManagement>
58 <repository>
JulienBeec92b1a2017-02-06 11:22:26 +010059 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +010060 <name>MSO Release Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080061 <url>${nexusproxy}/${releaseNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +010062 </repository>
63 <snapshotRepository>
JulienBeec92b1a2017-02-06 11:22:26 +010064 <id>ecomp-snapshots</id>
ChrisC025301d2017-01-31 11:40:03 +010065 <name>MSO Snapshot Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080066 <url>${nexusproxy}/${snapshotNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +010067 </snapshotRepository>
68 <site>
Anaël Closson5dd56472017-03-09 16:52:09 +010069 <id>ecomp-site</id>
70 <url>dav:${nexusproxy}${sitePath}</url>
ChrisC025301d2017-01-31 11:40:03 +010071 </site>
72 </distributionManagement>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010073 <reporting>
74 <plugins>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-javadoc-plugin</artifactId>
78 <version>2.10.4</version>
79 <configuration>
80 <failOnError>false</failOnError>
81 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
82 <docletArtifact>
83 <groupId>org.umlgraph</groupId>
84 <artifactId>umlgraph</artifactId>
85 <version>5.6</version>
86 </docletArtifact>
87 <additionalparam>-views</additionalparam>
88 <useStandardDocletOptions>true</useStandardDocletOptions>
89 </configuration>
90 </plugin>
91 </plugins>
92 </reporting>
93 <!-- configure build -->
ChrisC025301d2017-01-31 11:40:03 +010094 <!-- *********************************************************************************************************** -->
95 <!-- Plugins and repositories -->
96 <pluginRepositories>
97 <pluginRepository>
98 <id>central</id>
99 <url>http://repo1.maven.org/maven2</url>
100 </pluginRepository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400101
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100102 <pluginRepository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400103 <id>Restlet</id>
104 <name>Restlet Repository</name>
105 <url>http://maven.restlet.com</url>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100106 </pluginRepository>
ChrisC025301d2017-01-31 11:40:03 +0100107 </pluginRepositories>
ChrisC025301d2017-01-31 11:40:03 +0100108 <repositories>
109 <repository>
110 <id>central</id>
111 <name>Maven 2 repository 2</name>
112 <url>http://repo2.maven.org/maven2/</url>
113 </repository>
114 <repository>
115 <id>JBOSS</id>
116 <name>JBoss Repository</name>
117 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100118 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100119 <repository>
120 <id>jboss-deprecated-repository</id>
121 <name>JBoss Deprecated Maven Repository</name>
122 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
123 </repository>
124 <repository>
JulienBe4d74e802017-02-06 06:11:09 -0800125 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +0100126 <name>MSO Release Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -0800127 <url>${nexusproxy}/${releaseNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +0100128 </repository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400129
eh552t04bf14b2017-02-14 15:02:15 +0100130 <repository>
131 <id>ecomp-staging</id>
132 <name>MSO Staging Repository</name>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -0700133 <url>${nexusproxy}/${stagingNexusPath}</url>
eh552t04bf14b2017-02-14 15:02:15 +0100134 </repository>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -0700135 <repository>
136 <id>ecomp-snapshots</id>
137 <name>MSO Snapshot Repository</name>
138 <url>${nexusproxy}/${snapshotNexusPath}</url>
139 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100140 <!-- Camunda Web Repository -->
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100141 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100142 <id>CamundaWebRepo</id>
143 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
144 <name>Camunda Web Repository</name>
145 </repository>
146 <repository>
147 <id>CamundaPublicRepo</id>
148 <url>https://app.camunda.com/nexus/content/groups/public</url>
149 <name>Camunda Public repository</name>
150 </repository>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100151 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100152 <id>soapUI</id>
153 <url>http://www.soapui.org/repository/maven2/</url>
154 <name>SoapUI plugin</name>
155 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100156 </repositories>
157 <!-- *********************************************************************************************************** -->
158 <!-- Build -->
159 <build>
160 <resources>
161 <resource>
162 <directory>src/main/resources</directory>
163 <filtering>true</filtering>
164 </resource>
165 <resource>
166 <directory>target/generated-sources/license</directory>
167 <includes>
168 <include>third-party-licenses.txt</include>
169 </includes>
170 </resource>
171 <resource>
172 <directory>target/generated-resources/licenses</directory>
173 <includes>
174 <include>*.*</include>
175 </includes>
176 <targetPath>third-party-licenses</targetPath>
177 </resource>
178 </resources>
179 <plugins>
180 <plugin>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100181 <groupId>org.sonatype.plugins</groupId>
182 <artifactId>nexus-staging-maven-plugin</artifactId>
183 <version>1.6.7</version>
184 <extensions>true</extensions>
185 <configuration>
Andrew Grimbergc6aecd42017-02-15 03:39:18 -0800186 <nexusUrl>${nexusproxy}</nexusUrl>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100187 <stagingProfileId>176c31dfe190a</stagingProfileId>
188 <serverId>ecomp-staging</serverId>
189 </configuration>
190 </plugin>
191 <plugin>
ChrisC025301d2017-01-31 11:40:03 +0100192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-deploy-plugin</artifactId>
194 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Anaël Closson7fa6f162017-02-07 14:26:21 +0100195 <configuration>
196 <skip />
197 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100198 </plugin>
199 <plugin>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-surefire-plugin</artifactId>
202 <version>2.17</version>
203 <configuration>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100204 <!-- <forkCount>2C</forkCount>
205 <reuseForks>true</reuseForks> -->
ChrisC025301d2017-01-31 11:40:03 +0100206 </configuration>
207 </plugin>
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-compiler-plugin</artifactId>
xg353yb6b7bef2017-04-11 13:30:42 +0200211 <version>3.6.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100212 <configuration>
213 <debug>true</debug>
214 <compilerArgument>-Xlint</compilerArgument>
215 <verbose>true</verbose>
216 <showDeprecation>true</showDeprecation>
217 <showWarnings>true</showWarnings>
218 <source>1.8</source>
219 <target>1.8</target>
220 </configuration>
221 </plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100222 <!-- <plugin> -->
223 <!-- <groupId>org.codehaus.mojo</groupId> -->
224 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
225 <!-- <version>2.1</version> -->
226 <!-- </plugin> -->
ChrisC025301d2017-01-31 11:40:03 +0100227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-ejb-plugin</artifactId>
230 <version>2.2.1</version>
231 <configuration>
232 <ejbVersion>3.0</ejbVersion>
233 <archive>
234 <manifest>
235 <addClasspath>true</addClasspath>
236 </manifest>
237 </archive>
238 </configuration>
239 </plugin>
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-checkstyle-plugin</artifactId>
243 <version>2.17</version>
244 <configuration>
245 <includes>**/org/openecomp/**/*.java</includes>
246 <configLocation>/google_checks.xml</configLocation>
247 </configuration>
248 </plugin>
249 <plugin>
250 <groupId>org.codehaus.mojo</groupId>
251 <artifactId>findbugs-maven-plugin</artifactId>
252 <version>2.5.2</version>
253 <configuration>
254 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
255 <nested>true</nested>
256 <findbugsXmlOutput>true</findbugsXmlOutput>
257 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
258 <xmlOutput>true</xmlOutput>
259 </configuration>
260 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100261 <plugin>
262 <groupId>org.codehaus.mojo</groupId>
263 <artifactId>sonar-maven-plugin</artifactId>
264 <version>3.2</version>
265 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100266 <plugin>
267 <artifactId>maven-scm-plugin</artifactId>
268 <version>1.8.1</version>
269 <configuration>
270 <tag>${project.artifactId}-${project.version}</tag>
271 </configuration>
272 </plugin>
273 <plugin>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-javadoc-plugin</artifactId>
276 <version>2.9</version>
277 </plugin>
278 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100279 <groupId>org.apache.maven.plugins</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100280 <artifactId>maven-site-plugin</artifactId>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100281 <version>3.6</version>
282 <dependencies>
283 <dependency>
284 <groupId>org.apache.maven.wagon</groupId>
285 <artifactId>wagon-webdav-jackrabbit</artifactId>
286 <version>2.10</version>
287 </dependency>
288 </dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100289 </plugin>
290 <plugin>
291 <groupId>org.codehaus.mojo</groupId>
292 <artifactId>cobertura-maven-plugin</artifactId>
293 <version>2.5.2</version>
294 <configuration>
295 <formats>
296 <format>xml</format>
297 </formats>
298 </configuration>
299 </plugin>
300 <plugin>
301 <groupId>org.codehaus.mojo</groupId>
302 <artifactId>versions-maven-plugin</artifactId>
303 <version>1.3.1</version>
304 </plugin>
305 <plugin>
306 <groupId>org.codehaus.mojo</groupId>
307 <artifactId>jboss-packaging-maven-plugin</artifactId>
308 <version>2.2</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100309 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
310 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
311 maven packaging type -->
ChrisC025301d2017-01-31 11:40:03 +0100312 <extensions>true</extensions>
313 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100314 <plugin>
315 <groupId>org.jacoco</groupId>
316 <artifactId>jacoco-maven-plugin</artifactId>
317 <version>0.7.7.201606060606</version>
318 <configuration>
319 <dumpOnExit>true</dumpOnExit>
320 <includes>
321 <include>org.openecomp.*</include>
322 </includes>
ChrisC025301d2017-01-31 11:40:03 +0100323 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100324 <executions>
325 <execution>
326 <id>jacoco-initialize-unit-tests</id>
327 <goals>
328 <goal>prepare-agent</goal>
329 </goals>
330 <configuration>
331 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
332 <!-- <append>true</append> -->
ChrisC025301d2017-01-31 11:40:03 +0100333 </configuration>
334 </execution>
335 </executions>
336 </plugin>
337 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100338 <groupId>com.fortify.ps.maven.plugin</groupId>
339 <artifactId>sca-maven-plugin</artifactId>
340 <version>4.20</version>
341 <configuration>
342 <buildId>mso-${project.version}</buildId>
xg353yb6b7bef2017-04-11 13:30:42 +0200343 <source>1.8</source>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100344 </configuration>
345 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100346 </plugins>
ChrisC025301d2017-01-31 11:40:03 +0100347 </build>
ChrisC025301d2017-01-31 11:40:03 +0100348 <!-- *********************************************************************************************************** -->
349 <!-- Dependencies -->
350 <dependencies>
351 <dependency>
352 <groupId>junit</groupId>
353 <artifactId>junit</artifactId>
xg353yb6b7bef2017-04-11 13:30:42 +0200354 <version>4.12</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100355 <scope>test</scope>
356 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100357 </dependencies>
358 <dependencyManagement>
359 <dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100360 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
361 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
362 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100363 <groupId>org.apache.httpcomponents</groupId>
364 <artifactId>httpclient</artifactId>
365 <version>4.5</version>
ChrisC025301d2017-01-31 11:40:03 +0100366 <scope>compile</scope>
367 </dependency>
368 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100369 <groupId>org.apache.httpcomponents</groupId>
370 <artifactId>httpcore</artifactId>
371 <version>4.4.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100372 <scope>compile</scope>
373 </dependency>
374 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100375 <groupId>commons-codec</groupId>
376 <artifactId>commons-codec</artifactId>
377 <version>1.10</version>
ChrisC025301d2017-01-31 11:40:03 +0100378 <scope>compile</scope>
379 </dependency>
380 <dependency>
381 <groupId>commons-io</groupId>
382 <artifactId>commons-io</artifactId>
383 <version>2.5</version>
384 <scope>compile</scope>
385 </dependency>
386 <dependency>
387 <groupId>org.hamcrest</groupId>
388 <artifactId>hamcrest-core</artifactId>
389 <version>1.3</version>
390 <scope>test</scope>
391 </dependency>
392 <dependency>
393 <groupId>log4j</groupId>
394 <artifactId>log4j</artifactId>
395 <version>1.2.17</version>
396 <scope>compile</scope>
397 </dependency>
398 <dependency>
399 <groupId>org.slf4j</groupId>
400 <artifactId>slf4j-api</artifactId>
401 <version>1.7.10</version>
402 <scope>compile</scope>
403 </dependency>
404 <dependency>
405 <groupId>com.sun.xml.fastinfoset</groupId>
406 <artifactId>FastInfoset</artifactId>
407 <version>1.2.13</version>
408 <scope>compile</scope>
409 </dependency>
410 </dependencies>
411 </dependencyManagement>
JulienBeec92b1a2017-02-06 11:22:26 +0100412</project>