blob: c7a3b3196ecd7833b96ed8d6a0edd5bdc50ae8e9 [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"
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +02002 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>
Rob Daughertyec9600d2017-09-27 06:11:26 -04004
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +02005 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
Jessica Wagantall777f6372017-11-20 11:10:28 -08008 <version>1.1.0-SNAPSHOT</version>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +02009 <relativePath />
10 </parent>
Rob Daughertyec9600d2017-09-27 06:11:26 -040011
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +020012 <groupId>org.openecomp.so</groupId>
13 <artifactId>so</artifactId>
14 <packaging>pom</packaging>
Jessica Wagantall777f6372017-11-20 11:10:28 -080015 <!-- <version>1.2.0-SNAPSHOT</version> -->
16 <version>1.2.0-SNAPSHOT</version>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +020017 <name>so</name>
18 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
ChrisC025301d2017-01-31 11:40:03 +010019 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
20 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
21 </description>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +020022 <organization>
23 <name>OPENECOMP - MSO</name>
24 <url>http://www.onap.org/</url>
25 </organization>
26 <modules>
27 <module>common</module>
28 <module>mso-api-handlers</module>
29 <module>mso-catalog-db</module>
30 <module>adapters</module>
31 <module>asdc-controller</module>
32 <module>status-control</module>
33 <module>bpmn</module>
34 <module>packages</module>
35 </modules>
36 <properties>
37 <project.mso.base.folder>.</project.mso.base.folder>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40 <sonar.language>java</sonar.language>
41 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
42 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
43 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
44 <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath>
45 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
46 <sonar.projectVersion>${project.version}</sonar.projectVersion>
47 <org.apache.maven.user-settings></org.apache.maven.user-settings>
48 <!-- this is used for Chef mso-code cookbook -->
49 <swm.version>2.19.3-1</swm.version>
Jessica Wagantall777f6372017-11-20 11:10:28 -080050 <!-- <openstack.version>1.2.0-SNAPSHOT</openstack.version> -->
seshukm0d56f572017-10-31 10:10:25 +053051 <openstack.version>1.1.0</openstack.version>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +020052 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
54 </properties>
55 <distributionManagement>
56 <repository>
57 <id>ecomp-releases</id>
58 <name>Clamp Release Repository</name>
59 <url>https://nexus.onap.org/content/repositories/releases/</url>
60 </repository>
61 <snapshotRepository>
62 <id>ecomp-snapshots</id>
63 <name>Clamp Snapshot Repository</name>
64 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
65 </snapshotRepository>
66 <site>
67 <id>ecomp-site</id>
68 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/so/${project.version}</url>
69 </site>
70 </distributionManagement>
71 <reporting>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-javadoc-plugin</artifactId>
76 <version>2.10.4</version>
77 <configuration>
78 <failOnError>false</failOnError>
79 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
80 <docletArtifact>
81 <groupId>org.umlgraph</groupId>
82 <artifactId>umlgraph</artifactId>
83 <version>5.6</version>
84 </docletArtifact>
85 <additionalparam>-views</additionalparam>
86 <useStandardDocletOptions>true</useStandardDocletOptions>
87 </configuration>
88 </plugin>
89 </plugins>
90 </reporting>
91 <!-- configure build -->
92 <!-- *********************************************************************************************************** -->
93 <!-- Plugins and repositories -->
94 <pluginRepositories>
95 <pluginRepository>
96 <id>central</id>
97 <url>http://repo1.maven.org/maven2</url>
98 </pluginRepository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040099
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +0200100 <pluginRepository>
101 <id>Restlet</id>
102 <name>Restlet Repository</name>
103 <url>http://maven.restlet.com</url>
104 </pluginRepository>
105 </pluginRepositories>
106 <repositories>
107 <repository>
108 <id>Onap public</id>
109 <url>https://nexus.onap.org/content/groups/public/</url>
110 <name>Onap public</name>
111 </repository>
112 <repository>
113 <id>JBOSS</id>
114 <name>JBoss Repository</name>
115 <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
116 </repository>
117 <repository>
118 <id>jboss-deprecated-repository</id>
119 <name>JBoss Deprecated Maven Repository</name>
120 <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
121 </repository>
122 <repository>
123 <id>ecomp-releases</id>
124 <name>ONAP Release Repository</name>
125 <url>https://nexus.onap.org/content/repositories/releases/</url>
126 </repository>
127 <repository>
128 <id>ecomp-staging</id>
129 <name>ONAP Staging Repository</name>
130 <url>https://nexus.onap.org/content/repositories/staging/</url>
131 </repository>
132 <repository>
133 <id>ecomp-snapshots</id>
134 <name>ONAP Snapshot Repository</name>
135 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
136 <snapshots>
137 <enabled>true</enabled>
138 </snapshots>
139 <releases>
140 <enabled>false</enabled>
141 </releases>
142 </repository>
143 <!-- Camunda Web Repository -->
144 <repository>
145 <id>CamundaWebRepo</id>
146 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
147 <name>Camunda Web Repository</name>
148 </repository>
149 <repository>
150 <id>CamundaPublicRepo</id>
151 <url>https://app.camunda.com/nexus/content/groups/public</url>
152 <name>Camunda Public repository</name>
153 </repository>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400154
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +0200155 <repository>
156 <id>soapUI</id>
157 <url>http://www.soapui.org/repository/maven2/</url>
158 <name>SoapUI plugin</name>
159 </repository>
160 </repositories>
161 <!-- *********************************************************************************************************** -->
162 <!-- Build -->
163 <build>
164 <resources>
165 <resource>
166 <directory>src/main/resources</directory>
167 <filtering>true</filtering>
168 </resource>
169 <resource>
170 <directory>target/generated-sources/license</directory>
171 <includes>
172 <include>third-party-licenses.txt</include>
173 </includes>
174 </resource>
175 <resource>
176 <directory>target/generated-resources/licenses</directory>
177 <includes>
178 <include>*.*</include>
179 </includes>
180 <targetPath>third-party-licenses</targetPath>
181 </resource>
182 </resources>
183 <plugins>
184 <plugin>
185 <groupId>org.sonatype.plugins</groupId>
186 <artifactId>nexus-staging-maven-plugin</artifactId>
187 <version>1.6.7</version>
188 <extensions>true</extensions>
189 <configuration>
190 <nexusUrl>${nexusproxy}</nexusUrl>
191 <stagingProfileId>176c31dfe190a</stagingProfileId>
192 <serverId>ecomp-staging</serverId>
193 </configuration>
194 </plugin>
195 <plugin>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-deploy-plugin</artifactId>
198 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
199 <configuration>
200 <skip />
201 </configuration>
202 </plugin>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-surefire-plugin</artifactId>
Rob Daughertyd53a72c2017-10-08 18:03:16 -0400206 <version>2.19.1</version>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +0200207 <configuration>
Rob Daughertyd53a72c2017-10-08 18:03:16 -0400208 <argLine>${surefireArgLine}</argLine>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +0200209 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
Rob Daughertyd53a72c2017-10-08 18:03:16 -0400210 <excludes>
211 <exclude>**/IT*.java</exclude>
212 </excludes>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +0200213 </configuration>
214 </plugin>
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-compiler-plugin</artifactId>
218 <version>3.6.1</version>
219 <configuration>
220 <debug>true</debug>
221 <compilerArgument>-Xlint</compilerArgument>
222 <verbose>true</verbose>
223 <showDeprecation>true</showDeprecation>
224 <showWarnings>true</showWarnings>
225 <source>1.8</source>
226 <target>1.8</target>
227 </configuration>
228 </plugin>
229 <!-- <plugin> -->
230 <!-- <groupId>org.codehaus.mojo</groupId> -->
231 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
232 <!-- <version>2.1</version> -->
233 <!-- </plugin> -->
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-ejb-plugin</artifactId>
237 <version>2.2.1</version>
238 <configuration>
239 <ejbVersion>3.0</ejbVersion>
240 <archive>
241 <manifest>
242 <addClasspath>true</addClasspath>
243 </manifest>
244 </archive>
245 </configuration>
246 </plugin>
247 <plugin>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-checkstyle-plugin</artifactId>
250 <version>2.17</version>
251 <configuration>
252 <includes>**/org/openecomp/**/*.java</includes>
253 <configLocation>/google_checks.xml</configLocation>
254 </configuration>
255 </plugin>
256 <plugin>
257 <groupId>org.codehaus.mojo</groupId>
258 <artifactId>findbugs-maven-plugin</artifactId>
259 <version>2.5.2</version>
260 <configuration>
261 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
262 <nested>true</nested>
263 <findbugsXmlOutput>true</findbugsXmlOutput>
264 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
265 <xmlOutput>true</xmlOutput>
266 </configuration>
267 </plugin>
268 <plugin>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>sonar-maven-plugin</artifactId>
271 <version>3.2</version>
272 </plugin>
273 <plugin>
274 <artifactId>maven-scm-plugin</artifactId>
275 <version>1.8.1</version>
276 <configuration>
277 <tag>${project.artifactId}-${project.version}</tag>
278 </configuration>
279 </plugin>
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-javadoc-plugin</artifactId>
283 <version>2.9</version>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-site-plugin</artifactId>
288 <version>3.6</version>
289 <dependencies>
290 <dependency>
291 <groupId>org.apache.maven.wagon</groupId>
292 <artifactId>wagon-webdav-jackrabbit</artifactId>
293 <version>2.10</version>
294 </dependency>
295 </dependencies>
296 </plugin>
297 <plugin>
298 <groupId>org.codehaus.mojo</groupId>
299 <artifactId>cobertura-maven-plugin</artifactId>
300 <version>2.5.2</version>
301 <configuration>
302 <formats>
303 <format>xml</format>
304 </formats>
305 </configuration>
306 </plugin>
307 <plugin>
308 <groupId>org.codehaus.mojo</groupId>
309 <artifactId>versions-maven-plugin</artifactId>
310 <version>1.3.1</version>
311 </plugin>
312 <plugin>
313 <groupId>org.codehaus.mojo</groupId>
314 <artifactId>jboss-packaging-maven-plugin</artifactId>
315 <version>2.2</version>
316 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
317 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
318 maven packaging type -->
319 <extensions>true</extensions>
320 </plugin>
321 <plugin>
322 <groupId>org.jacoco</groupId>
323 <artifactId>jacoco-maven-plugin</artifactId>
324 <version>0.7.7.201606060606</version>
325 <configuration>
326 <dumpOnExit>true</dumpOnExit>
327 <includes>
328 <include>org.openecomp.*</include>
329 </includes>
330 </configuration>
331 <executions>
332 <execution>
333 <id>pre-unit-test</id>
334 <goals>
335 <goal>prepare-agent</goal>
336 </goals>
337 <configuration>
Rob Daughertyd53a72c2017-10-08 18:03:16 -0400338 <destFile>${sonar.jacoco.reportPath}</destFile>
339 <propertyName>surefireArgLine</propertyName>
Determe, Sebastien (sd378r)d859da92017-09-29 12:10:40 +0200340 </configuration>
341 </execution>
342 </executions>
343 </plugin>
344 <plugin>
345 <groupId>com.fortify.ps.maven.plugin</groupId>
346 <artifactId>sca-maven-plugin</artifactId>
347 <version>4.20</version>
348 <configuration>
349 <buildId>mso-${project.version}</buildId>
350 <source>1.8</source>
351 </configuration>
352 </plugin>
353 </plugins>
354 </build>
355 <!-- *********************************************************************************************************** -->
356 <!-- Dependencies -->
357 <dependencies>
358 <dependency>
359 <groupId>junit</groupId>
360 <artifactId>junit</artifactId>
361 <version>4.12</version>
362 <scope>test</scope>
363 </dependency>
364 </dependencies>
365 <dependencyManagement>
366 <dependencies>
367 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
368 <!-- force use of version 4.5 everywhere in transient deps, aligned
369 on WildFly 10 version -->
370 <dependency>
371 <groupId>org.apache.httpcomponents</groupId>
372 <artifactId>httpclient</artifactId>
373 <version>4.5</version>
374 <scope>compile</scope>
375 </dependency>
376 <dependency>
377 <groupId>org.apache.httpcomponents</groupId>
378 <artifactId>httpcore</artifactId>
379 <version>4.4.1</version>
380 <scope>compile</scope>
381 </dependency>
382 <dependency>
383 <groupId>commons-codec</groupId>
384 <artifactId>commons-codec</artifactId>
385 <version>1.10</version>
386 <scope>compile</scope>
387 </dependency>
388 <dependency>
389 <groupId>commons-io</groupId>
390 <artifactId>commons-io</artifactId>
391 <version>2.5</version>
392 <scope>compile</scope>
393 </dependency>
394 <dependency>
395 <groupId>org.hamcrest</groupId>
396 <artifactId>hamcrest-core</artifactId>
397 <version>1.3</version>
398 <scope>test</scope>
399 </dependency>
400 <dependency>
401 <groupId>log4j</groupId>
402 <artifactId>log4j</artifactId>
403 <version>1.2.17</version>
404 <scope>compile</scope>
405 </dependency>
406 <dependency>
407 <groupId>org.slf4j</groupId>
408 <artifactId>slf4j-api</artifactId>
409 <version>1.7.10</version>
410 <scope>compile</scope>
411 </dependency>
412 <dependency>
413 <groupId>com.sun.xml.fastinfoset</groupId>
414 <artifactId>FastInfoset</artifactId>
415 <version>1.2.13</version>
416 <scope>compile</scope>
417 </dependency>
418 </dependencies>
419 </dependencyManagement>
JulienBeec92b1a2017-02-06 11:22:26 +0100420</project>