blob: 6e372fa71068e86bef3f41dd8c92230dd253030b [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>
Jessica Wagantall9c03f462017-09-08 12:46:01 -07008 <name>so</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>
Andrew Grimbergd7486942017-03-29 13:51:39 -070042 <nexusproxy>https://nexus.onap.org</nexusproxy>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080043 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -070045 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Rob Daugherty2c5310a2017-07-20 11:09:23 -040046 <sitePath>/content/sites/site/org/onap/so/${project.version}</sitePath>
JulienBec3f8ddf2017-03-08 02:19:21 -080047 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
ChrisC025301d2017-01-31 11:40:03 +010048 </properties>
ChrisC025301d2017-01-31 11:40:03 +010049 <distributionManagement>
50 <repository>
JulienBeec92b1a2017-02-06 11:22:26 +010051 <id>ecomp-releases</id>
ChrisC025301d2017-01-31 11:40:03 +010052 <name>MSO Release Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080053 <url>${nexusproxy}/${releaseNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +010054 </repository>
55 <snapshotRepository>
JulienBeec92b1a2017-02-06 11:22:26 +010056 <id>ecomp-snapshots</id>
ChrisC025301d2017-01-31 11:40:03 +010057 <name>MSO Snapshot Repository</name>
Determe, Sebastien (sd378r)d79e7162017-02-20 04:31:22 -080058 <url>${nexusproxy}/${snapshotNexusPath}</url>
ChrisC025301d2017-01-31 11:40:03 +010059 </snapshotRepository>
60 <site>
Anaël Closson5dd56472017-03-09 16:52:09 +010061 <id>ecomp-site</id>
62 <url>dav:${nexusproxy}${sitePath}</url>
ChrisC025301d2017-01-31 11:40:03 +010063 </site>
64 </distributionManagement>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010065 <reporting>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-javadoc-plugin</artifactId>
70 <version>2.10.4</version>
71 <configuration>
72 <failOnError>false</failOnError>
73 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
74 <docletArtifact>
75 <groupId>org.umlgraph</groupId>
76 <artifactId>umlgraph</artifactId>
77 <version>5.6</version>
78 </docletArtifact>
79 <additionalparam>-views</additionalparam>
80 <useStandardDocletOptions>true</useStandardDocletOptions>
81 </configuration>
82 </plugin>
83 </plugins>
84 </reporting>
85 <!-- configure build -->
ChrisC025301d2017-01-31 11:40:03 +010086 <!-- *********************************************************************************************************** -->
87 <!-- Plugins and repositories -->
88 <pluginRepositories>
89 <pluginRepository>
90 <id>central</id>
91 <url>http://repo1.maven.org/maven2</url>
92 </pluginRepository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040093
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010094 <pluginRepository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040095 <id>Restlet</id>
96 <name>Restlet Repository</name>
97 <url>http://maven.restlet.com</url>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +010098 </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>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400121
eh552t04bf14b2017-02-14 15:02:15 +0100122 <repository>
123 <id>ecomp-staging</id>
124 <name>MSO Staging Repository</name>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -0700125 <url>${nexusproxy}/${stagingNexusPath}</url>
eh552t04bf14b2017-02-14 15:02:15 +0100126 </repository>
Determe, Sebastien (sd378r)fe041c72017-04-25 06:33:51 -0700127 <repository>
128 <id>ecomp-snapshots</id>
129 <name>MSO Snapshot Repository</name>
130 <url>${nexusproxy}/${snapshotNexusPath}</url>
131 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100132 <!-- Camunda Web Repository -->
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100133 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100134 <id>CamundaWebRepo</id>
135 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
136 <name>Camunda Web Repository</name>
137 </repository>
138 <repository>
139 <id>CamundaPublicRepo</id>
140 <url>https://app.camunda.com/nexus/content/groups/public</url>
141 <name>Camunda Public repository</name>
142 </repository>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100143 <repository>
ChrisC025301d2017-01-31 11:40:03 +0100144 <id>soapUI</id>
145 <url>http://www.soapui.org/repository/maven2/</url>
146 <name>SoapUI plugin</name>
147 </repository>
ChrisC025301d2017-01-31 11:40:03 +0100148 </repositories>
149 <!-- *********************************************************************************************************** -->
150 <!-- Build -->
151 <build>
152 <resources>
153 <resource>
154 <directory>src/main/resources</directory>
155 <filtering>true</filtering>
156 </resource>
157 <resource>
158 <directory>target/generated-sources/license</directory>
159 <includes>
160 <include>third-party-licenses.txt</include>
161 </includes>
162 </resource>
163 <resource>
164 <directory>target/generated-resources/licenses</directory>
165 <includes>
166 <include>*.*</include>
167 </includes>
168 <targetPath>third-party-licenses</targetPath>
169 </resource>
170 </resources>
171 <plugins>
172 <plugin>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100173 <groupId>org.sonatype.plugins</groupId>
174 <artifactId>nexus-staging-maven-plugin</artifactId>
175 <version>1.6.7</version>
176 <extensions>true</extensions>
177 <configuration>
Andrew Grimbergc6aecd42017-02-15 03:39:18 -0800178 <nexusUrl>${nexusproxy}</nexusUrl>
Anaël Closson7fa6f162017-02-07 14:26:21 +0100179 <stagingProfileId>176c31dfe190a</stagingProfileId>
180 <serverId>ecomp-staging</serverId>
181 </configuration>
182 </plugin>
183 <plugin>
ChrisC025301d2017-01-31 11:40:03 +0100184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-deploy-plugin</artifactId>
186 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Anaël Closson7fa6f162017-02-07 14:26:21 +0100187 <configuration>
188 <skip />
189 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100190 </plugin>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-surefire-plugin</artifactId>
194 <version>2.17</version>
195 <configuration>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100196 <!-- <forkCount>2C</forkCount>
197 <reuseForks>true</reuseForks> -->
ChrisC025301d2017-01-31 11:40:03 +0100198 </configuration>
199 </plugin>
200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-compiler-plugin</artifactId>
xg353yb6b7bef2017-04-11 13:30:42 +0200203 <version>3.6.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100204 <configuration>
205 <debug>true</debug>
206 <compilerArgument>-Xlint</compilerArgument>
207 <verbose>true</verbose>
208 <showDeprecation>true</showDeprecation>
209 <showWarnings>true</showWarnings>
210 <source>1.8</source>
211 <target>1.8</target>
212 </configuration>
213 </plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100214 <!-- <plugin> -->
215 <!-- <groupId>org.codehaus.mojo</groupId> -->
216 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
217 <!-- <version>2.1</version> -->
218 <!-- </plugin> -->
ChrisC025301d2017-01-31 11:40:03 +0100219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-ejb-plugin</artifactId>
222 <version>2.2.1</version>
223 <configuration>
224 <ejbVersion>3.0</ejbVersion>
225 <archive>
226 <manifest>
227 <addClasspath>true</addClasspath>
228 </manifest>
229 </archive>
230 </configuration>
231 </plugin>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-checkstyle-plugin</artifactId>
235 <version>2.17</version>
236 <configuration>
237 <includes>**/org/openecomp/**/*.java</includes>
238 <configLocation>/google_checks.xml</configLocation>
239 </configuration>
240 </plugin>
241 <plugin>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>findbugs-maven-plugin</artifactId>
244 <version>2.5.2</version>
245 <configuration>
246 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
247 <nested>true</nested>
248 <findbugsXmlOutput>true</findbugsXmlOutput>
249 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
250 <xmlOutput>true</xmlOutput>
251 </configuration>
252 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100253 <plugin>
254 <groupId>org.codehaus.mojo</groupId>
255 <artifactId>sonar-maven-plugin</artifactId>
256 <version>3.2</version>
257 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100258 <plugin>
259 <artifactId>maven-scm-plugin</artifactId>
260 <version>1.8.1</version>
261 <configuration>
262 <tag>${project.artifactId}-${project.version}</tag>
263 </configuration>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-javadoc-plugin</artifactId>
268 <version>2.9</version>
269 </plugin>
270 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100271 <groupId>org.apache.maven.plugins</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100272 <artifactId>maven-site-plugin</artifactId>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100273 <version>3.6</version>
274 <dependencies>
275 <dependency>
276 <groupId>org.apache.maven.wagon</groupId>
277 <artifactId>wagon-webdav-jackrabbit</artifactId>
278 <version>2.10</version>
279 </dependency>
280 </dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100281 </plugin>
282 <plugin>
283 <groupId>org.codehaus.mojo</groupId>
284 <artifactId>cobertura-maven-plugin</artifactId>
285 <version>2.5.2</version>
286 <configuration>
287 <formats>
288 <format>xml</format>
289 </formats>
290 </configuration>
291 </plugin>
292 <plugin>
293 <groupId>org.codehaus.mojo</groupId>
294 <artifactId>versions-maven-plugin</artifactId>
295 <version>1.3.1</version>
296 </plugin>
297 <plugin>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>jboss-packaging-maven-plugin</artifactId>
300 <version>2.2</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100301 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
302 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
303 maven packaging type -->
ChrisC025301d2017-01-31 11:40:03 +0100304 <extensions>true</extensions>
305 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100306 <plugin>
307 <groupId>org.jacoco</groupId>
308 <artifactId>jacoco-maven-plugin</artifactId>
309 <version>0.7.7.201606060606</version>
310 <configuration>
311 <dumpOnExit>true</dumpOnExit>
312 <includes>
313 <include>org.openecomp.*</include>
314 </includes>
ChrisC025301d2017-01-31 11:40:03 +0100315 </configuration>
ChrisC025301d2017-01-31 11:40:03 +0100316 <executions>
317 <execution>
318 <id>jacoco-initialize-unit-tests</id>
319 <goals>
320 <goal>prepare-agent</goal>
321 </goals>
322 <configuration>
323 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
324 <!-- <append>true</append> -->
ChrisC025301d2017-01-31 11:40:03 +0100325 </configuration>
326 </execution>
327 </executions>
328 </plugin>
329 <plugin>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100330 <groupId>com.fortify.ps.maven.plugin</groupId>
331 <artifactId>sca-maven-plugin</artifactId>
332 <version>4.20</version>
333 <configuration>
334 <buildId>mso-${project.version}</buildId>
xg353yb6b7bef2017-04-11 13:30:42 +0200335 <source>1.8</source>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100336 </configuration>
337 </plugin>
ChrisC025301d2017-01-31 11:40:03 +0100338 </plugins>
ChrisC025301d2017-01-31 11:40:03 +0100339 </build>
ChrisC025301d2017-01-31 11:40:03 +0100340 <!-- *********************************************************************************************************** -->
341 <!-- Dependencies -->
342 <dependencies>
343 <dependency>
344 <groupId>junit</groupId>
345 <artifactId>junit</artifactId>
xg353yb6b7bef2017-04-11 13:30:42 +0200346 <version>4.12</version>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100347 <scope>test</scope>
348 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100349 </dependencies>
350 <dependencyManagement>
351 <dependencies>
ChrisC025301d2017-01-31 11:40:03 +0100352 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
353 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
354 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100355 <groupId>org.apache.httpcomponents</groupId>
356 <artifactId>httpclient</artifactId>
357 <version>4.5</version>
ChrisC025301d2017-01-31 11:40:03 +0100358 <scope>compile</scope>
359 </dependency>
360 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100361 <groupId>org.apache.httpcomponents</groupId>
362 <artifactId>httpcore</artifactId>
363 <version>4.4.1</version>
ChrisC025301d2017-01-31 11:40:03 +0100364 <scope>compile</scope>
365 </dependency>
366 <dependency>
Anaël Clossonc28ea7c2017-02-07 12:45:45 +0100367 <groupId>commons-codec</groupId>
368 <artifactId>commons-codec</artifactId>
369 <version>1.10</version>
ChrisC025301d2017-01-31 11:40:03 +0100370 <scope>compile</scope>
371 </dependency>
372 <dependency>
373 <groupId>commons-io</groupId>
374 <artifactId>commons-io</artifactId>
375 <version>2.5</version>
376 <scope>compile</scope>
377 </dependency>
378 <dependency>
379 <groupId>org.hamcrest</groupId>
380 <artifactId>hamcrest-core</artifactId>
381 <version>1.3</version>
382 <scope>test</scope>
383 </dependency>
384 <dependency>
385 <groupId>log4j</groupId>
386 <artifactId>log4j</artifactId>
387 <version>1.2.17</version>
388 <scope>compile</scope>
389 </dependency>
390 <dependency>
391 <groupId>org.slf4j</groupId>
392 <artifactId>slf4j-api</artifactId>
393 <version>1.7.10</version>
394 <scope>compile</scope>
395 </dependency>
396 <dependency>
397 <groupId>com.sun.xml.fastinfoset</groupId>
398 <artifactId>FastInfoset</artifactId>
399 <version>1.2.13</version>
400 <scope>compile</scope>
401 </dependency>
402 </dependencies>
403 </dependencyManagement>
JulienBeec92b1a2017-02-06 11:22:26 +0100404</project>