blob: f19e3f2f1c460387528411f1961f354c97212fed [file] [log] [blame]
Gary Wu1c1fc782018-08-24 15:30:22 -07001<?xml version="1.0"?>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
seshukm2bcad1c2019-11-02 12:54:19 +05308 <version>2.1.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04009 <relativePath />
10 </parent>
11 <groupId>org.onap.so</groupId>
12 <artifactId>so</artifactId>
13 <packaging>pom</packaging>
seshukmb9af26a2020-02-26 19:30:17 +080014 <version>1.6.0-SNAPSHOT</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040015 <name>so</name>
16 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
ChrisC025301d2017-01-31 11:40:03 +010017 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
18 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
19 </description>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040020 <organization>
21 <name>ONAP - SO</name>
22 <url>http://www.onap.org/</url>
zm330d05adce2020-05-14 11:36:14 +080023 </organization>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040024 <modules>
25 <module>deployment-configs</module>
26 <module>common</module>
Benjamin, Max4f774ee2020-04-28 15:13:12 -040027 <module>graph-inventory</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040028 <module>mso-catalog-db</module>
29 <module>mso-api-handlers</module>
30 <module>adapters</module>
31 <module>asdc-controller</module>
32 <module>bpmn</module>
33 <module>cloudify-client</module>
34 <module>cxf-logging</module>
35 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040036 <module>so-simulator</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010037 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040038 </modules>
39 <properties>
40 <project.mso.base.folder>.</project.mso.base.folder>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <sonar.language>java</sonar.language>
44 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
45 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000046 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040047 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
48 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
49 <sonar.projectVersion>${project.version}</sonar.projectVersion>
50 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000051 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040052 <org.apache.maven.user-settings />
Smokowski, Steven2ba1b392020-04-04 10:47:34 -040053 <openstack.version>1.6.1-SNAPSHOT</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040054 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
55 <originalClassifier>original</originalClassifier>
56 <docker.skip>true</docker.skip>
57 <docker.skip.build>true</docker.skip.build>
58 <docker.skip.push>true</docker.skip.push>
59 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
60 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
61 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050062 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040063 <nexusproxy>https://nexus.onap.org</nexusproxy>
64 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
65 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
66 <publicNexusPath>content/repositories/public/</publicNexusPath>
67 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
68 <cxf.version>3.2.6</cxf.version>
69 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050070 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040071 <camunda.springboot.version>3.2.0</camunda.springboot.version>
72 <format.skipValidate>false</format.skipValidate>
73 <format.skipExecute>true</format.skipExecute>
Benjamin, Max5f57d092020-05-13 17:48:03 -040074 <io.fabric8.version>0.33.0</io.fabric8.version>
waqas.ikram312ee1a2020-04-15 14:13:41 +010075 <appc.client.version>1.7.1</appc.client.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040076 </properties>
77 <distributionManagement>
78 <repository>
79 <id>ecomp-releases</id>
80 <url>${nexusproxy}/${releaseNexusPath}</url>
81 </repository>
82 <snapshotRepository>
83 <id>ecomp-snapshots</id>
84 <url>${nexusproxy}/${snapshotNexusPath}</url>
85 </snapshotRepository>
86 <site>
87 <id>ecomp-site</id>
88 <url>dav:${nexusproxy}${siteNexusPath}</url>
89 </site>
90 </distributionManagement>
91 <reporting>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-javadoc-plugin</artifactId>
96 <version>2.10.4</version>
97 <configuration>
98 <failOnError>false</failOnError>
99 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
100 <docletArtifact>
101 <groupId>org.umlgraph</groupId>
102 <artifactId>umlgraph</artifactId>
103 <version>5.6</version>
104 </docletArtifact>
105 <additionalparam>-views</additionalparam>
106 <useStandardDocletOptions>true</useStandardDocletOptions>
107 </configuration>
108 </plugin>
109 </plugins>
110 </reporting>
111 <!-- configure build -->
112 <!-- *********************************************************************************************************** -->
113 <!-- Plugins and repositories -->
114 <pluginRepositories>
115 <pluginRepository>
116 <id>central</id>
117 <url>http://repo1.maven.org/maven2</url>
118 </pluginRepository>
119 <pluginRepository>
120 <id>restlet</id>
121 <url>http://maven.restlet.com</url>
122 </pluginRepository>
123 <pluginRepository>
124 <id>ecomp-public</id>
125 <url>${nexusproxy}/${publicNexusPath}</url>
126 <snapshots>
127 <enabled>false</enabled>
128 </snapshots>
129 </pluginRepository>
130 <pluginRepository>
131 <id>ecomp-release</id>
132 <url>${nexusproxy}/${releaseNexusPath}</url>
133 <snapshots>
134 <enabled>false</enabled>
135 </snapshots>
136 </pluginRepository>
137 <pluginRepository>
138 <id>ecomp-snapshots</id>
139 <url>${nexusproxy}/${snapshotNexusPath}</url>
140 <releases>
141 <enabled>false</enabled>
142 </releases>
143 </pluginRepository>
144 </pluginRepositories>
145 <repositories>
146 <repository>
147 <id>ecomp-public</id>
148 <url>https://nexus.onap.org/content/repositories/public/</url>
149 <snapshots>
150 <enabled>false</enabled>
151 </snapshots>
152 </repository>
153 <repository>
154 <id>ecomp-releases</id>
155 <url>https://nexus.onap.org/content/repositories/releases/</url>
156 <snapshots>
157 <enabled>false</enabled>
158 </snapshots>
159 </repository>
160 <repository>
161 <id>ecomp-snapshots</id>
162 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
163 <releases>
164 <enabled>false</enabled>
165 </releases>
166 </repository>
167 <repository>
168 <id>camunda-bpm</id>
169 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
170 </repository>
171 <repository>
172 <id>camunda-public</id>
173 <url>https://app.camunda.com/nexus/content/groups/public</url>
174 </repository>
175 <repository>
176 <!-- TODO: remove from ONAP environemnt -->
177 <id>onap-releases</id>
178 <url>https://nexus.onap.org/content/repositories/releases/</url>
179 <snapshots>
180 <enabled>false</enabled>
181 </snapshots>
182 </repository>
183 <repository>
184 <!-- TODO: remove from ONAP environemnt -->
185 <id>onap-snapshots</id>
186 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
187 <releases>
188 <enabled>false</enabled>
189 </releases>
190 </repository>
191 </repositories>
192 <!-- *********************************************************************************************************** -->
193 <!-- Build -->
194 <build>
195 <resources>
196 <resource>
197 <directory>src/main/resources</directory>
198 <filtering>true</filtering>
199 </resource>
200 <resource>
201 <directory>target/generated-sources/license</directory>
202 <includes>
203 <include>third-party-licenses.txt</include>
204 </includes>
205 </resource>
206 <resource>
207 <directory>target/generated-resources/licenses</directory>
208 <includes>
209 <include>*.*</include>
210 </includes>
211 <targetPath>third-party-licenses</targetPath>
212 </resource>
213 </resources>
214 <plugins>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400215 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version>
216 <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl> <stagingProfileId>176c31dfe190a</stagingProfileId>
217 <serverId>ecomp-staging</serverId> </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400221 <version>2.8</version>
222 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400223 <configuration>
224 <skip />
225 </configuration>
226 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-compiler-plugin</artifactId>
230 <version>3.6.1</version>
231 <configuration>
232 <debug>true</debug>
233 <compilerArgument>-Xlint</compilerArgument>
234 <verbose>true</verbose>
235 <showDeprecation>true</showDeprecation>
236 <showWarnings>true</showWarnings>
237 <source>1.8</source>
238 <target>1.8</target>
239 <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>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400537 <plugin>
538 <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>
557 <pluginExecution>
558 <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>
583 <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable -->
584 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400585 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400586 <pushRegistry>${dockerPushRepo}</pushRegistry>
587 <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password -->
588 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400589 <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username,
590 and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400591 <images>
592 <image>
593 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100594 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400595 <build>
596 <dockerFileDir>${project.build.directory}</dockerFileDir>
597 </build>
598 </image>
599 </images>
600 </configuration>
601 <executions>
602 <execution>
603 <id>start</id>
604 <goals>
605 <goal>build</goal>
606 <goal>push</goal>
607 </goals>
608 </execution>
609 </executions>
610 </plugin>
611 <plugin>
612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-surefire-plugin</artifactId>
614 <version>2.20</version>
615 <configuration>
616 <systemPropertyVariables>
617 <so.log.level>DEBUG</so.log.level>
618 </systemPropertyVariables>
619 <rerunFailingTestsCount>2</rerunFailingTestsCount>
620 <parallel>classes</parallel>
621 <useUnlimitedThreads>false</useUnlimitedThreads>
622 <threadCount>1</threadCount>
623 </configuration>
624 </plugin>
625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-failsafe-plugin</artifactId>
628 <version>2.20</version>
629 <configuration>
630 <skip>true</skip>
631 <systemPropertyVariables>
632 <so.log.level>DEBUG</so.log.level>
633 </systemPropertyVariables>
634 <rerunFailingTestsCount>2</rerunFailingTestsCount>
635 </configuration>
636 </plugin>
637 <plugin>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-dependency-plugin</artifactId>
640 <executions>
641 <execution>
642 <id>extract-docker-file</id>
643 <goals>
644 <goal>unpack</goal>
645 </goals>
646 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400647 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400648 <artifactItems>
649 <artifactItem>
650 <groupId>org.onap.so</groupId>
651 <artifactId>deployment-configs</artifactId>
652 <version>${project.version}</version>
653 <outputDirectory>${project.build.directory}</outputDirectory>
654 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
655 <excludes>Kubernetes</excludes>
656 </artifactItem>
657 </artifactItems>
658 </configuration>
659 </execution>
660 </executions>
661 </plugin>
662 <plugin>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-jar-plugin</artifactId>
665 <version>3.0.2</version>
666 <executions>
667 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400668 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400669 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400670 <goals>
671 <goal>jar</goal>
672 </goals>
673 <configuration>
674 <classifier>${originalClassifier}</classifier>
675 <includes>
676 <include>**</include>
677 </includes>
678 </configuration>
679 </execution>
680 </executions>
681 </plugin>
682 <plugin>
683 <groupId>org.springframework.boot</groupId>
684 <artifactId>spring-boot-maven-plugin</artifactId>
685 <version>${springboot.version}</version>
686 <executions>
687 <execution>
688 <id>build-info</id>
689 <goals>
690 <goal>build-info</goal>
691 </goals>
692 </execution>
693 </executions>
694 </plugin>
695 </plugins>
696 </pluginManagement>
697 </build>
698 <!-- *********************************************************************************************************** -->
699 <!-- Dependencies -->
700 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400701 <dependency>
702 <groupId>org.onap.logging-analytics</groupId>
703 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400704 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400705 <dependency>
706 <groupId>org.onap.logging-analytics</groupId>
707 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400708 </dependency>
709 <dependency>
710 <groupId>org.onap.logging-analytics</groupId>
711 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400712 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400713 <dependency>
714 <groupId>com.fasterxml.jackson.core</groupId>
715 <artifactId>jackson-core</artifactId>
716 </dependency>
717 <dependency>
718 <groupId>com.fasterxml.jackson.module</groupId>
719 <artifactId>jackson-module-jaxb-annotations</artifactId>
720 </dependency>
721 <dependency>
722 <groupId>com.fasterxml.jackson.core</groupId>
723 <artifactId>jackson-databind</artifactId>
724 </dependency>
725 <dependency>
726 <groupId>com.fasterxml.jackson.core</groupId>
727 <artifactId>jackson-annotations</artifactId>
728 </dependency>
729 <dependency>
730 <groupId>com.fasterxml.jackson.jaxrs</groupId>
731 <artifactId>jackson-jaxrs-base</artifactId>
732 </dependency>
733 <dependency>
734 <groupId>com.fasterxml.jackson.jaxrs</groupId>
735 <artifactId>jackson-jaxrs-json-provider</artifactId>
736 </dependency>
737 <dependency>
738 <groupId>javax.ws.rs</groupId>
739 <artifactId>javax.ws.rs-api</artifactId>
740 <version>${jax.ws.rs}</version>
741 </dependency>
742 <dependency>
743 <groupId>javax.annotation</groupId>
744 <artifactId>javax.annotation-api</artifactId>
745 <version>1.3.1</version>
746 </dependency>
747 <dependency>
748 <groupId>javax.inject</groupId>
749 <artifactId>javax.inject</artifactId>
750 <version>1</version>
751 </dependency>
752 <dependency>
753 <groupId>org.mockito</groupId>
754 <artifactId>mockito-core</artifactId>
755 </dependency>
756 <dependency>
757 <groupId>org.hamcrest</groupId>
758 <artifactId>hamcrest-core</artifactId>
759 </dependency>
760 <dependency>
761 <groupId>org.hamcrest</groupId>
762 <artifactId>hamcrest-library</artifactId>
763 </dependency>
764 <dependency>
765 <groupId>junit</groupId>
766 <artifactId>junit</artifactId>
767 <scope>test</scope>
768 </dependency>
769 <dependency>
770 <groupId>xmlunit</groupId>
771 <artifactId>xmlunit</artifactId>
772 <version>1.6</version>
773 <scope>test</scope>
774 </dependency>
775 <dependency>
776 <groupId>com.github.tomakehurst</groupId>
777 <artifactId>wiremock-standalone</artifactId>
778 <version>2.13.0</version>
779 <scope>test</scope>
780 <exclusions>
781 <exclusion>
782 <groupId>org.mortbay.jetty</groupId>
783 <artifactId>jetty</artifactId>
784 </exclusion>
785 <exclusion>
786 <groupId>com.google.guava</groupId>
787 <artifactId>guava</artifactId>
788 </exclusion>
789 <exclusion>
790 <groupId>com.fasterxml.jackson.core</groupId>
791 <artifactId>jackson-core</artifactId>
792 </exclusion>
793 <exclusion>
794 <groupId>com.fasterxml.jackson.core</groupId>
795 <artifactId>jackson-annotations</artifactId>
796 </exclusion>
797 <exclusion>
798 <groupId>com.fasterxml.jackson.core</groupId>
799 <artifactId>jackson-databind</artifactId>
800 </exclusion>
801 <exclusion>
802 <groupId>org.apache.httpcomponents</groupId>
803 <artifactId>httpclient</artifactId>
804 </exclusion>
805 <exclusion>
806 <groupId>org.skyscreamer</groupId>
807 <artifactId>jsonassert</artifactId>
808 </exclusion>
809 <exclusion>
810 <groupId>xmlunit</groupId>
811 <artifactId>xmlunit</artifactId>
812 </exclusion>
813 <exclusion>
814 <groupId>com.jayway.jsonpath</groupId>
815 <artifactId>json-path</artifactId>
816 </exclusion>
817 <exclusion>
818 <groupId>net.sf.jopt-simple</groupId>
819 <artifactId>jopt-simple</artifactId>
820 </exclusion>
821 </exclusions>
822 </dependency>
823 <dependency>
824 <groupId>com.openpojo</groupId>
825 <artifactId>openpojo</artifactId>
826 <version>0.8.10</version>
827 </dependency>
828 <dependency>
829 <groupId>com.shazam</groupId>
830 <artifactId>shazamcrest</artifactId>
831 <version>0.11</version>
832 <scope>test</scope>
833 <exclusions>
834 <exclusion>
835 <groupId>com.google.guava</groupId>
836 <artifactId>guava</artifactId>
837 </exclusion>
838 <exclusion>
839 <groupId>org.apache.commons</groupId>
840 <artifactId>commons-lang3</artifactId>
841 </exclusion>
842 </exclusions>
843 </dependency>
844 <dependency>
845 <groupId>org.assertj</groupId>
846 <artifactId>assertj-core</artifactId>
847 <version>3.11.1</version>
848 <scope>test</scope>
849 </dependency>
850 <dependency>
851 <groupId>com.googlecode.junit-toolbox</groupId>
852 <artifactId>junit-toolbox</artifactId>
853 <version>2.4</version>
854 </dependency>
855 </dependencies>
856 <dependencyManagement>
857 <dependencies>
858 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
859 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
860 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400861 <groupId>org.onap.logging-analytics</groupId>
862 <artifactId>logging-slf4j</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400863 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400864 </dependency>
865 <dependency>
866 <groupId>org.onap.logging-analytics</groupId>
867 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400868 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400869 </dependency>
870 <dependency>
871 <groupId>org.onap.logging-analytics</groupId>
872 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400873 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400874 </dependency>
875 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400876 <groupId>org.apache.httpcomponents</groupId>
877 <artifactId>httpcore</artifactId>
878 <version>4.4.4</version>
879 <scope>compile</scope>
880 </dependency>
881 <dependency>
882 <groupId>commons-codec</groupId>
883 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400884 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400885 <scope>compile</scope>
886 </dependency>
887 <dependency>
888 <groupId>commons-io</groupId>
889 <artifactId>commons-io</artifactId>
890 <version>2.5</version>
891 <scope>compile</scope>
892 </dependency>
893 <dependency>
894 <groupId>com.sun.xml.fastinfoset</groupId>
895 <artifactId>FastInfoset</artifactId>
896 <version>1.2.13</version>
897 <scope>compile</scope>
898 </dependency>
899 <dependency>
900 <groupId>org.springframework.boot</groupId>
901 <artifactId>spring-boot-dependencies</artifactId>
902 <version>${springboot.version}</version>
903 <type>pom</type>
904 <scope>import</scope>
905 </dependency>
906 <dependency>
907 <groupId>org.yaml</groupId>
908 <artifactId>snakeyaml</artifactId>
909 <version>1.23</version>
910 </dependency>
911 <dependency>
912 <groupId>javax.interceptor</groupId>
913 <artifactId>javax.interceptor-api</artifactId>
914 <version>1.2.2</version>
915 </dependency>
916 <dependency>
917 <groupId>org.springframework.boot</groupId>
918 <artifactId>spring-boot-starter-test</artifactId>
919 <version>${springboot.version}</version>
920 <exclusions>
921 <exclusion>
922 <groupId>com.vaadin.external.google</groupId>
923 <artifactId>android-json</artifactId>
924 </exclusion>
925 </exclusions>
926 </dependency>
927 <dependency>
928 <groupId>net.javacrumbs.shedlock</groupId>
929 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500930 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400931 </dependency>
932 <dependency>
933 <groupId>net.javacrumbs.shedlock</groupId>
934 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500935 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400936 </dependency>
937 <dependency>
938 <groupId>org.flywaydb</groupId>
939 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500940 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400941 </dependency>
942 <dependency>
943 <groupId>org.json</groupId>
944 <artifactId>json</artifactId>
945 <version>20140107</version>
946 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400947 <dependency>
948 <groupId>org.onap.aai.schema-service</groupId>
949 <artifactId>aai-schema</artifactId>
Benjamin, Max (mb388a)959d27a2020-05-15 09:57:38 -0400950 <version>1.7.2</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400951 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400952 </dependencies>
953 </dependencyManagement>
954 <profiles>
955 <profile>
956 <id>docker-image-build</id>
957 <properties>
958 <docker.skip>false</docker.skip>
959 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400960 </properties>
961 </profile>
962 <profile>
963 <id>docker-image-build-push</id>
964 <properties>
965 <docker.skip>false</docker.skip>
966 <docker.skip.build>false</docker.skip.build>
967 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400968 </properties>
969 </profile>
970 <profile>
971 <id>format</id>
972 <properties>
973 <format.skipValidate>true</format.skipValidate>
974 <format.skipExecute>false</format.skipExecute>
975 </properties>
976 </profile>
977 <profile>
978 <id>m2e</id>
979 <activation>
980 <property>
981 <name>m2e.version</name>
982 </property>
983 </activation>
984 <properties>
985 <originalClassifier />
986 </properties>
987 </profile>
988 </profiles>
JulienBeec92b1a2017-02-06 11:22:26 +0100989</project>