blob: d69476f3460fc605d787c469932ad62bf4762e9f [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>
204 <version>2.17</version>
205 <configuration>
206 <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
207 </configuration>
208 </plugin>
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-compiler-plugin</artifactId>
212 <version>3.6.1</version>
213 <configuration>
214 <debug>true</debug>
215 <compilerArgument>-Xlint</compilerArgument>
216 <verbose>true</verbose>
217 <showDeprecation>true</showDeprecation>
218 <showWarnings>true</showWarnings>
219 <source>1.8</source>
220 <target>1.8</target>
221 </configuration>
222 </plugin>
223 <!-- <plugin> -->
224 <!-- <groupId>org.codehaus.mojo</groupId> -->
225 <!-- <artifactId>sonar-maven-plugin</artifactId> -->
226 <!-- <version>2.1</version> -->
227 <!-- </plugin> -->
228 <plugin>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-ejb-plugin</artifactId>
231 <version>2.2.1</version>
232 <configuration>
233 <ejbVersion>3.0</ejbVersion>
234 <archive>
235 <manifest>
236 <addClasspath>true</addClasspath>
237 </manifest>
238 </archive>
239 </configuration>
240 </plugin>
241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-checkstyle-plugin</artifactId>
244 <version>2.17</version>
245 <configuration>
246 <includes>**/org/openecomp/**/*.java</includes>
247 <configLocation>/google_checks.xml</configLocation>
248 </configuration>
249 </plugin>
250 <plugin>
251 <groupId>org.codehaus.mojo</groupId>
252 <artifactId>findbugs-maven-plugin</artifactId>
253 <version>2.5.2</version>
254 <configuration>
255 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
256 <nested>true</nested>
257 <findbugsXmlOutput>true</findbugsXmlOutput>
258 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
259 <xmlOutput>true</xmlOutput>
260 </configuration>
261 </plugin>
262 <plugin>
263 <groupId>org.codehaus.mojo</groupId>
264 <artifactId>sonar-maven-plugin</artifactId>
265 <version>3.2</version>
266 </plugin>
267 <plugin>
268 <artifactId>maven-scm-plugin</artifactId>
269 <version>1.8.1</version>
270 <configuration>
271 <tag>${project.artifactId}-${project.version}</tag>
272 </configuration>
273 </plugin>
274 <plugin>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-javadoc-plugin</artifactId>
277 <version>2.9</version>
278 </plugin>
279 <plugin>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-site-plugin</artifactId>
282 <version>3.6</version>
283 <dependencies>
284 <dependency>
285 <groupId>org.apache.maven.wagon</groupId>
286 <artifactId>wagon-webdav-jackrabbit</artifactId>
287 <version>2.10</version>
288 </dependency>
289 </dependencies>
290 </plugin>
291 <plugin>
292 <groupId>org.codehaus.mojo</groupId>
293 <artifactId>cobertura-maven-plugin</artifactId>
294 <version>2.5.2</version>
295 <configuration>
296 <formats>
297 <format>xml</format>
298 </formats>
299 </configuration>
300 </plugin>
301 <plugin>
302 <groupId>org.codehaus.mojo</groupId>
303 <artifactId>versions-maven-plugin</artifactId>
304 <version>1.3.1</version>
305 </plugin>
306 <plugin>
307 <groupId>org.codehaus.mojo</groupId>
308 <artifactId>jboss-packaging-maven-plugin</artifactId>
309 <version>2.2</version>
310 <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath>
311 </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized
312 maven packaging type -->
313 <extensions>true</extensions>
314 </plugin>
315 <plugin>
316 <groupId>org.jacoco</groupId>
317 <artifactId>jacoco-maven-plugin</artifactId>
318 <version>0.7.7.201606060606</version>
319 <configuration>
320 <dumpOnExit>true</dumpOnExit>
321 <includes>
322 <include>org.openecomp.*</include>
323 </includes>
324 </configuration>
325 <executions>
326 <execution>
327 <id>pre-unit-test</id>
328 <goals>
329 <goal>prepare-agent</goal>
330 </goals>
331 <configuration>
332 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
333 <!-- <append>true</append> -->
334 </configuration>
335 </execution>
336 </executions>
337 </plugin>
338 <plugin>
339 <groupId>com.fortify.ps.maven.plugin</groupId>
340 <artifactId>sca-maven-plugin</artifactId>
341 <version>4.20</version>
342 <configuration>
343 <buildId>mso-${project.version}</buildId>
344 <source>1.8</source>
345 </configuration>
346 </plugin>
347 </plugins>
348 </build>
349 <!-- *********************************************************************************************************** -->
350 <!-- Dependencies -->
351 <dependencies>
352 <dependency>
353 <groupId>junit</groupId>
354 <artifactId>junit</artifactId>
355 <version>4.12</version>
356 <scope>test</scope>
357 </dependency>
358 </dependencies>
359 <dependencyManagement>
360 <dependencies>
361 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
362 <!-- force use of version 4.5 everywhere in transient deps, aligned
363 on WildFly 10 version -->
364 <dependency>
365 <groupId>org.apache.httpcomponents</groupId>
366 <artifactId>httpclient</artifactId>
367 <version>4.5</version>
368 <scope>compile</scope>
369 </dependency>
370 <dependency>
371 <groupId>org.apache.httpcomponents</groupId>
372 <artifactId>httpcore</artifactId>
373 <version>4.4.1</version>
374 <scope>compile</scope>
375 </dependency>
376 <dependency>
377 <groupId>commons-codec</groupId>
378 <artifactId>commons-codec</artifactId>
379 <version>1.10</version>
380 <scope>compile</scope>
381 </dependency>
382 <dependency>
383 <groupId>commons-io</groupId>
384 <artifactId>commons-io</artifactId>
385 <version>2.5</version>
386 <scope>compile</scope>
387 </dependency>
388 <dependency>
389 <groupId>org.hamcrest</groupId>
390 <artifactId>hamcrest-core</artifactId>
391 <version>1.3</version>
392 <scope>test</scope>
393 </dependency>
394 <dependency>
395 <groupId>log4j</groupId>
396 <artifactId>log4j</artifactId>
397 <version>1.2.17</version>
398 <scope>compile</scope>
399 </dependency>
400 <dependency>
401 <groupId>org.slf4j</groupId>
402 <artifactId>slf4j-api</artifactId>
403 <version>1.7.10</version>
404 <scope>compile</scope>
405 </dependency>
406 <dependency>
407 <groupId>com.sun.xml.fastinfoset</groupId>
408 <artifactId>FastInfoset</artifactId>
409 <version>1.2.13</version>
410 <scope>compile</scope>
411 </dependency>
412 </dependencies>
413 </dependencyManagement>
JulienBeec92b1a2017-02-06 11:22:26 +0100414</project>