blob: 264b3d9020fa02f67d6eb4a909b0b57a376f5cf2 [file] [log] [blame]
Michal Jagiello8ac3e422020-05-28 10:49:20 +00001<?xml version="1.0" ?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04003 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
seshukm2bcad1c2019-11-02 12:54:19 +05307 <version>2.1.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04008 <relativePath />
9 </parent>
10 <groupId>org.onap.so</groupId>
11 <artifactId>so</artifactId>
12 <packaging>pom</packaging>
seshukmb9af26a2020-02-26 19:30:17 +080013 <version>1.6.0-SNAPSHOT</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040014 <name>so</name>
15 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
ChrisC025301d2017-01-31 11:40:03 +010016 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>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040019 <organization>
20 <name>ONAP - SO</name>
21 <url>http://www.onap.org/</url>
zm330d05adce2020-05-14 11:36:14 +080022 </organization>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040023 <modules>
24 <module>deployment-configs</module>
25 <module>common</module>
Benjamin, Max4f774ee2020-04-28 15:13:12 -040026 <module>graph-inventory</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040027 <module>mso-catalog-db</module>
28 <module>mso-api-handlers</module>
29 <module>adapters</module>
30 <module>asdc-controller</module>
31 <module>bpmn</module>
32 <module>cloudify-client</module>
33 <module>cxf-logging</module>
34 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040035 <module>so-simulator</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010036 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040037 </modules>
38 <properties>
39 <project.mso.base.folder>.</project.mso.base.folder>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42 <sonar.language>java</sonar.language>
43 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
44 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000045 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040046 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
47 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
48 <sonar.projectVersion>${project.version}</sonar.projectVersion>
49 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000050 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040051 <org.apache.maven.user-settings />
Smokowski, Steven2ba1b392020-04-04 10:47:34 -040052 <openstack.version>1.6.1-SNAPSHOT</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040053 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
54 <originalClassifier>original</originalClassifier>
55 <docker.skip>true</docker.skip>
56 <docker.skip.build>true</docker.skip.build>
57 <docker.skip.push>true</docker.skip.push>
58 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
59 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
60 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050061 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040062 <nexusproxy>https://nexus.onap.org</nexusproxy>
63 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
64 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
65 <publicNexusPath>content/repositories/public/</publicNexusPath>
66 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
Benjamin, Max9868f172020-05-18 16:37:51 -040067 <cxf.version>3.3.3</cxf.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040068 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050069 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040070 <camunda.springboot.version>3.2.0</camunda.springboot.version>
71 <format.skipValidate>false</format.skipValidate>
72 <format.skipExecute>true</format.skipExecute>
Benjamin, Max5f57d092020-05-13 17:48:03 -040073 <io.fabric8.version>0.33.0</io.fabric8.version>
waqas.ikram312ee1a2020-04-15 14:13:41 +010074 <appc.client.version>1.7.1</appc.client.version>
Benjamin, Max9868f172020-05-18 16:37:51 -040075 <bowman.client.version>0.8.0</bowman.client.version>
76 <aaf.cadi.version>2.1.15</aaf.cadi.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040077 </properties>
78 <distributionManagement>
79 <repository>
80 <id>ecomp-releases</id>
81 <url>${nexusproxy}/${releaseNexusPath}</url>
82 </repository>
83 <snapshotRepository>
84 <id>ecomp-snapshots</id>
85 <url>${nexusproxy}/${snapshotNexusPath}</url>
86 </snapshotRepository>
87 <site>
88 <id>ecomp-site</id>
89 <url>dav:${nexusproxy}${siteNexusPath}</url>
90 </site>
91 </distributionManagement>
92 <reporting>
93 <plugins>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-javadoc-plugin</artifactId>
97 <version>2.10.4</version>
98 <configuration>
99 <failOnError>false</failOnError>
100 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
101 <docletArtifact>
102 <groupId>org.umlgraph</groupId>
103 <artifactId>umlgraph</artifactId>
104 <version>5.6</version>
105 </docletArtifact>
106 <additionalparam>-views</additionalparam>
107 <useStandardDocletOptions>true</useStandardDocletOptions>
108 </configuration>
109 </plugin>
110 </plugins>
111 </reporting>
112 <!-- configure build -->
113 <!-- *********************************************************************************************************** -->
114 <!-- Plugins and repositories -->
115 <pluginRepositories>
116 <pluginRepository>
117 <id>central</id>
118 <url>http://repo1.maven.org/maven2</url>
119 </pluginRepository>
120 <pluginRepository>
121 <id>restlet</id>
122 <url>http://maven.restlet.com</url>
123 </pluginRepository>
124 <pluginRepository>
125 <id>ecomp-public</id>
126 <url>${nexusproxy}/${publicNexusPath}</url>
127 <snapshots>
128 <enabled>false</enabled>
129 </snapshots>
130 </pluginRepository>
131 <pluginRepository>
132 <id>ecomp-release</id>
133 <url>${nexusproxy}/${releaseNexusPath}</url>
134 <snapshots>
135 <enabled>false</enabled>
136 </snapshots>
137 </pluginRepository>
138 <pluginRepository>
139 <id>ecomp-snapshots</id>
140 <url>${nexusproxy}/${snapshotNexusPath}</url>
141 <releases>
142 <enabled>false</enabled>
143 </releases>
144 </pluginRepository>
145 </pluginRepositories>
146 <repositories>
147 <repository>
148 <id>ecomp-public</id>
149 <url>https://nexus.onap.org/content/repositories/public/</url>
150 <snapshots>
151 <enabled>false</enabled>
152 </snapshots>
153 </repository>
154 <repository>
155 <id>ecomp-releases</id>
156 <url>https://nexus.onap.org/content/repositories/releases/</url>
157 <snapshots>
158 <enabled>false</enabled>
159 </snapshots>
160 </repository>
161 <repository>
162 <id>ecomp-snapshots</id>
163 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
164 <releases>
165 <enabled>false</enabled>
166 </releases>
167 </repository>
168 <repository>
169 <id>camunda-bpm</id>
170 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
171 </repository>
172 <repository>
173 <id>camunda-public</id>
174 <url>https://app.camunda.com/nexus/content/groups/public</url>
175 </repository>
176 <repository>
177 <!-- TODO: remove from ONAP environemnt -->
178 <id>onap-releases</id>
179 <url>https://nexus.onap.org/content/repositories/releases/</url>
180 <snapshots>
181 <enabled>false</enabled>
182 </snapshots>
183 </repository>
184 <repository>
185 <!-- TODO: remove from ONAP environemnt -->
186 <id>onap-snapshots</id>
187 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
188 <releases>
189 <enabled>false</enabled>
190 </releases>
191 </repository>
192 </repositories>
193 <!-- *********************************************************************************************************** -->
194 <!-- Build -->
195 <build>
196 <resources>
197 <resource>
198 <directory>src/main/resources</directory>
199 <filtering>true</filtering>
200 </resource>
201 <resource>
202 <directory>target/generated-sources/license</directory>
203 <includes>
204 <include>third-party-licenses.txt</include>
205 </includes>
206 </resource>
207 <resource>
208 <directory>target/generated-resources/licenses</directory>
209 <includes>
210 <include>*.*</include>
211 </includes>
212 <targetPath>third-party-licenses</targetPath>
213 </resource>
214 </resources>
215 <plugins>
Benjamin, Max9868f172020-05-18 16:37:51 -0400216 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
217 <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl>
218 <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId>
219 </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400223 <version>2.8</version>
224 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400225 <configuration>
226 <skip />
227 </configuration>
228 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-compiler-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400232 <version>3.8.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400233 <configuration>
234 <debug>true</debug>
235 <compilerArgument>-Xlint</compilerArgument>
236 <verbose>true</verbose>
237 <showDeprecation>true</showDeprecation>
238 <showWarnings>true</showWarnings>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400239 <compilerArgs>
240 <arg>-parameters</arg>
241 </compilerArgs>
242 </configuration>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-ejb-plugin</artifactId>
247 <version>2.2.1</version>
248 <configuration>
249 <ejbVersion>3.0</ejbVersion>
250 <archive>
251 <manifest>
252 <addClasspath>true</addClasspath>
253 </manifest>
254 </archive>
255 </configuration>
256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-checkstyle-plugin</artifactId>
260 <version>2.17</version>
261 <configuration>
262 <skip>true</skip>
263 <includes>**/org/openecomp/**/*.java</includes>
264 <configLocation>/google_checks.xml</configLocation>
265 </configuration>
266 </plugin>
267 <plugin>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>findbugs-maven-plugin</artifactId>
270 <version>2.5.2</version>
271 <configuration>
272 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
273 <nested>true</nested>
274 <findbugsXmlOutput>true</findbugsXmlOutput>
275 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
276 <xmlOutput>true</xmlOutput>
277 </configuration>
278 </plugin>
279 <plugin>
280 <groupId>org.codehaus.mojo</groupId>
281 <artifactId>sonar-maven-plugin</artifactId>
282 <version>5.1</version>
283 </plugin>
284 <plugin>
285 <artifactId>maven-scm-plugin</artifactId>
286 <version>1.8.1</version>
287 <configuration>
288 <tag>${project.artifactId}-${project.version}</tag>
289 </configuration>
290 </plugin>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-javadoc-plugin</artifactId>
294 <version>2.9</version>
295 </plugin>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-site-plugin</artifactId>
299 <version>3.6</version>
300 <dependencies>
301 <dependency>
302 <groupId>org.apache.maven.wagon</groupId>
303 <artifactId>wagon-webdav-jackrabbit</artifactId>
304 <version>2.10</version>
305 </dependency>
306 </dependencies>
307 </plugin>
308 <plugin>
309 <groupId>org.codehaus.mojo</groupId>
310 <artifactId>cobertura-maven-plugin</artifactId>
311 <version>2.5.2</version>
312 <configuration>
313 <formats>
314 <format>xml</format>
315 </formats>
316 </configuration>
317 </plugin>
318 <plugin>
319 <groupId>org.codehaus.mojo</groupId>
320 <artifactId>versions-maven-plugin</artifactId>
321 <version>1.3.1</version>
322 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400323
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400324 <plugin>
325 <groupId>com.fortify.ps.maven.plugin</groupId>
326 <artifactId>sca-maven-plugin</artifactId>
327 <version>4.20</version>
328 <configuration>
329 <buildId>mso-${project.version}</buildId>
330 <source>1.8</source>
331 </configuration>
332 </plugin>
333 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400334 <groupId>org.jacoco</groupId>
335 <artifactId>jacoco-maven-plugin</artifactId>
336 <version>${jacoco.version}</version>
337 <executions>
338 <execution>
339 <id>prepare-agent</id>
340 <goals>
341 <goal>prepare-agent</goal>
342 </goals>
343 </execution>
344 <execution>
345 <id>report</id>
346 <goals>
347 <goal>report</goal>
348 </goals>
349 <configuration>
350 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
351 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
352 </configuration>
353 </execution>
354 </executions>
355 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400356 <plugin>
357 <groupId>org.codehaus.mojo</groupId>
358 <artifactId>license-maven-plugin</artifactId>
359 <version>1.15</version>
360 <configuration>
361 <inceptionYear>2017</inceptionYear>
362 <projectName>ONAP - SO</projectName>
363 <licenseName>apache_v2</licenseName>
364 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
365 <emptyLineAfterHeader>true</emptyLineAfterHeader>
366 <trimHeaderLine>true</trimHeaderLine>
367 <processStartTag>============LICENSE_START=======================================================</processStartTag>
368 <sectionDelimiter>================================================================================</sectionDelimiter>
369 <processEndTag>============LICENSE_END=========================================================</processEndTag>
370 <includes>
371 <include>**/*.java</include>
372 <include>**/*.groovy</include>
373 </includes>
374 <excludes>
375 <exclude>**/com/att/**</exclude>
376 </excludes>
377 </configuration>
378 <executions>
379 <execution>
380 <id>verify-headers</id>
381 <goals>
382 <goal>check-file-header</goal>
383 </goals>
384 <configuration>
385 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
386 <failOnMissingHeader>true</failOnMissingHeader>
387 </configuration>
388 </execution>
389 </executions>
390 </plugin>
391 <plugin>
392 <groupId>org.codehaus.gmaven</groupId>
393 <artifactId>groovy-maven-plugin</artifactId>
394 <version>2.0</version>
395 <executions>
396 <!-- set absolute base path from super pom -->
397 <execution>
398 <id>find-basepath</id>
399 <phase>validate</phase>
400 <goals>
401 <goal>execute</goal>
402 </goals>
403 <configuration>
404 <source>
405 <![CDATA[
406 import java.io.File;
407 log.info('## define projects super pom absolute path through basepath_marker')
408 String p = "basepath_marker";
409 File f = null;
410 if( p != null ) {
411 def _max_child_poms = 0
412 while( _max_child_poms++ < 5 ) {
413 f = new File( p );
414 if( f.exists() ) {
415 break;
416 }
417 p = "../" + p;
418 }
419 }
420 if( f != null ) {
421 String basePath = f.getCanonicalPath();
422 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
423 project.properties['base-path'] = basePath.replace( '\\' , '/');
424 log.info(' - used base path = ' + project.properties['base-path'] );
425 } else {
426 log.error( 'Could not find basepath_marker marker file!' );
427 System.stop( 0 );
428 }
429 ]]>
430 </source>
431 </configuration>
432 </execution>
433 </executions>
434 </plugin>
435 <plugin>
436 <groupId>net.revelc.code.formatter</groupId>
437 <artifactId>formatter-maven-plugin</artifactId>
438 <version>2.9.0</version>
439 <executions>
440 <execution>
441 <id>format-java</id>
442 <goals>
443 <goal>format</goal>
444 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530445 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400446 <configuration>
447 <skip>${format.skipExecute}</skip>
448 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
449 </configuration>
450 </execution>
451 <execution>
452 <id>format-xml</id>
453 <goals>
454 <goal>format</goal>
455 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530456 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400457 <configuration>
458 <skip>${format.skipExecute}</skip>
459 <sourceDirectory>${project.basedir}</sourceDirectory>
460 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
461 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400462 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400463 </includes>
464 </configuration>
465 </execution>
466 <execution>
467 <id>validate-java</id>
468 <goals>
469 <goal>validate</goal>
470 </goals>
471 <configuration>
472 <skip>${format.skipValidate}</skip>
473 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
474 </configuration>
475 </execution>
476 <execution>
477 <id>validate-poms</id>
478 <goals>
479 <goal>validate</goal>
480 </goals>
481 <configuration>
482 <skip>${format.skipValidate}</skip>
483 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400484 <includes>
485 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400486 </includes>
487 </configuration>
488 </execution>
489 </executions>
490 <dependencies>
491 <dependency>
492 <groupId>com.fasterxml.jackson.core</groupId>
493 <artifactId>jackson-annotations</artifactId>
494 <version>2.9.8</version>
495 </dependency>
496 </dependencies>
497 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-enforcer-plugin</artifactId>
501 <version>3.0.0-M3</version>
502 <executions>
503 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100504 <id>enforce-property</id>
505 <configuration>
506 <skip>true</skip>
507 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500508 </execution>
509 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100510 <id>enforce-no-snapshots</id>
511 <configuration>
512 <skip>true</skip>
513 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500514 </execution>
515 <execution>
516 <id>enforce-banned-dependencies</id>
517 <goals>
518 <goal>enforce</goal>
519 </goals>
520 <configuration>
521 <rules>
522 <bannedDependencies>
523 <excludes>
524 <exclude>org.powermock</exclude>
525 </excludes>
526 <searchTransitive>false</searchTransitive>
527 </bannedDependencies>
528 </rules>
529 <fail>true</fail>
530 </configuration>
531 </execution>
532 </executions>
533 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400534 </plugins>
535 <pluginManagement>
536 <plugins>
Michal Jagiello8ac3e422020-05-28 10:49:20 +0000537 <plugin>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400538 <groupId>org.eclipse.m2e</groupId>
539 <artifactId>lifecycle-mapping</artifactId>
540 <version>1.0.0</version>
541 <configuration>
542 <lifecycleMappingMetadata>
543 <pluginExecutions>
544 <pluginExecution>
545 <pluginExecutionFilter>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-checkstyle-plugin</artifactId>
548 <versionRange>[1.0.0,)</versionRange>
549 <goals>
550 <goal>check</goal>
551 </goals>
552 </pluginExecutionFilter>
553 <action>
554 <execute />
555 </action>
556 </pluginExecution>
Michal Jagiello8ac3e422020-05-28 10:49:20 +0000557 <pluginExecution>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400558 <pluginExecutionFilter>
559 <groupId>org.codehaus.gmaven</groupId>
560 <artifactId>groovy-maven-plugin</artifactId>
561 <versionRange>[1.0.0,)</versionRange>
562 <goals>
563 <goal>execute</goal>
564 </goals>
565 </pluginExecutionFilter>
566 <action>
567 <execute />
568 </action>
569 </pluginExecution>
570 </pluginExecutions>
571 </lifecycleMappingMetadata>
572 </configuration>
573 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400574 <plugin>
575 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400576 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400577 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400578 <configuration>
579 <skip>${docker.skip}</skip>
580 <skipBuild>${docker.skip.build}</skipBuild>
581 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400582 <dockerHost>${docker.newHost}</dockerHost>
Benjamin, Max9868f172020-05-18 16:37:51 -0400583 <!-- 1. Update address to your local docker VM. 2. Add IP to
584 your NO_PROXY environment variable -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400585 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max9868f172020-05-18 16:37:51 -0400586 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
587 to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400588 <pushRegistry>${dockerPushRepo}</pushRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400589 <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
590 username, and password -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400591 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400592 <!-- If docker repo is not public. Update .m2/settings.xml Add
593 server id settings.dockerRepository, username, and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400594 <images>
595 <image>
596 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100597 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400598 <build>
599 <dockerFileDir>${project.build.directory}</dockerFileDir>
600 </build>
601 </image>
602 </images>
603 </configuration>
604 <executions>
605 <execution>
606 <id>start</id>
607 <goals>
608 <goal>build</goal>
609 <goal>push</goal>
610 </goals>
611 </execution>
612 </executions>
613 </plugin>
614 <plugin>
615 <groupId>org.apache.maven.plugins</groupId>
616 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400617 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400618 <configuration>
619 <systemPropertyVariables>
620 <so.log.level>DEBUG</so.log.level>
621 </systemPropertyVariables>
622 <rerunFailingTestsCount>2</rerunFailingTestsCount>
623 <parallel>classes</parallel>
624 <useUnlimitedThreads>false</useUnlimitedThreads>
625 <threadCount>1</threadCount>
626 </configuration>
627 </plugin>
628 <plugin>
629 <groupId>org.apache.maven.plugins</groupId>
630 <artifactId>maven-failsafe-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400631 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400632 <configuration>
633 <skip>true</skip>
634 <systemPropertyVariables>
635 <so.log.level>DEBUG</so.log.level>
636 </systemPropertyVariables>
637 <rerunFailingTestsCount>2</rerunFailingTestsCount>
638 </configuration>
639 </plugin>
640 <plugin>
641 <groupId>org.apache.maven.plugins</groupId>
642 <artifactId>maven-dependency-plugin</artifactId>
643 <executions>
644 <execution>
645 <id>extract-docker-file</id>
646 <goals>
647 <goal>unpack</goal>
648 </goals>
649 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400650 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400651 <artifactItems>
652 <artifactItem>
653 <groupId>org.onap.so</groupId>
654 <artifactId>deployment-configs</artifactId>
655 <version>${project.version}</version>
656 <outputDirectory>${project.build.directory}</outputDirectory>
657 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
658 <excludes>Kubernetes</excludes>
659 </artifactItem>
660 </artifactItems>
661 </configuration>
662 </execution>
663 </executions>
664 </plugin>
665 <plugin>
666 <groupId>org.apache.maven.plugins</groupId>
667 <artifactId>maven-jar-plugin</artifactId>
668 <version>3.0.2</version>
669 <executions>
670 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400671 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400672 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400673 <goals>
674 <goal>jar</goal>
675 </goals>
676 <configuration>
677 <classifier>${originalClassifier}</classifier>
678 <includes>
679 <include>**</include>
680 </includes>
681 </configuration>
682 </execution>
683 </executions>
684 </plugin>
685 <plugin>
686 <groupId>org.springframework.boot</groupId>
687 <artifactId>spring-boot-maven-plugin</artifactId>
688 <version>${springboot.version}</version>
689 <executions>
690 <execution>
691 <id>build-info</id>
692 <goals>
693 <goal>build-info</goal>
694 </goals>
695 </execution>
696 </executions>
697 </plugin>
698 </plugins>
699 </pluginManagement>
700 </build>
701 <!-- *********************************************************************************************************** -->
702 <!-- Dependencies -->
703 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400704 <dependency>
705 <groupId>org.onap.logging-analytics</groupId>
706 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400707 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400708 <dependency>
709 <groupId>org.onap.logging-analytics</groupId>
710 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400711 </dependency>
712 <dependency>
713 <groupId>org.onap.logging-analytics</groupId>
714 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400715 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400716 <dependency>
717 <groupId>com.fasterxml.jackson.core</groupId>
718 <artifactId>jackson-core</artifactId>
719 </dependency>
720 <dependency>
721 <groupId>com.fasterxml.jackson.module</groupId>
722 <artifactId>jackson-module-jaxb-annotations</artifactId>
723 </dependency>
724 <dependency>
725 <groupId>com.fasterxml.jackson.core</groupId>
726 <artifactId>jackson-databind</artifactId>
727 </dependency>
728 <dependency>
729 <groupId>com.fasterxml.jackson.core</groupId>
730 <artifactId>jackson-annotations</artifactId>
731 </dependency>
732 <dependency>
733 <groupId>com.fasterxml.jackson.jaxrs</groupId>
734 <artifactId>jackson-jaxrs-base</artifactId>
735 </dependency>
736 <dependency>
737 <groupId>com.fasterxml.jackson.jaxrs</groupId>
738 <artifactId>jackson-jaxrs-json-provider</artifactId>
739 </dependency>
740 <dependency>
741 <groupId>javax.ws.rs</groupId>
742 <artifactId>javax.ws.rs-api</artifactId>
743 <version>${jax.ws.rs}</version>
744 </dependency>
745 <dependency>
746 <groupId>javax.annotation</groupId>
747 <artifactId>javax.annotation-api</artifactId>
748 <version>1.3.1</version>
749 </dependency>
750 <dependency>
751 <groupId>javax.inject</groupId>
752 <artifactId>javax.inject</artifactId>
753 <version>1</version>
754 </dependency>
755 <dependency>
756 <groupId>org.mockito</groupId>
757 <artifactId>mockito-core</artifactId>
758 </dependency>
759 <dependency>
760 <groupId>org.hamcrest</groupId>
761 <artifactId>hamcrest-core</artifactId>
762 </dependency>
763 <dependency>
764 <groupId>org.hamcrest</groupId>
765 <artifactId>hamcrest-library</artifactId>
766 </dependency>
767 <dependency>
768 <groupId>junit</groupId>
769 <artifactId>junit</artifactId>
770 <scope>test</scope>
771 </dependency>
772 <dependency>
773 <groupId>xmlunit</groupId>
774 <artifactId>xmlunit</artifactId>
775 <version>1.6</version>
776 <scope>test</scope>
777 </dependency>
778 <dependency>
779 <groupId>com.github.tomakehurst</groupId>
780 <artifactId>wiremock-standalone</artifactId>
781 <version>2.13.0</version>
782 <scope>test</scope>
783 <exclusions>
784 <exclusion>
785 <groupId>org.mortbay.jetty</groupId>
786 <artifactId>jetty</artifactId>
787 </exclusion>
788 <exclusion>
789 <groupId>com.google.guava</groupId>
790 <artifactId>guava</artifactId>
791 </exclusion>
792 <exclusion>
793 <groupId>com.fasterxml.jackson.core</groupId>
794 <artifactId>jackson-core</artifactId>
795 </exclusion>
796 <exclusion>
797 <groupId>com.fasterxml.jackson.core</groupId>
798 <artifactId>jackson-annotations</artifactId>
799 </exclusion>
800 <exclusion>
801 <groupId>com.fasterxml.jackson.core</groupId>
802 <artifactId>jackson-databind</artifactId>
803 </exclusion>
804 <exclusion>
805 <groupId>org.apache.httpcomponents</groupId>
806 <artifactId>httpclient</artifactId>
807 </exclusion>
808 <exclusion>
809 <groupId>org.skyscreamer</groupId>
810 <artifactId>jsonassert</artifactId>
811 </exclusion>
812 <exclusion>
813 <groupId>xmlunit</groupId>
814 <artifactId>xmlunit</artifactId>
815 </exclusion>
816 <exclusion>
817 <groupId>com.jayway.jsonpath</groupId>
818 <artifactId>json-path</artifactId>
819 </exclusion>
820 <exclusion>
821 <groupId>net.sf.jopt-simple</groupId>
822 <artifactId>jopt-simple</artifactId>
823 </exclusion>
824 </exclusions>
825 </dependency>
826 <dependency>
827 <groupId>com.openpojo</groupId>
828 <artifactId>openpojo</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400829 <version>0.8.13</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400830 </dependency>
831 <dependency>
832 <groupId>com.shazam</groupId>
833 <artifactId>shazamcrest</artifactId>
834 <version>0.11</version>
835 <scope>test</scope>
836 <exclusions>
837 <exclusion>
838 <groupId>com.google.guava</groupId>
839 <artifactId>guava</artifactId>
840 </exclusion>
841 <exclusion>
842 <groupId>org.apache.commons</groupId>
843 <artifactId>commons-lang3</artifactId>
844 </exclusion>
845 </exclusions>
846 </dependency>
847 <dependency>
848 <groupId>org.assertj</groupId>
849 <artifactId>assertj-core</artifactId>
850 <version>3.11.1</version>
851 <scope>test</scope>
852 </dependency>
853 <dependency>
Benjamin, Max9868f172020-05-18 16:37:51 -0400854 <groupId>org.ow2.asm</groupId>
855 <artifactId>asm</artifactId>
856 <version>7.0</version>
857 <scope>test</scope>
858 </dependency>
859 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400860 <groupId>com.googlecode.junit-toolbox</groupId>
861 <artifactId>junit-toolbox</artifactId>
862 <version>2.4</version>
863 </dependency>
864 </dependencies>
865 <dependencyManagement>
866 <dependencies>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400867 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400868 <groupId>org.onap.logging-analytics</groupId>
869 <artifactId>logging-slf4j</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400870 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400871 </dependency>
872 <dependency>
873 <groupId>org.onap.logging-analytics</groupId>
874 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400875 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400876 </dependency>
877 <dependency>
878 <groupId>org.onap.logging-analytics</groupId>
879 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400880 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400881 </dependency>
882 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400883 <groupId>org.apache.httpcomponents</groupId>
884 <artifactId>httpcore</artifactId>
885 <version>4.4.4</version>
886 <scope>compile</scope>
887 </dependency>
888 <dependency>
889 <groupId>commons-codec</groupId>
890 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400891 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400892 <scope>compile</scope>
893 </dependency>
894 <dependency>
895 <groupId>commons-io</groupId>
896 <artifactId>commons-io</artifactId>
897 <version>2.5</version>
898 <scope>compile</scope>
899 </dependency>
900 <dependency>
901 <groupId>com.sun.xml.fastinfoset</groupId>
902 <artifactId>FastInfoset</artifactId>
903 <version>1.2.13</version>
904 <scope>compile</scope>
905 </dependency>
906 <dependency>
907 <groupId>org.springframework.boot</groupId>
908 <artifactId>spring-boot-dependencies</artifactId>
909 <version>${springboot.version}</version>
910 <type>pom</type>
911 <scope>import</scope>
912 </dependency>
913 <dependency>
914 <groupId>org.yaml</groupId>
915 <artifactId>snakeyaml</artifactId>
916 <version>1.23</version>
917 </dependency>
918 <dependency>
919 <groupId>javax.interceptor</groupId>
920 <artifactId>javax.interceptor-api</artifactId>
921 <version>1.2.2</version>
922 </dependency>
923 <dependency>
924 <groupId>org.springframework.boot</groupId>
925 <artifactId>spring-boot-starter-test</artifactId>
926 <version>${springboot.version}</version>
927 <exclusions>
928 <exclusion>
929 <groupId>com.vaadin.external.google</groupId>
930 <artifactId>android-json</artifactId>
931 </exclusion>
932 </exclusions>
933 </dependency>
934 <dependency>
935 <groupId>net.javacrumbs.shedlock</groupId>
936 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500937 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400938 </dependency>
939 <dependency>
940 <groupId>net.javacrumbs.shedlock</groupId>
941 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500942 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400943 </dependency>
944 <dependency>
945 <groupId>org.flywaydb</groupId>
946 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500947 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400948 </dependency>
949 <dependency>
950 <groupId>org.json</groupId>
951 <artifactId>json</artifactId>
952 <version>20140107</version>
953 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400954 <dependency>
955 <groupId>org.onap.aai.schema-service</groupId>
956 <artifactId>aai-schema</artifactId>
Benjamin, Max (mb388a)959d27a2020-05-15 09:57:38 -0400957 <version>1.7.2</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400958 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400959 </dependencies>
960 </dependencyManagement>
961 <profiles>
962 <profile>
963 <id>docker-image-build</id>
964 <properties>
965 <docker.skip>false</docker.skip>
966 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400967 </properties>
968 </profile>
969 <profile>
970 <id>docker-image-build-push</id>
971 <properties>
972 <docker.skip>false</docker.skip>
973 <docker.skip.build>false</docker.skip.build>
974 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400975 </properties>
976 </profile>
977 <profile>
978 <id>format</id>
979 <properties>
980 <format.skipValidate>true</format.skipValidate>
981 <format.skipExecute>false</format.skipExecute>
982 </properties>
983 </profile>
984 <profile>
985 <id>m2e</id>
986 <activation>
987 <property>
988 <name>m2e.version</name>
989 </property>
990 </activation>
991 <properties>
992 <originalClassifier />
993 </properties>
994 </profile>
Benjamin, Max9868f172020-05-18 16:37:51 -0400995 <profile>
996 <id>java8</id>
997 <build>
998 <plugins>
999 <plugin>
1000 <groupId>org.apache.maven.plugins</groupId>
1001 <artifactId>maven-compiler-plugin</artifactId>
1002 <version>3.8.0</version>
1003 <configuration>
1004 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1005 <source>1.8</source>
1006 <target>1.8</target>
1007 </configuration>
1008 </plugin>
1009 </plugins>
1010 </build>
1011 <activation>
1012 <property>
1013 <name>m2e.version</name>
1014 </property>
1015 <activeByDefault>true</activeByDefault>
1016 </activation>
1017 </profile>
1018 <profile>
1019 <id>java11</id>
1020 <build>
1021 <plugins>
1022 <plugin>
1023 <groupId>org.apache.maven.plugins</groupId>
1024 <artifactId>maven-compiler-plugin</artifactId>
1025 <version>3.8.0</version>
1026 <configuration>
1027 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1028 <source>11</source>
1029 <target>11</target>
1030 <release>11</release>
1031 </configuration>
1032 </plugin>
1033 </plugins>
1034 </build>
1035 </profile>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04001036 </profiles>
Michal Jagiello8ac3e422020-05-28 10:49:20 +00001037</project>