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