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