Merge "Set controllerType to uppercase for LCM"
[so.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   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>
4   <parent>
5     <groupId>org.onap.oparent</groupId>
6     <artifactId>oparent</artifactId>
7     <version>1.1.0</version>
8     <relativePath />
9   </parent>
10   <groupId>org.onap.so</groupId>
11   <artifactId>so</artifactId>
12   <packaging>pom</packaging>
13   <version>1.2.0-SNAPSHOT</version>
14   <name>so</name>
15   <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
16         This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
17         "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
18         </description>
19   <organization>
20     <name>OPENECOMP - MSO</name>
21     <url>http://www.onap.org/</url>
22   </organization>
23   <modules>
24     <module>common</module>
25     <module>cloudify-client</module>
26     <module>mso-api-handlers</module>
27     <module>mso-catalog-db</module>
28     <module>adapters</module>
29     <module>asdc-controller</module>
30     <module>status-control</module>
31     <module>bpmn</module>
32     <module>packages</module>
33     <!-- module>aria</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.2.1</openstack.version>
50     <nexusproxy>https://nexus.onap.org</nexusproxy>
51     <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
52     <resteasy.version>3.0.19.Final</resteasy.version>
53     <enforcer.skip>true</enforcer.skip>
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>
99
100     <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>opendaylight-mirror</id>
119       <name>opendaylight-mirror</name>
120       <url>https://nexus.opendaylight.org/content/repositories/public/</url>
121       <releases>
122       <enabled>true</enabled>
123       <updatePolicy>never</updatePolicy>
124       </releases>
125       <snapshots>
126         <enabled>false</enabled>
127       </snapshots>
128     </repository>
129     <repository>
130       <id>jboss-deprecated-repository</id>
131       <name>JBoss Deprecated Maven Repository</name>
132       <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
133     </repository>
134     <repository>
135       <id>ecomp-releases</id>
136       <name>ONAP Release Repository</name>
137       <url>https://nexus.onap.org/content/repositories/releases/</url>
138     </repository>
139     <repository>
140       <id>ecomp-staging</id>
141       <name>ONAP Staging Repository</name>
142       <url>https://nexus.onap.org/content/repositories/staging/</url>
143     </repository>
144     <repository>
145       <id>ecomp-snapshots</id>
146       <name>ONAP Snapshot Repository</name>
147       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
148       <snapshots>
149         <enabled>true</enabled>
150       </snapshots>
151       <releases>
152         <enabled>false</enabled>
153       </releases>
154     </repository>
155     <!-- Camunda Web Repository -->
156     <repository>
157       <id>CamundaWebRepo</id>
158       <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
159       <name>Camunda Web Repository</name>
160     </repository>
161     <repository>
162       <id>CamundaPublicRepo</id>
163       <url>https://app.camunda.com/nexus/content/groups/public</url>
164       <name>Camunda Public repository</name>
165     </repository>
166
167     <repository>
168       <id>soapUI</id>
169       <url>http://www.soapui.org/repository/maven2/</url>
170       <name>SoapUI plugin</name>
171     </repository>
172   </repositories>
173   <!-- *********************************************************************************************************** -->
174   <!-- Build -->
175   <build>
176     <resources>
177       <resource>
178         <directory>src/main/resources</directory>
179         <filtering>true</filtering>
180       </resource>
181       <resource>
182         <directory>target/generated-sources/license</directory>
183         <includes>
184           <include>third-party-licenses.txt</include>
185         </includes>
186       </resource>
187       <resource>
188         <directory>target/generated-resources/licenses</directory>
189         <includes>
190           <include>*.*</include>
191         </includes>
192         <targetPath>third-party-licenses</targetPath>
193       </resource>
194     </resources>
195     <plugins>
196       <plugin>
197         <groupId>org.sonatype.plugins</groupId>
198         <artifactId>nexus-staging-maven-plugin</artifactId>
199         <version>1.6.7</version>
200         <extensions>true</extensions>
201         <configuration>
202           <nexusUrl>${nexusproxy}</nexusUrl>
203           <stagingProfileId>176c31dfe190a</stagingProfileId>
204           <serverId>ecomp-staging</serverId>
205         </configuration>
206       </plugin>
207       <plugin>
208         <groupId>org.apache.maven.plugins</groupId>
209         <artifactId>maven-deploy-plugin</artifactId>
210         <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
211         <configuration>
212           <skip />
213         </configuration>
214       </plugin>
215       <plugin>
216         <groupId>org.apache.maven.plugins</groupId>
217         <artifactId>maven-surefire-plugin</artifactId>
218         <version>2.19.1</version>
219         <configuration>
220           <argLine>${surefireArgLine}</argLine>
221           <!-- <forkCount>2C</forkCount> <reuseForks>true</reuseForks> -->
222           <excludes>
223             <exclude>**/IT*.java</exclude>
224           </excludes>
225         </configuration>
226       </plugin>
227       <plugin>
228         <groupId>org.apache.maven.plugins</groupId>
229         <artifactId>maven-compiler-plugin</artifactId>
230         <version>3.6.1</version>
231         <configuration>
232           <debug>true</debug>
233           <compilerArgument>-Xlint</compilerArgument>
234           <verbose>true</verbose>
235           <showDeprecation>true</showDeprecation>
236           <showWarnings>true</showWarnings>
237           <source>1.8</source>
238           <target>1.8</target>
239         </configuration>
240       </plugin>
241       <!-- <plugin> -->
242       <!-- <groupId>org.codehaus.mojo</groupId> -->
243       <!-- <artifactId>sonar-maven-plugin</artifactId> -->
244       <!-- <version>2.1</version> -->
245       <!-- </plugin> -->
246       <plugin>
247         <groupId>org.apache.maven.plugins</groupId>
248         <artifactId>maven-ejb-plugin</artifactId>
249         <version>2.2.1</version>
250         <configuration>
251           <ejbVersion>3.0</ejbVersion>
252           <archive>
253             <manifest>
254               <addClasspath>true</addClasspath>
255             </manifest>
256           </archive>
257         </configuration>
258       </plugin>
259       <plugin>
260         <groupId>org.apache.maven.plugins</groupId>
261         <artifactId>maven-checkstyle-plugin</artifactId>
262         <version>2.17</version>
263         <configuration>
264           <includes>**/org/openecomp/**/*.java</includes>
265           <configLocation>/google_checks.xml</configLocation>
266         </configuration>
267       </plugin>
268       <plugin>
269         <groupId>org.codehaus.mojo</groupId>
270         <artifactId>findbugs-maven-plugin</artifactId>
271         <version>2.5.2</version>
272         <configuration>
273           <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
274           <nested>true</nested>
275           <findbugsXmlOutput>true</findbugsXmlOutput>
276           <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
277           <xmlOutput>true</xmlOutput>
278         </configuration>
279       </plugin>
280       <plugin>
281         <groupId>org.codehaus.mojo</groupId>
282         <artifactId>sonar-maven-plugin</artifactId>
283         <version>3.2</version>
284       </plugin>
285       <plugin>
286         <artifactId>maven-scm-plugin</artifactId>
287         <version>1.8.1</version>
288         <configuration>
289           <tag>${project.artifactId}-${project.version}</tag>
290         </configuration>
291       </plugin>
292       <plugin>
293         <groupId>org.apache.maven.plugins</groupId>
294         <artifactId>maven-javadoc-plugin</artifactId>
295         <version>2.9</version>
296       </plugin>
297       <plugin>
298         <groupId>org.apache.maven.plugins</groupId>
299         <artifactId>maven-site-plugin</artifactId>
300         <version>3.6</version>
301         <dependencies>
302           <dependency>
303             <groupId>org.apache.maven.wagon</groupId>
304             <artifactId>wagon-webdav-jackrabbit</artifactId>
305             <version>2.10</version>
306           </dependency>
307         </dependencies>
308       </plugin>
309       <plugin>
310         <groupId>org.codehaus.mojo</groupId>
311         <artifactId>cobertura-maven-plugin</artifactId>
312         <version>2.5.2</version>
313         <configuration>
314           <formats>
315             <format>xml</format>
316           </formats>
317         </configuration>
318       </plugin>
319       <plugin>
320         <groupId>org.codehaus.mojo</groupId>
321         <artifactId>versions-maven-plugin</artifactId>
322         <version>1.3.1</version>
323       </plugin>
324       <plugin>
325         <groupId>org.codehaus.mojo</groupId>
326         <artifactId>jboss-packaging-maven-plugin</artifactId>
327         <version>2.2</version>
328         <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath> 
329           </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized 
330           maven packaging type -->
331         <extensions>true</extensions>
332       </plugin>
333       <plugin>
334         <groupId>org.jacoco</groupId>
335         <artifactId>jacoco-maven-plugin</artifactId>
336         <version>0.7.7.201606060606</version>
337         <configuration>
338           <dumpOnExit>true</dumpOnExit>
339           <includes>
340             <include>org.openecomp.*</include>
341           </includes>
342         </configuration>
343         <executions>
344           <execution>
345             <id>pre-unit-test</id>
346             <goals>
347               <goal>prepare-agent</goal>
348             </goals>
349             <configuration>
350               <destFile>${sonar.jacoco.reportPath}</destFile>
351               <propertyName>surefireArgLine</propertyName>
352             </configuration>
353           </execution>
354         </executions>
355       </plugin>
356       <plugin>
357         <groupId>com.fortify.ps.maven.plugin</groupId>
358         <artifactId>sca-maven-plugin</artifactId>
359         <version>4.20</version>
360         <configuration>
361           <buildId>mso-${project.version}</buildId>
362           <source>1.8</source>
363         </configuration>
364       </plugin>
365     </plugins>
366   </build>
367   <!-- *********************************************************************************************************** -->
368   <!-- Dependencies -->
369   <dependencies>
370     <dependency>
371       <groupId>com.fasterxml.jackson.core</groupId>
372       <artifactId>jackson-core</artifactId>
373       <version>2.8.7</version>
374     </dependency>
375     <dependency>
376       <groupId>com.fasterxml.jackson.module</groupId>
377       <artifactId>jackson-module-jaxb-annotations</artifactId>
378       <version>2.4.0</version>
379     </dependency>
380     <dependency>
381       <groupId>com.fasterxml.jackson.core</groupId>
382       <artifactId>jackson-databind</artifactId>
383       <version>2.8.7</version>
384     </dependency>
385     <dependency>
386       <groupId>com.fasterxml.jackson.core</groupId>
387       <artifactId>jackson-annotations</artifactId>
388       <version>2.8.7</version>
389     </dependency>
390     <dependency>
391         <groupId>com.fasterxml.jackson.jaxrs</groupId>
392         <artifactId>jackson-jaxrs-base</artifactId>
393         <version>2.9.2</version>
394     </dependency>
395     <dependency>
396         <groupId>com.fasterxml.jackson.jaxrs</groupId>
397         <artifactId>jackson-jaxrs-providers</artifactId>
398         <version>2.9.2</version>
399         <type>pom</type>
400     </dependency>
401     <dependency>
402       <groupId>org.jboss.resteasy</groupId>
403       <artifactId>resteasy-jaxrs</artifactId>
404       <version>${resteasy.version}</version>
405       <scope>provided</scope>
406       <exclusions>
407         <exclusion>
408            <groupId>org.slf4j</groupId>
409            <artifactId>slf4j-api</artifactId>
410         </exclusion>
411         <exclusion>
412           <groupId>org.slf4j</groupId>
413           <artifactId>slf4j-simple</artifactId>
414         </exclusion>
415         <exclusion>
416           <groupId>org.apache.httpcomponents</groupId>
417           <artifactId>httpclient</artifactId>
418         </exclusion>
419           </exclusions>
420     </dependency>
421     <dependency>
422        <groupId>org.jboss.resteasy</groupId>
423        <artifactId>resteasy-client</artifactId>
424        <version>${resteasy.version}</version>
425        <scope>provided</scope>
426        <exclusions>
427          <exclusion>
428            <groupId>org.apache.httpcomponents</groupId>
429            <artifactId>httpclient</artifactId>
430          </exclusion>
431       </exclusions>
432     </dependency>
433     <dependency>
434       <groupId>org.jboss.resteasy</groupId>
435       <artifactId>resteasy-jackson2-provider</artifactId>
436       <version>3.1.0.Final</version>
437     </dependency>
438         <dependency>
439                 <groupId>org.hamcrest</groupId>
440                 <artifactId>hamcrest-core</artifactId>
441                 <version>1.3</version>
442         </dependency>
443         <dependency>
444                 <groupId>org.hamcrest</groupId>
445                 <artifactId>hamcrest-all</artifactId>
446                 <version>1.3</version>
447         </dependency>
448         <dependency>
449       <groupId>junit</groupId>
450       <artifactId>junit</artifactId>
451       <version>4.12</version>
452       <scope>test</scope>
453     </dependency>
454     <dependency>
455       <groupId>org.jmockit</groupId>
456       <artifactId>jmockit</artifactId>
457       <version>1.19</version>
458       <scope>test</scope>
459     </dependency>
460     <dependency>
461       <groupId>org.jmockit</groupId>
462       <artifactId>jmockit-coverage</artifactId>
463       <version>1.19</version>
464       <scope>test</scope>
465     </dependency>
466     <dependency>
467       <groupId>org.powermock</groupId>
468       <artifactId>powermock-api-mockito</artifactId>
469       <version>1.6.2</version>
470       <scope>test</scope>
471     </dependency>
472     <dependency>
473       <groupId>org.powermock</groupId>
474       <artifactId>powermock-module-junit4</artifactId>
475       <version>1.6.2</version>
476       <scope>test</scope>
477     </dependency>
478     <dependency>
479       <groupId>com.github.tomakehurst</groupId>
480       <artifactId>wiremock</artifactId>
481       <version>1.56</version>
482       <scope>test</scope>
483       <classifier>standalone</classifier>
484       <exclusions>
485         <exclusion>
486           <groupId>org.mortbay.jetty</groupId>
487           <artifactId>jetty</artifactId>
488         </exclusion>
489         <exclusion>
490           <groupId>com.google.guava</groupId>
491           <artifactId>guava</artifactId>
492         </exclusion>
493         <exclusion>
494           <groupId>com.fasterxml.jackson.core</groupId>
495           <artifactId>jackson-core</artifactId>
496         </exclusion>
497         <exclusion>
498           <groupId>com.fasterxml.jackson.core</groupId>
499           <artifactId>jackson-annotations</artifactId>
500         </exclusion>
501         <exclusion>
502           <groupId>com.fasterxml.jackson.core</groupId>
503           <artifactId>jackson-databind</artifactId>
504         </exclusion>
505         <exclusion>
506           <groupId>org.apache.httpcomponents</groupId>
507           <artifactId>httpclient</artifactId>
508         </exclusion>
509         <exclusion>
510           <groupId>org.skyscreamer</groupId>
511           <artifactId>jsonassert</artifactId>
512         </exclusion>
513         <exclusion>
514           <groupId>xmlunit</groupId>
515           <artifactId>xmlunit</artifactId>
516         </exclusion>
517         <exclusion>
518           <groupId>com.jayway.jsonpath</groupId>
519           <artifactId>json-path</artifactId>
520         </exclusion>
521         <exclusion>
522           <groupId>net.sf.jopt-simple</groupId>
523           <artifactId>jopt-simple</artifactId>
524         </exclusion>
525       </exclusions>
526     </dependency>
527     <dependency>
528       <groupId>org.jboss.resteasy</groupId>
529       <artifactId>tjws</artifactId>
530       <version>${resteasy.version}</version>
531       <scope>test</scope>
532     </dependency>
533     <!-- For CVE-2016-1000031 -->
534     <dependency>
535       <groupId>commons-fileupload</groupId>
536       <artifactId>commons-fileupload</artifactId>
537       <version>1.3.3</version>
538     </dependency>
539     <!-- For CVE-2017-5929 -->
540     <dependency>
541       <groupId>ch.qos.logback</groupId>
542       <artifactId>logback-core</artifactId>
543       <version>1.1.11</version>
544     </dependency>
545     <!-- For CVE-2014-0225 CVE-2015-5211 -->
546     <dependency>
547       <groupId>org.springframework</groupId>
548       <artifactId>spring-core</artifactId>
549       <version>4.3.14.RELEASE</version>
550     </dependency>
551   </dependencies>
552   <dependencyManagement>
553     <dependencies>
554       <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
555       <!-- force use of version 4.5 everywhere in transient deps, aligned 
556         on WildFly 10 version -->
557       <dependency>
558         <groupId>org.apache.httpcomponents</groupId>
559         <artifactId>httpclient</artifactId>
560         <version>4.5.5</version>
561         <scope>compile</scope>
562       </dependency>
563       <dependency>
564         <groupId>org.apache.httpcomponents</groupId>
565         <artifactId>httpcore</artifactId>
566         <version>4.4.4</version>
567         <scope>compile</scope>
568       </dependency>
569       <dependency>
570         <groupId>commons-codec</groupId>
571         <artifactId>commons-codec</artifactId>
572         <version>1.10</version>
573         <scope>compile</scope>
574       </dependency>
575       <dependency>
576         <groupId>commons-io</groupId>
577         <artifactId>commons-io</artifactId>
578         <version>2.5</version>
579         <scope>compile</scope>
580       </dependency>
581       <dependency>
582         <groupId>log4j</groupId>
583         <artifactId>log4j</artifactId>
584         <version>1.2.17</version>
585         <scope>compile</scope>
586       </dependency>
587       <dependency>
588         <groupId>org.slf4j</groupId>
589         <artifactId>slf4j-api</artifactId>
590         <version>1.7.10</version>
591         <scope>compile</scope>
592       </dependency>
593       <dependency>
594         <groupId>com.sun.xml.fastinfoset</groupId>
595         <artifactId>FastInfoset</artifactId>
596         <version>1.2.13</version>
597         <scope>compile</scope>
598       </dependency>
599           <dependency>
600                 <groupId>org.mockito</groupId>
601                 <artifactId>mockito-core</artifactId>
602                 <version>1.10.19</version>
603                 <scope>test</scope>
604           </dependency>
605     </dependencies>
606   </dependencyManagement>
607 </project>