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