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