blob: 68559c99c4c949c42e3a518bc1059363b30552b9 [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>
Boslet, Coryb7c956f2020-07-06 09:58:17 -040031 <module>so-optimization-clients</module>
Boslet, Coryda366372020-07-07 11:46:43 -040032 <module>so-sdn-clients</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040033 <module>bpmn</module>
34 <module>cloudify-client</module>
35 <module>cxf-logging</module>
36 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040037 <module>so-simulator</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010038 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040039 </modules>
40 <properties>
41 <project.mso.base.folder>.</project.mso.base.folder>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
44 <sonar.language>java</sonar.language>
45 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
46 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000047 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040048 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
49 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
50 <sonar.projectVersion>${project.version}</sonar.projectVersion>
51 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000052 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040053 <org.apache.maven.user-settings />
Smokowski, Steven2ba1b392020-04-04 10:47:34 -040054 <openstack.version>1.6.1-SNAPSHOT</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040055 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
56 <originalClassifier>original</originalClassifier>
57 <docker.skip>true</docker.skip>
58 <docker.skip.build>true</docker.skip.build>
59 <docker.skip.push>true</docker.skip.push>
60 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
61 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
62 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050063 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040064 <nexusproxy>https://nexus.onap.org</nexusproxy>
65 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
66 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
67 <publicNexusPath>content/repositories/public/</publicNexusPath>
68 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
Benjamin, Max9868f172020-05-18 16:37:51 -040069 <cxf.version>3.3.3</cxf.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040070 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050071 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040072 <camunda.springboot.version>3.2.0</camunda.springboot.version>
73 <format.skipValidate>false</format.skipValidate>
74 <format.skipExecute>true</format.skipExecute>
Benjamin, Max5f57d092020-05-13 17:48:03 -040075 <io.fabric8.version>0.33.0</io.fabric8.version>
Kuleshov, Elenac1f414d2020-07-16 11:37:11 -040076 <appc.client.version>1.8.0-SNAPSHOT</appc.client.version>
Benjamin, Max9868f172020-05-18 16:37:51 -040077 <bowman.client.version>0.8.0</bowman.client.version>
78 <aaf.cadi.version>2.1.15</aaf.cadi.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040079 </properties>
80 <distributionManagement>
81 <repository>
82 <id>ecomp-releases</id>
83 <url>${nexusproxy}/${releaseNexusPath}</url>
84 </repository>
85 <snapshotRepository>
86 <id>ecomp-snapshots</id>
87 <url>${nexusproxy}/${snapshotNexusPath}</url>
88 </snapshotRepository>
89 <site>
90 <id>ecomp-site</id>
91 <url>dav:${nexusproxy}${siteNexusPath}</url>
92 </site>
93 </distributionManagement>
94 <reporting>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-javadoc-plugin</artifactId>
99 <version>2.10.4</version>
100 <configuration>
101 <failOnError>false</failOnError>
102 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
103 <docletArtifact>
104 <groupId>org.umlgraph</groupId>
105 <artifactId>umlgraph</artifactId>
106 <version>5.6</version>
107 </docletArtifact>
108 <additionalparam>-views</additionalparam>
109 <useStandardDocletOptions>true</useStandardDocletOptions>
110 </configuration>
111 </plugin>
112 </plugins>
113 </reporting>
114 <!-- configure build -->
115 <!-- *********************************************************************************************************** -->
116 <!-- Plugins and repositories -->
117 <pluginRepositories>
118 <pluginRepository>
119 <id>central</id>
120 <url>http://repo1.maven.org/maven2</url>
121 </pluginRepository>
122 <pluginRepository>
123 <id>restlet</id>
124 <url>http://maven.restlet.com</url>
125 </pluginRepository>
126 <pluginRepository>
127 <id>ecomp-public</id>
128 <url>${nexusproxy}/${publicNexusPath}</url>
129 <snapshots>
130 <enabled>false</enabled>
131 </snapshots>
132 </pluginRepository>
133 <pluginRepository>
134 <id>ecomp-release</id>
135 <url>${nexusproxy}/${releaseNexusPath}</url>
136 <snapshots>
137 <enabled>false</enabled>
138 </snapshots>
139 </pluginRepository>
140 <pluginRepository>
141 <id>ecomp-snapshots</id>
142 <url>${nexusproxy}/${snapshotNexusPath}</url>
143 <releases>
144 <enabled>false</enabled>
145 </releases>
146 </pluginRepository>
147 </pluginRepositories>
148 <repositories>
149 <repository>
150 <id>ecomp-public</id>
151 <url>https://nexus.onap.org/content/repositories/public/</url>
152 <snapshots>
153 <enabled>false</enabled>
154 </snapshots>
155 </repository>
156 <repository>
157 <id>ecomp-releases</id>
158 <url>https://nexus.onap.org/content/repositories/releases/</url>
159 <snapshots>
160 <enabled>false</enabled>
161 </snapshots>
162 </repository>
163 <repository>
164 <id>ecomp-snapshots</id>
165 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
166 <releases>
167 <enabled>false</enabled>
168 </releases>
169 </repository>
170 <repository>
171 <id>camunda-bpm</id>
172 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
173 </repository>
174 <repository>
175 <id>camunda-public</id>
176 <url>https://app.camunda.com/nexus/content/groups/public</url>
177 </repository>
178 <repository>
179 <!-- TODO: remove from ONAP environemnt -->
180 <id>onap-releases</id>
181 <url>https://nexus.onap.org/content/repositories/releases/</url>
182 <snapshots>
183 <enabled>false</enabled>
184 </snapshots>
185 </repository>
186 <repository>
187 <!-- TODO: remove from ONAP environemnt -->
188 <id>onap-snapshots</id>
189 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
190 <releases>
191 <enabled>false</enabled>
192 </releases>
193 </repository>
194 </repositories>
195 <!-- *********************************************************************************************************** -->
196 <!-- Build -->
197 <build>
198 <resources>
199 <resource>
200 <directory>src/main/resources</directory>
201 <filtering>true</filtering>
202 </resource>
203 <resource>
204 <directory>target/generated-sources/license</directory>
205 <includes>
206 <include>third-party-licenses.txt</include>
207 </includes>
208 </resource>
209 <resource>
210 <directory>target/generated-resources/licenses</directory>
211 <includes>
212 <include>*.*</include>
213 </includes>
214 <targetPath>third-party-licenses</targetPath>
215 </resource>
216 </resources>
217 <plugins>
Benjamin, Max9868f172020-05-18 16:37:51 -0400218 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
219 <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl>
220 <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId>
221 </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400225 <version>2.8</version>
226 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400227 <configuration>
228 <skip />
229 </configuration>
230 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-compiler-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400234 <version>3.8.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400235 <configuration>
236 <debug>true</debug>
237 <compilerArgument>-Xlint</compilerArgument>
238 <verbose>true</verbose>
239 <showDeprecation>true</showDeprecation>
240 <showWarnings>true</showWarnings>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400241 <compilerArgs>
242 <arg>-parameters</arg>
243 </compilerArgs>
244 </configuration>
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 <skip>true</skip>
265 <includes>**/org/openecomp/**/*.java</includes>
266 <configLocation>/google_checks.xml</configLocation>
267 </configuration>
268 </plugin>
269 <plugin>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>findbugs-maven-plugin</artifactId>
272 <version>2.5.2</version>
273 <configuration>
274 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
275 <nested>true</nested>
276 <findbugsXmlOutput>true</findbugsXmlOutput>
277 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
278 <xmlOutput>true</xmlOutput>
279 </configuration>
280 </plugin>
281 <plugin>
282 <groupId>org.codehaus.mojo</groupId>
283 <artifactId>sonar-maven-plugin</artifactId>
284 <version>5.1</version>
285 </plugin>
286 <plugin>
287 <artifactId>maven-scm-plugin</artifactId>
288 <version>1.8.1</version>
289 <configuration>
290 <tag>${project.artifactId}-${project.version}</tag>
291 </configuration>
292 </plugin>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-javadoc-plugin</artifactId>
296 <version>2.9</version>
297 </plugin>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-site-plugin</artifactId>
301 <version>3.6</version>
302 <dependencies>
303 <dependency>
304 <groupId>org.apache.maven.wagon</groupId>
305 <artifactId>wagon-webdav-jackrabbit</artifactId>
306 <version>2.10</version>
307 </dependency>
308 </dependencies>
309 </plugin>
310 <plugin>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>cobertura-maven-plugin</artifactId>
313 <version>2.5.2</version>
314 <configuration>
315 <formats>
316 <format>xml</format>
317 </formats>
318 </configuration>
319 </plugin>
320 <plugin>
321 <groupId>org.codehaus.mojo</groupId>
322 <artifactId>versions-maven-plugin</artifactId>
323 <version>1.3.1</version>
324 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400325
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400326 <plugin>
327 <groupId>com.fortify.ps.maven.plugin</groupId>
328 <artifactId>sca-maven-plugin</artifactId>
329 <version>4.20</version>
330 <configuration>
331 <buildId>mso-${project.version}</buildId>
332 <source>1.8</source>
333 </configuration>
334 </plugin>
335 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400336 <groupId>org.jacoco</groupId>
337 <artifactId>jacoco-maven-plugin</artifactId>
338 <version>${jacoco.version}</version>
339 <executions>
340 <execution>
341 <id>prepare-agent</id>
342 <goals>
343 <goal>prepare-agent</goal>
344 </goals>
345 </execution>
346 <execution>
347 <id>report</id>
348 <goals>
349 <goal>report</goal>
350 </goals>
351 <configuration>
352 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
353 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
354 </configuration>
355 </execution>
356 </executions>
357 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400358 <plugin>
359 <groupId>org.codehaus.mojo</groupId>
360 <artifactId>license-maven-plugin</artifactId>
361 <version>1.15</version>
362 <configuration>
363 <inceptionYear>2017</inceptionYear>
364 <projectName>ONAP - SO</projectName>
365 <licenseName>apache_v2</licenseName>
366 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
367 <emptyLineAfterHeader>true</emptyLineAfterHeader>
368 <trimHeaderLine>true</trimHeaderLine>
369 <processStartTag>============LICENSE_START=======================================================</processStartTag>
370 <sectionDelimiter>================================================================================</sectionDelimiter>
371 <processEndTag>============LICENSE_END=========================================================</processEndTag>
372 <includes>
373 <include>**/*.java</include>
374 <include>**/*.groovy</include>
375 </includes>
376 <excludes>
377 <exclude>**/com/att/**</exclude>
378 </excludes>
379 </configuration>
380 <executions>
381 <execution>
382 <id>verify-headers</id>
383 <goals>
384 <goal>check-file-header</goal>
385 </goals>
386 <configuration>
387 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
388 <failOnMissingHeader>true</failOnMissingHeader>
389 </configuration>
390 </execution>
391 </executions>
392 </plugin>
393 <plugin>
394 <groupId>org.codehaus.gmaven</groupId>
395 <artifactId>groovy-maven-plugin</artifactId>
396 <version>2.0</version>
397 <executions>
398 <!-- set absolute base path from super pom -->
399 <execution>
400 <id>find-basepath</id>
401 <phase>validate</phase>
402 <goals>
403 <goal>execute</goal>
404 </goals>
405 <configuration>
406 <source>
407 <![CDATA[
408 import java.io.File;
409 log.info('## define projects super pom absolute path through basepath_marker')
410 String p = "basepath_marker";
411 File f = null;
412 if( p != null ) {
413 def _max_child_poms = 0
414 while( _max_child_poms++ < 5 ) {
415 f = new File( p );
416 if( f.exists() ) {
417 break;
418 }
419 p = "../" + p;
420 }
421 }
422 if( f != null ) {
423 String basePath = f.getCanonicalPath();
424 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
425 project.properties['base-path'] = basePath.replace( '\\' , '/');
426 log.info(' - used base path = ' + project.properties['base-path'] );
427 } else {
428 log.error( 'Could not find basepath_marker marker file!' );
429 System.stop( 0 );
430 }
431 ]]>
432 </source>
433 </configuration>
434 </execution>
435 </executions>
436 </plugin>
437 <plugin>
438 <groupId>net.revelc.code.formatter</groupId>
439 <artifactId>formatter-maven-plugin</artifactId>
440 <version>2.9.0</version>
441 <executions>
442 <execution>
443 <id>format-java</id>
444 <goals>
445 <goal>format</goal>
446 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530447 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400448 <configuration>
449 <skip>${format.skipExecute}</skip>
450 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
451 </configuration>
452 </execution>
453 <execution>
454 <id>format-xml</id>
455 <goals>
456 <goal>format</goal>
457 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530458 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400459 <configuration>
460 <skip>${format.skipExecute}</skip>
461 <sourceDirectory>${project.basedir}</sourceDirectory>
462 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
463 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400464 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400465 </includes>
466 </configuration>
467 </execution>
468 <execution>
469 <id>validate-java</id>
470 <goals>
471 <goal>validate</goal>
472 </goals>
473 <configuration>
474 <skip>${format.skipValidate}</skip>
475 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
476 </configuration>
477 </execution>
478 <execution>
479 <id>validate-poms</id>
480 <goals>
481 <goal>validate</goal>
482 </goals>
483 <configuration>
484 <skip>${format.skipValidate}</skip>
485 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400486 <includes>
487 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400488 </includes>
489 </configuration>
490 </execution>
491 </executions>
492 <dependencies>
493 <dependency>
494 <groupId>com.fasterxml.jackson.core</groupId>
495 <artifactId>jackson-annotations</artifactId>
496 <version>2.9.8</version>
497 </dependency>
498 </dependencies>
499 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500500 <plugin>
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-enforcer-plugin</artifactId>
503 <version>3.0.0-M3</version>
504 <executions>
505 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100506 <id>enforce-property</id>
507 <configuration>
508 <skip>true</skip>
509 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500510 </execution>
511 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100512 <id>enforce-no-snapshots</id>
513 <configuration>
514 <skip>true</skip>
515 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500516 </execution>
517 <execution>
518 <id>enforce-banned-dependencies</id>
519 <goals>
520 <goal>enforce</goal>
521 </goals>
522 <configuration>
523 <rules>
524 <bannedDependencies>
525 <excludes>
526 <exclude>org.powermock</exclude>
527 </excludes>
528 <searchTransitive>false</searchTransitive>
529 </bannedDependencies>
530 </rules>
531 <fail>true</fail>
532 </configuration>
533 </execution>
534 </executions>
535 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400536 </plugins>
537 <pluginManagement>
538 <plugins>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400539 <plugin>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400540 <groupId>org.eclipse.m2e</groupId>
541 <artifactId>lifecycle-mapping</artifactId>
542 <version>1.0.0</version>
543 <configuration>
544 <lifecycleMappingMetadata>
545 <pluginExecutions>
546 <pluginExecution>
547 <pluginExecutionFilter>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-checkstyle-plugin</artifactId>
550 <versionRange>[1.0.0,)</versionRange>
551 <goals>
552 <goal>check</goal>
553 </goals>
554 </pluginExecutionFilter>
555 <action>
556 <execute />
557 </action>
558 </pluginExecution>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400559 <pluginExecution>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400560 <pluginExecutionFilter>
561 <groupId>org.codehaus.gmaven</groupId>
562 <artifactId>groovy-maven-plugin</artifactId>
563 <versionRange>[1.0.0,)</versionRange>
564 <goals>
565 <goal>execute</goal>
566 </goals>
567 </pluginExecutionFilter>
568 <action>
569 <execute />
570 </action>
571 </pluginExecution>
572 </pluginExecutions>
573 </lifecycleMappingMetadata>
574 </configuration>
575 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400576 <plugin>
577 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400578 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400579 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400580 <configuration>
581 <skip>${docker.skip}</skip>
582 <skipBuild>${docker.skip.build}</skipBuild>
583 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400584 <dockerHost>${docker.newHost}</dockerHost>
Benjamin, Max9868f172020-05-18 16:37:51 -0400585 <!-- 1. Update address to your local docker VM. 2. Add IP to
586 your NO_PROXY environment variable -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400587 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max9868f172020-05-18 16:37:51 -0400588 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
589 to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400590 <pushRegistry>${dockerPushRepo}</pushRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400591 <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
592 username, and password -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400593 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400594 <!-- If docker repo is not public. Update .m2/settings.xml Add
595 server id settings.dockerRepository, username, and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400596 <images>
597 <image>
598 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100599 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400600 <build>
601 <dockerFileDir>${project.build.directory}</dockerFileDir>
602 </build>
603 </image>
604 </images>
605 </configuration>
606 <executions>
607 <execution>
608 <id>start</id>
609 <goals>
610 <goal>build</goal>
611 <goal>push</goal>
612 </goals>
613 </execution>
614 </executions>
615 </plugin>
616 <plugin>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400619 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400620 <configuration>
621 <systemPropertyVariables>
622 <so.log.level>DEBUG</so.log.level>
623 </systemPropertyVariables>
624 <rerunFailingTestsCount>2</rerunFailingTestsCount>
625 <parallel>classes</parallel>
626 <useUnlimitedThreads>false</useUnlimitedThreads>
627 <threadCount>1</threadCount>
628 </configuration>
629 </plugin>
630 <plugin>
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-failsafe-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400633 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400634 <configuration>
635 <skip>true</skip>
636 <systemPropertyVariables>
637 <so.log.level>DEBUG</so.log.level>
638 </systemPropertyVariables>
639 <rerunFailingTestsCount>2</rerunFailingTestsCount>
640 </configuration>
641 </plugin>
642 <plugin>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-dependency-plugin</artifactId>
645 <executions>
646 <execution>
647 <id>extract-docker-file</id>
648 <goals>
649 <goal>unpack</goal>
650 </goals>
651 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400652 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400653 <artifactItems>
654 <artifactItem>
655 <groupId>org.onap.so</groupId>
656 <artifactId>deployment-configs</artifactId>
657 <version>${project.version}</version>
658 <outputDirectory>${project.build.directory}</outputDirectory>
659 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
660 <excludes>Kubernetes</excludes>
661 </artifactItem>
662 </artifactItems>
663 </configuration>
664 </execution>
665 </executions>
666 </plugin>
667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-jar-plugin</artifactId>
670 <version>3.0.2</version>
671 <executions>
672 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400673 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400674 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400675 <goals>
676 <goal>jar</goal>
677 </goals>
678 <configuration>
679 <classifier>${originalClassifier}</classifier>
680 <includes>
681 <include>**</include>
682 </includes>
683 </configuration>
684 </execution>
685 </executions>
686 </plugin>
687 <plugin>
688 <groupId>org.springframework.boot</groupId>
689 <artifactId>spring-boot-maven-plugin</artifactId>
690 <version>${springboot.version}</version>
691 <executions>
692 <execution>
693 <id>build-info</id>
694 <goals>
695 <goal>build-info</goal>
696 </goals>
697 </execution>
698 </executions>
699 </plugin>
700 </plugins>
701 </pluginManagement>
702 </build>
703 <!-- *********************************************************************************************************** -->
704 <!-- Dependencies -->
705 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400706 <dependency>
707 <groupId>org.onap.logging-analytics</groupId>
708 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400709 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400710 <dependency>
711 <groupId>org.onap.logging-analytics</groupId>
712 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400713 </dependency>
714 <dependency>
715 <groupId>org.onap.logging-analytics</groupId>
716 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400717 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400718 <dependency>
719 <groupId>com.fasterxml.jackson.core</groupId>
720 <artifactId>jackson-core</artifactId>
721 </dependency>
722 <dependency>
723 <groupId>com.fasterxml.jackson.module</groupId>
724 <artifactId>jackson-module-jaxb-annotations</artifactId>
725 </dependency>
726 <dependency>
727 <groupId>com.fasterxml.jackson.core</groupId>
728 <artifactId>jackson-databind</artifactId>
729 </dependency>
730 <dependency>
731 <groupId>com.fasterxml.jackson.core</groupId>
732 <artifactId>jackson-annotations</artifactId>
733 </dependency>
734 <dependency>
735 <groupId>com.fasterxml.jackson.jaxrs</groupId>
736 <artifactId>jackson-jaxrs-base</artifactId>
737 </dependency>
738 <dependency>
739 <groupId>com.fasterxml.jackson.jaxrs</groupId>
740 <artifactId>jackson-jaxrs-json-provider</artifactId>
741 </dependency>
742 <dependency>
743 <groupId>javax.ws.rs</groupId>
744 <artifactId>javax.ws.rs-api</artifactId>
745 <version>${jax.ws.rs}</version>
746 </dependency>
747 <dependency>
748 <groupId>javax.annotation</groupId>
749 <artifactId>javax.annotation-api</artifactId>
750 <version>1.3.1</version>
751 </dependency>
752 <dependency>
753 <groupId>javax.inject</groupId>
754 <artifactId>javax.inject</artifactId>
755 <version>1</version>
756 </dependency>
757 <dependency>
758 <groupId>org.mockito</groupId>
759 <artifactId>mockito-core</artifactId>
760 </dependency>
761 <dependency>
762 <groupId>org.hamcrest</groupId>
763 <artifactId>hamcrest-core</artifactId>
764 </dependency>
765 <dependency>
766 <groupId>org.hamcrest</groupId>
767 <artifactId>hamcrest-library</artifactId>
768 </dependency>
769 <dependency>
770 <groupId>junit</groupId>
771 <artifactId>junit</artifactId>
772 <scope>test</scope>
773 </dependency>
774 <dependency>
775 <groupId>xmlunit</groupId>
776 <artifactId>xmlunit</artifactId>
777 <version>1.6</version>
778 <scope>test</scope>
779 </dependency>
780 <dependency>
781 <groupId>com.github.tomakehurst</groupId>
782 <artifactId>wiremock-standalone</artifactId>
783 <version>2.13.0</version>
784 <scope>test</scope>
785 <exclusions>
786 <exclusion>
787 <groupId>org.mortbay.jetty</groupId>
788 <artifactId>jetty</artifactId>
789 </exclusion>
790 <exclusion>
791 <groupId>com.google.guava</groupId>
792 <artifactId>guava</artifactId>
793 </exclusion>
794 <exclusion>
795 <groupId>com.fasterxml.jackson.core</groupId>
796 <artifactId>jackson-core</artifactId>
797 </exclusion>
798 <exclusion>
799 <groupId>com.fasterxml.jackson.core</groupId>
800 <artifactId>jackson-annotations</artifactId>
801 </exclusion>
802 <exclusion>
803 <groupId>com.fasterxml.jackson.core</groupId>
804 <artifactId>jackson-databind</artifactId>
805 </exclusion>
806 <exclusion>
807 <groupId>org.apache.httpcomponents</groupId>
808 <artifactId>httpclient</artifactId>
809 </exclusion>
810 <exclusion>
811 <groupId>org.skyscreamer</groupId>
812 <artifactId>jsonassert</artifactId>
813 </exclusion>
814 <exclusion>
815 <groupId>xmlunit</groupId>
816 <artifactId>xmlunit</artifactId>
817 </exclusion>
818 <exclusion>
819 <groupId>com.jayway.jsonpath</groupId>
820 <artifactId>json-path</artifactId>
821 </exclusion>
822 <exclusion>
823 <groupId>net.sf.jopt-simple</groupId>
824 <artifactId>jopt-simple</artifactId>
825 </exclusion>
826 </exclusions>
827 </dependency>
828 <dependency>
829 <groupId>com.openpojo</groupId>
830 <artifactId>openpojo</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400831 <version>0.8.13</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400832 </dependency>
833 <dependency>
834 <groupId>com.shazam</groupId>
835 <artifactId>shazamcrest</artifactId>
836 <version>0.11</version>
837 <scope>test</scope>
838 <exclusions>
839 <exclusion>
840 <groupId>com.google.guava</groupId>
841 <artifactId>guava</artifactId>
842 </exclusion>
843 <exclusion>
844 <groupId>org.apache.commons</groupId>
845 <artifactId>commons-lang3</artifactId>
846 </exclusion>
847 </exclusions>
848 </dependency>
849 <dependency>
850 <groupId>org.assertj</groupId>
851 <artifactId>assertj-core</artifactId>
852 <version>3.11.1</version>
853 <scope>test</scope>
854 </dependency>
855 <dependency>
Benjamin, Max9868f172020-05-18 16:37:51 -0400856 <groupId>org.ow2.asm</groupId>
857 <artifactId>asm</artifactId>
858 <version>7.0</version>
859 <scope>test</scope>
860 </dependency>
861 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400862 <groupId>com.googlecode.junit-toolbox</groupId>
863 <artifactId>junit-toolbox</artifactId>
864 <version>2.4</version>
865 </dependency>
866 </dependencies>
867 <dependencyManagement>
868 <dependencies>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400869 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400870 <groupId>org.onap.logging-analytics</groupId>
871 <artifactId>logging-slf4j</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200872 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400873 </dependency>
874 <dependency>
875 <groupId>org.onap.logging-analytics</groupId>
876 <artifactId>logging-filter-base</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200877 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400878 </dependency>
879 <dependency>
880 <groupId>org.onap.logging-analytics</groupId>
881 <artifactId>logging-filter-spring</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200882 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400883 </dependency>
884 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400885 <groupId>org.apache.httpcomponents</groupId>
886 <artifactId>httpcore</artifactId>
887 <version>4.4.4</version>
888 <scope>compile</scope>
889 </dependency>
890 <dependency>
891 <groupId>commons-codec</groupId>
892 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400893 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400894 <scope>compile</scope>
895 </dependency>
896 <dependency>
897 <groupId>commons-io</groupId>
898 <artifactId>commons-io</artifactId>
899 <version>2.5</version>
900 <scope>compile</scope>
901 </dependency>
902 <dependency>
903 <groupId>com.sun.xml.fastinfoset</groupId>
904 <artifactId>FastInfoset</artifactId>
905 <version>1.2.13</version>
906 <scope>compile</scope>
907 </dependency>
908 <dependency>
909 <groupId>org.springframework.boot</groupId>
910 <artifactId>spring-boot-dependencies</artifactId>
911 <version>${springboot.version}</version>
912 <type>pom</type>
913 <scope>import</scope>
914 </dependency>
915 <dependency>
916 <groupId>org.yaml</groupId>
917 <artifactId>snakeyaml</artifactId>
deepikasatheeshf70e8de2020-07-29 22:53:54 -0700918 <version>1.26</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400919 </dependency>
920 <dependency>
921 <groupId>javax.interceptor</groupId>
922 <artifactId>javax.interceptor-api</artifactId>
923 <version>1.2.2</version>
924 </dependency>
925 <dependency>
926 <groupId>org.springframework.boot</groupId>
927 <artifactId>spring-boot-starter-test</artifactId>
928 <version>${springboot.version}</version>
929 <exclusions>
930 <exclusion>
931 <groupId>com.vaadin.external.google</groupId>
932 <artifactId>android-json</artifactId>
933 </exclusion>
934 </exclusions>
935 </dependency>
936 <dependency>
937 <groupId>net.javacrumbs.shedlock</groupId>
938 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500939 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400940 </dependency>
941 <dependency>
942 <groupId>net.javacrumbs.shedlock</groupId>
943 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500944 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400945 </dependency>
946 <dependency>
947 <groupId>org.flywaydb</groupId>
948 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500949 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400950 </dependency>
951 <dependency>
952 <groupId>org.json</groupId>
953 <artifactId>json</artifactId>
954 <version>20140107</version>
955 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400956 <dependency>
957 <groupId>org.onap.aai.schema-service</groupId>
958 <artifactId>aai-schema</artifactId>
Benjamin, Max (mb388a)959d27a2020-05-15 09:57:38 -0400959 <version>1.7.2</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400960 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400961 </dependencies>
962 </dependencyManagement>
963 <profiles>
964 <profile>
965 <id>docker-image-build</id>
966 <properties>
967 <docker.skip>false</docker.skip>
968 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400969 </properties>
970 </profile>
971 <profile>
972 <id>docker-image-build-push</id>
973 <properties>
974 <docker.skip>false</docker.skip>
975 <docker.skip.build>false</docker.skip.build>
976 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400977 </properties>
978 </profile>
979 <profile>
980 <id>format</id>
981 <properties>
982 <format.skipValidate>true</format.skipValidate>
983 <format.skipExecute>false</format.skipExecute>
984 </properties>
985 </profile>
986 <profile>
987 <id>m2e</id>
988 <activation>
989 <property>
990 <name>m2e.version</name>
991 </property>
992 </activation>
993 <properties>
994 <originalClassifier />
995 </properties>
996 </profile>
Benjamin, Max9868f172020-05-18 16:37:51 -0400997 <profile>
998 <id>java8</id>
999 <build>
1000 <plugins>
1001 <plugin>
1002 <groupId>org.apache.maven.plugins</groupId>
1003 <artifactId>maven-compiler-plugin</artifactId>
1004 <version>3.8.0</version>
1005 <configuration>
1006 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1007 <source>1.8</source>
1008 <target>1.8</target>
1009 </configuration>
1010 </plugin>
1011 </plugins>
1012 </build>
1013 <activation>
1014 <property>
1015 <name>m2e.version</name>
1016 </property>
1017 <activeByDefault>true</activeByDefault>
1018 </activation>
1019 </profile>
1020 <profile>
1021 <id>java11</id>
1022 <build>
1023 <plugins>
1024 <plugin>
1025 <groupId>org.apache.maven.plugins</groupId>
1026 <artifactId>maven-compiler-plugin</artifactId>
1027 <version>3.8.0</version>
1028 <configuration>
1029 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1030 <source>11</source>
1031 <target>11</target>
1032 <release>11</release>
1033 </configuration>
1034 </plugin>
1035 </plugins>
1036 </build>
1037 </profile>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04001038 </profiles>
Michal Jagiello8ac3e422020-05-28 10:49:20 +00001039</project>