blob: b2fd0d5898a86efdcd2ba018432035d4d03ee8f2 [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>
Benjamin, Max9868f172020-05-18 16:37:51 -040068 <cxf.version>3.3.3</cxf.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040069 <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, Max9868f172020-05-18 16:37:51 -040076 <bowman.client.version>0.8.0</bowman.client.version>
77 <aaf.cadi.version>2.1.15</aaf.cadi.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040078 </properties>
79 <distributionManagement>
80 <repository>
81 <id>ecomp-releases</id>
82 <url>${nexusproxy}/${releaseNexusPath}</url>
83 </repository>
84 <snapshotRepository>
85 <id>ecomp-snapshots</id>
86 <url>${nexusproxy}/${snapshotNexusPath}</url>
87 </snapshotRepository>
88 <site>
89 <id>ecomp-site</id>
90 <url>dav:${nexusproxy}${siteNexusPath}</url>
91 </site>
92 </distributionManagement>
93 <reporting>
94 <plugins>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-javadoc-plugin</artifactId>
98 <version>2.10.4</version>
99 <configuration>
100 <failOnError>false</failOnError>
101 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
102 <docletArtifact>
103 <groupId>org.umlgraph</groupId>
104 <artifactId>umlgraph</artifactId>
105 <version>5.6</version>
106 </docletArtifact>
107 <additionalparam>-views</additionalparam>
108 <useStandardDocletOptions>true</useStandardDocletOptions>
109 </configuration>
110 </plugin>
111 </plugins>
112 </reporting>
113 <!-- configure build -->
114 <!-- *********************************************************************************************************** -->
115 <!-- Plugins and repositories -->
116 <pluginRepositories>
117 <pluginRepository>
118 <id>central</id>
119 <url>http://repo1.maven.org/maven2</url>
120 </pluginRepository>
121 <pluginRepository>
122 <id>restlet</id>
123 <url>http://maven.restlet.com</url>
124 </pluginRepository>
125 <pluginRepository>
126 <id>ecomp-public</id>
127 <url>${nexusproxy}/${publicNexusPath}</url>
128 <snapshots>
129 <enabled>false</enabled>
130 </snapshots>
131 </pluginRepository>
132 <pluginRepository>
133 <id>ecomp-release</id>
134 <url>${nexusproxy}/${releaseNexusPath}</url>
135 <snapshots>
136 <enabled>false</enabled>
137 </snapshots>
138 </pluginRepository>
139 <pluginRepository>
140 <id>ecomp-snapshots</id>
141 <url>${nexusproxy}/${snapshotNexusPath}</url>
142 <releases>
143 <enabled>false</enabled>
144 </releases>
145 </pluginRepository>
146 </pluginRepositories>
147 <repositories>
148 <repository>
149 <id>ecomp-public</id>
150 <url>https://nexus.onap.org/content/repositories/public/</url>
151 <snapshots>
152 <enabled>false</enabled>
153 </snapshots>
154 </repository>
155 <repository>
156 <id>ecomp-releases</id>
157 <url>https://nexus.onap.org/content/repositories/releases/</url>
158 <snapshots>
159 <enabled>false</enabled>
160 </snapshots>
161 </repository>
162 <repository>
163 <id>ecomp-snapshots</id>
164 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
165 <releases>
166 <enabled>false</enabled>
167 </releases>
168 </repository>
169 <repository>
170 <id>camunda-bpm</id>
171 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
172 </repository>
173 <repository>
174 <id>camunda-public</id>
175 <url>https://app.camunda.com/nexus/content/groups/public</url>
176 </repository>
177 <repository>
178 <!-- TODO: remove from ONAP environemnt -->
179 <id>onap-releases</id>
180 <url>https://nexus.onap.org/content/repositories/releases/</url>
181 <snapshots>
182 <enabled>false</enabled>
183 </snapshots>
184 </repository>
185 <repository>
186 <!-- TODO: remove from ONAP environemnt -->
187 <id>onap-snapshots</id>
188 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
189 <releases>
190 <enabled>false</enabled>
191 </releases>
192 </repository>
193 </repositories>
194 <!-- *********************************************************************************************************** -->
195 <!-- Build -->
196 <build>
197 <resources>
198 <resource>
199 <directory>src/main/resources</directory>
200 <filtering>true</filtering>
201 </resource>
202 <resource>
203 <directory>target/generated-sources/license</directory>
204 <includes>
205 <include>third-party-licenses.txt</include>
206 </includes>
207 </resource>
208 <resource>
209 <directory>target/generated-resources/licenses</directory>
210 <includes>
211 <include>*.*</include>
212 </includes>
213 <targetPath>third-party-licenses</targetPath>
214 </resource>
215 </resources>
216 <plugins>
Benjamin, Max9868f172020-05-18 16:37:51 -0400217 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
218 <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl>
219 <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId>
220 </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400221 <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400224 <version>2.8</version>
225 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400226 <configuration>
227 <skip />
228 </configuration>
229 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400230 <plugin>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-compiler-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400233 <version>3.8.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400234 <configuration>
235 <debug>true</debug>
236 <compilerArgument>-Xlint</compilerArgument>
237 <verbose>true</verbose>
238 <showDeprecation>true</showDeprecation>
239 <showWarnings>true</showWarnings>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400240 <compilerArgs>
241 <arg>-parameters</arg>
242 </compilerArgs>
243 </configuration>
244 </plugin>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-ejb-plugin</artifactId>
248 <version>2.2.1</version>
249 <configuration>
250 <ejbVersion>3.0</ejbVersion>
251 <archive>
252 <manifest>
253 <addClasspath>true</addClasspath>
254 </manifest>
255 </archive>
256 </configuration>
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-checkstyle-plugin</artifactId>
261 <version>2.17</version>
262 <configuration>
263 <skip>true</skip>
264 <includes>**/org/openecomp/**/*.java</includes>
265 <configLocation>/google_checks.xml</configLocation>
266 </configuration>
267 </plugin>
268 <plugin>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>findbugs-maven-plugin</artifactId>
271 <version>2.5.2</version>
272 <configuration>
273 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
274 <nested>true</nested>
275 <findbugsXmlOutput>true</findbugsXmlOutput>
276 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
277 <xmlOutput>true</xmlOutput>
278 </configuration>
279 </plugin>
280 <plugin>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>sonar-maven-plugin</artifactId>
283 <version>5.1</version>
284 </plugin>
285 <plugin>
286 <artifactId>maven-scm-plugin</artifactId>
287 <version>1.8.1</version>
288 <configuration>
289 <tag>${project.artifactId}-${project.version}</tag>
290 </configuration>
291 </plugin>
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-javadoc-plugin</artifactId>
295 <version>2.9</version>
296 </plugin>
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-site-plugin</artifactId>
300 <version>3.6</version>
301 <dependencies>
302 <dependency>
303 <groupId>org.apache.maven.wagon</groupId>
304 <artifactId>wagon-webdav-jackrabbit</artifactId>
305 <version>2.10</version>
306 </dependency>
307 </dependencies>
308 </plugin>
309 <plugin>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>cobertura-maven-plugin</artifactId>
312 <version>2.5.2</version>
313 <configuration>
314 <formats>
315 <format>xml</format>
316 </formats>
317 </configuration>
318 </plugin>
319 <plugin>
320 <groupId>org.codehaus.mojo</groupId>
321 <artifactId>versions-maven-plugin</artifactId>
322 <version>1.3.1</version>
323 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400324
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400325 <plugin>
326 <groupId>com.fortify.ps.maven.plugin</groupId>
327 <artifactId>sca-maven-plugin</artifactId>
328 <version>4.20</version>
329 <configuration>
330 <buildId>mso-${project.version}</buildId>
331 <source>1.8</source>
332 </configuration>
333 </plugin>
334 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400335 <groupId>org.jacoco</groupId>
336 <artifactId>jacoco-maven-plugin</artifactId>
337 <version>${jacoco.version}</version>
338 <executions>
339 <execution>
340 <id>prepare-agent</id>
341 <goals>
342 <goal>prepare-agent</goal>
343 </goals>
344 </execution>
345 <execution>
346 <id>report</id>
347 <goals>
348 <goal>report</goal>
349 </goals>
350 <configuration>
351 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
352 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
353 </configuration>
354 </execution>
355 </executions>
356 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400357 <plugin>
358 <groupId>org.codehaus.mojo</groupId>
359 <artifactId>license-maven-plugin</artifactId>
360 <version>1.15</version>
361 <configuration>
362 <inceptionYear>2017</inceptionYear>
363 <projectName>ONAP - SO</projectName>
364 <licenseName>apache_v2</licenseName>
365 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
366 <emptyLineAfterHeader>true</emptyLineAfterHeader>
367 <trimHeaderLine>true</trimHeaderLine>
368 <processStartTag>============LICENSE_START=======================================================</processStartTag>
369 <sectionDelimiter>================================================================================</sectionDelimiter>
370 <processEndTag>============LICENSE_END=========================================================</processEndTag>
371 <includes>
372 <include>**/*.java</include>
373 <include>**/*.groovy</include>
374 </includes>
375 <excludes>
376 <exclude>**/com/att/**</exclude>
377 </excludes>
378 </configuration>
379 <executions>
380 <execution>
381 <id>verify-headers</id>
382 <goals>
383 <goal>check-file-header</goal>
384 </goals>
385 <configuration>
386 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
387 <failOnMissingHeader>true</failOnMissingHeader>
388 </configuration>
389 </execution>
390 </executions>
391 </plugin>
392 <plugin>
393 <groupId>org.codehaus.gmaven</groupId>
394 <artifactId>groovy-maven-plugin</artifactId>
395 <version>2.0</version>
396 <executions>
397 <!-- set absolute base path from super pom -->
398 <execution>
399 <id>find-basepath</id>
400 <phase>validate</phase>
401 <goals>
402 <goal>execute</goal>
403 </goals>
404 <configuration>
405 <source>
406 <![CDATA[
407 import java.io.File;
408 log.info('## define projects super pom absolute path through basepath_marker')
409 String p = "basepath_marker";
410 File f = null;
411 if( p != null ) {
412 def _max_child_poms = 0
413 while( _max_child_poms++ < 5 ) {
414 f = new File( p );
415 if( f.exists() ) {
416 break;
417 }
418 p = "../" + p;
419 }
420 }
421 if( f != null ) {
422 String basePath = f.getCanonicalPath();
423 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
424 project.properties['base-path'] = basePath.replace( '\\' , '/');
425 log.info(' - used base path = ' + project.properties['base-path'] );
426 } else {
427 log.error( 'Could not find basepath_marker marker file!' );
428 System.stop( 0 );
429 }
430 ]]>
431 </source>
432 </configuration>
433 </execution>
434 </executions>
435 </plugin>
436 <plugin>
437 <groupId>net.revelc.code.formatter</groupId>
438 <artifactId>formatter-maven-plugin</artifactId>
439 <version>2.9.0</version>
440 <executions>
441 <execution>
442 <id>format-java</id>
443 <goals>
444 <goal>format</goal>
445 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530446 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400447 <configuration>
448 <skip>${format.skipExecute}</skip>
449 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
450 </configuration>
451 </execution>
452 <execution>
453 <id>format-xml</id>
454 <goals>
455 <goal>format</goal>
456 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530457 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400458 <configuration>
459 <skip>${format.skipExecute}</skip>
460 <sourceDirectory>${project.basedir}</sourceDirectory>
461 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
462 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400463 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400464 </includes>
465 </configuration>
466 </execution>
467 <execution>
468 <id>validate-java</id>
469 <goals>
470 <goal>validate</goal>
471 </goals>
472 <configuration>
473 <skip>${format.skipValidate}</skip>
474 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
475 </configuration>
476 </execution>
477 <execution>
478 <id>validate-poms</id>
479 <goals>
480 <goal>validate</goal>
481 </goals>
482 <configuration>
483 <skip>${format.skipValidate}</skip>
484 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400485 <includes>
486 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400487 </includes>
488 </configuration>
489 </execution>
490 </executions>
491 <dependencies>
492 <dependency>
493 <groupId>com.fasterxml.jackson.core</groupId>
494 <artifactId>jackson-annotations</artifactId>
495 <version>2.9.8</version>
496 </dependency>
497 </dependencies>
498 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500499 <plugin>
500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-enforcer-plugin</artifactId>
502 <version>3.0.0-M3</version>
503 <executions>
504 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100505 <id>enforce-property</id>
506 <configuration>
507 <skip>true</skip>
508 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500509 </execution>
510 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100511 <id>enforce-no-snapshots</id>
512 <configuration>
513 <skip>true</skip>
514 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500515 </execution>
516 <execution>
517 <id>enforce-banned-dependencies</id>
518 <goals>
519 <goal>enforce</goal>
520 </goals>
521 <configuration>
522 <rules>
523 <bannedDependencies>
524 <excludes>
525 <exclude>org.powermock</exclude>
526 </excludes>
527 <searchTransitive>false</searchTransitive>
528 </bannedDependencies>
529 </rules>
530 <fail>true</fail>
531 </configuration>
532 </execution>
533 </executions>
534 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400535 </plugins>
536 <pluginManagement>
537 <plugins>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400538 <plugin>
539 <groupId>org.eclipse.m2e</groupId>
540 <artifactId>lifecycle-mapping</artifactId>
541 <version>1.0.0</version>
542 <configuration>
543 <lifecycleMappingMetadata>
544 <pluginExecutions>
545 <pluginExecution>
546 <pluginExecutionFilter>
547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-checkstyle-plugin</artifactId>
549 <versionRange>[1.0.0,)</versionRange>
550 <goals>
551 <goal>check</goal>
552 </goals>
553 </pluginExecutionFilter>
554 <action>
555 <execute />
556 </action>
557 </pluginExecution>
558 <pluginExecution>
559 <pluginExecutionFilter>
560 <groupId>org.codehaus.gmaven</groupId>
561 <artifactId>groovy-maven-plugin</artifactId>
562 <versionRange>[1.0.0,)</versionRange>
563 <goals>
564 <goal>execute</goal>
565 </goals>
566 </pluginExecutionFilter>
567 <action>
568 <execute />
569 </action>
570 </pluginExecution>
571 </pluginExecutions>
572 </lifecycleMappingMetadata>
573 </configuration>
574 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400575 <plugin>
576 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400577 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400578 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400579 <configuration>
580 <skip>${docker.skip}</skip>
581 <skipBuild>${docker.skip.build}</skipBuild>
582 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400583 <dockerHost>${docker.newHost}</dockerHost>
Benjamin, Max9868f172020-05-18 16:37:51 -0400584 <!-- 1. Update address to your local docker VM. 2. Add IP to
585 your NO_PROXY environment variable -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400586 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max9868f172020-05-18 16:37:51 -0400587 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
588 to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400589 <pushRegistry>${dockerPushRepo}</pushRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400590 <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
591 username, and password -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400592 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400593 <!-- If docker repo is not public. Update .m2/settings.xml Add
594 server id settings.dockerRepository, username, and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400595 <images>
596 <image>
597 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100598 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400599 <build>
600 <dockerFileDir>${project.build.directory}</dockerFileDir>
601 </build>
602 </image>
603 </images>
604 </configuration>
605 <executions>
606 <execution>
607 <id>start</id>
608 <goals>
609 <goal>build</goal>
610 <goal>push</goal>
611 </goals>
612 </execution>
613 </executions>
614 </plugin>
615 <plugin>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400618 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400619 <configuration>
620 <systemPropertyVariables>
621 <so.log.level>DEBUG</so.log.level>
622 </systemPropertyVariables>
623 <rerunFailingTestsCount>2</rerunFailingTestsCount>
624 <parallel>classes</parallel>
625 <useUnlimitedThreads>false</useUnlimitedThreads>
626 <threadCount>1</threadCount>
627 </configuration>
628 </plugin>
629 <plugin>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-failsafe-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400632 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400633 <configuration>
634 <skip>true</skip>
635 <systemPropertyVariables>
636 <so.log.level>DEBUG</so.log.level>
637 </systemPropertyVariables>
638 <rerunFailingTestsCount>2</rerunFailingTestsCount>
639 </configuration>
640 </plugin>
641 <plugin>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-dependency-plugin</artifactId>
644 <executions>
645 <execution>
646 <id>extract-docker-file</id>
647 <goals>
648 <goal>unpack</goal>
649 </goals>
650 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400651 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400652 <artifactItems>
653 <artifactItem>
654 <groupId>org.onap.so</groupId>
655 <artifactId>deployment-configs</artifactId>
656 <version>${project.version}</version>
657 <outputDirectory>${project.build.directory}</outputDirectory>
658 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
659 <excludes>Kubernetes</excludes>
660 </artifactItem>
661 </artifactItems>
662 </configuration>
663 </execution>
664 </executions>
665 </plugin>
666 <plugin>
667 <groupId>org.apache.maven.plugins</groupId>
668 <artifactId>maven-jar-plugin</artifactId>
669 <version>3.0.2</version>
670 <executions>
671 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400672 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400673 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400674 <goals>
675 <goal>jar</goal>
676 </goals>
677 <configuration>
678 <classifier>${originalClassifier}</classifier>
679 <includes>
680 <include>**</include>
681 </includes>
682 </configuration>
683 </execution>
684 </executions>
685 </plugin>
686 <plugin>
687 <groupId>org.springframework.boot</groupId>
688 <artifactId>spring-boot-maven-plugin</artifactId>
689 <version>${springboot.version}</version>
690 <executions>
691 <execution>
692 <id>build-info</id>
693 <goals>
694 <goal>build-info</goal>
695 </goals>
696 </execution>
697 </executions>
698 </plugin>
699 </plugins>
700 </pluginManagement>
701 </build>
702 <!-- *********************************************************************************************************** -->
703 <!-- Dependencies -->
704 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400705 <dependency>
706 <groupId>org.onap.logging-analytics</groupId>
707 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400708 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400709 <dependency>
710 <groupId>org.onap.logging-analytics</groupId>
711 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400712 </dependency>
713 <dependency>
714 <groupId>org.onap.logging-analytics</groupId>
715 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400716 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400717 <dependency>
718 <groupId>com.fasterxml.jackson.core</groupId>
719 <artifactId>jackson-core</artifactId>
720 </dependency>
721 <dependency>
722 <groupId>com.fasterxml.jackson.module</groupId>
723 <artifactId>jackson-module-jaxb-annotations</artifactId>
724 </dependency>
725 <dependency>
726 <groupId>com.fasterxml.jackson.core</groupId>
727 <artifactId>jackson-databind</artifactId>
728 </dependency>
729 <dependency>
730 <groupId>com.fasterxml.jackson.core</groupId>
731 <artifactId>jackson-annotations</artifactId>
732 </dependency>
733 <dependency>
734 <groupId>com.fasterxml.jackson.jaxrs</groupId>
735 <artifactId>jackson-jaxrs-base</artifactId>
736 </dependency>
737 <dependency>
738 <groupId>com.fasterxml.jackson.jaxrs</groupId>
739 <artifactId>jackson-jaxrs-json-provider</artifactId>
740 </dependency>
741 <dependency>
742 <groupId>javax.ws.rs</groupId>
743 <artifactId>javax.ws.rs-api</artifactId>
744 <version>${jax.ws.rs}</version>
745 </dependency>
746 <dependency>
747 <groupId>javax.annotation</groupId>
748 <artifactId>javax.annotation-api</artifactId>
749 <version>1.3.1</version>
750 </dependency>
751 <dependency>
752 <groupId>javax.inject</groupId>
753 <artifactId>javax.inject</artifactId>
754 <version>1</version>
755 </dependency>
756 <dependency>
757 <groupId>org.mockito</groupId>
758 <artifactId>mockito-core</artifactId>
759 </dependency>
760 <dependency>
761 <groupId>org.hamcrest</groupId>
762 <artifactId>hamcrest-core</artifactId>
763 </dependency>
764 <dependency>
765 <groupId>org.hamcrest</groupId>
766 <artifactId>hamcrest-library</artifactId>
767 </dependency>
768 <dependency>
769 <groupId>junit</groupId>
770 <artifactId>junit</artifactId>
771 <scope>test</scope>
772 </dependency>
773 <dependency>
774 <groupId>xmlunit</groupId>
775 <artifactId>xmlunit</artifactId>
776 <version>1.6</version>
777 <scope>test</scope>
778 </dependency>
779 <dependency>
780 <groupId>com.github.tomakehurst</groupId>
781 <artifactId>wiremock-standalone</artifactId>
782 <version>2.13.0</version>
783 <scope>test</scope>
784 <exclusions>
785 <exclusion>
786 <groupId>org.mortbay.jetty</groupId>
787 <artifactId>jetty</artifactId>
788 </exclusion>
789 <exclusion>
790 <groupId>com.google.guava</groupId>
791 <artifactId>guava</artifactId>
792 </exclusion>
793 <exclusion>
794 <groupId>com.fasterxml.jackson.core</groupId>
795 <artifactId>jackson-core</artifactId>
796 </exclusion>
797 <exclusion>
798 <groupId>com.fasterxml.jackson.core</groupId>
799 <artifactId>jackson-annotations</artifactId>
800 </exclusion>
801 <exclusion>
802 <groupId>com.fasterxml.jackson.core</groupId>
803 <artifactId>jackson-databind</artifactId>
804 </exclusion>
805 <exclusion>
806 <groupId>org.apache.httpcomponents</groupId>
807 <artifactId>httpclient</artifactId>
808 </exclusion>
809 <exclusion>
810 <groupId>org.skyscreamer</groupId>
811 <artifactId>jsonassert</artifactId>
812 </exclusion>
813 <exclusion>
814 <groupId>xmlunit</groupId>
815 <artifactId>xmlunit</artifactId>
816 </exclusion>
817 <exclusion>
818 <groupId>com.jayway.jsonpath</groupId>
819 <artifactId>json-path</artifactId>
820 </exclusion>
821 <exclusion>
822 <groupId>net.sf.jopt-simple</groupId>
823 <artifactId>jopt-simple</artifactId>
824 </exclusion>
825 </exclusions>
826 </dependency>
827 <dependency>
828 <groupId>com.openpojo</groupId>
829 <artifactId>openpojo</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400830 <version>0.8.13</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400831 </dependency>
832 <dependency>
833 <groupId>com.shazam</groupId>
834 <artifactId>shazamcrest</artifactId>
835 <version>0.11</version>
836 <scope>test</scope>
837 <exclusions>
838 <exclusion>
839 <groupId>com.google.guava</groupId>
840 <artifactId>guava</artifactId>
841 </exclusion>
842 <exclusion>
843 <groupId>org.apache.commons</groupId>
844 <artifactId>commons-lang3</artifactId>
845 </exclusion>
846 </exclusions>
847 </dependency>
848 <dependency>
849 <groupId>org.assertj</groupId>
850 <artifactId>assertj-core</artifactId>
851 <version>3.11.1</version>
852 <scope>test</scope>
853 </dependency>
854 <dependency>
Benjamin, Max9868f172020-05-18 16:37:51 -0400855 <groupId>org.ow2.asm</groupId>
856 <artifactId>asm</artifactId>
857 <version>7.0</version>
858 <scope>test</scope>
859 </dependency>
860 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400861 <groupId>com.googlecode.junit-toolbox</groupId>
862 <artifactId>junit-toolbox</artifactId>
863 <version>2.4</version>
864 </dependency>
865 </dependencies>
866 <dependencyManagement>
867 <dependencies>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400868 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400869 <groupId>org.onap.logging-analytics</groupId>
870 <artifactId>logging-slf4j</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400871 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400872 </dependency>
873 <dependency>
874 <groupId>org.onap.logging-analytics</groupId>
875 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400876 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400877 </dependency>
878 <dependency>
879 <groupId>org.onap.logging-analytics</groupId>
880 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany195760a2020-05-11 14:25:19 -0400881 <version>1.6.7-SNAPSHOT</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400882 </dependency>
883 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400884 <groupId>org.apache.httpcomponents</groupId>
885 <artifactId>httpcore</artifactId>
886 <version>4.4.4</version>
887 <scope>compile</scope>
888 </dependency>
889 <dependency>
890 <groupId>commons-codec</groupId>
891 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400892 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400893 <scope>compile</scope>
894 </dependency>
895 <dependency>
896 <groupId>commons-io</groupId>
897 <artifactId>commons-io</artifactId>
898 <version>2.5</version>
899 <scope>compile</scope>
900 </dependency>
901 <dependency>
902 <groupId>com.sun.xml.fastinfoset</groupId>
903 <artifactId>FastInfoset</artifactId>
904 <version>1.2.13</version>
905 <scope>compile</scope>
906 </dependency>
907 <dependency>
908 <groupId>org.springframework.boot</groupId>
909 <artifactId>spring-boot-dependencies</artifactId>
910 <version>${springboot.version}</version>
911 <type>pom</type>
912 <scope>import</scope>
913 </dependency>
914 <dependency>
915 <groupId>org.yaml</groupId>
916 <artifactId>snakeyaml</artifactId>
917 <version>1.23</version>
918 </dependency>
919 <dependency>
920 <groupId>javax.interceptor</groupId>
921 <artifactId>javax.interceptor-api</artifactId>
922 <version>1.2.2</version>
923 </dependency>
924 <dependency>
925 <groupId>org.springframework.boot</groupId>
926 <artifactId>spring-boot-starter-test</artifactId>
927 <version>${springboot.version}</version>
928 <exclusions>
929 <exclusion>
930 <groupId>com.vaadin.external.google</groupId>
931 <artifactId>android-json</artifactId>
932 </exclusion>
933 </exclusions>
934 </dependency>
935 <dependency>
936 <groupId>net.javacrumbs.shedlock</groupId>
937 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500938 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400939 </dependency>
940 <dependency>
941 <groupId>net.javacrumbs.shedlock</groupId>
942 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500943 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400944 </dependency>
945 <dependency>
946 <groupId>org.flywaydb</groupId>
947 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500948 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400949 </dependency>
950 <dependency>
951 <groupId>org.json</groupId>
952 <artifactId>json</artifactId>
953 <version>20140107</version>
954 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400955 <dependency>
956 <groupId>org.onap.aai.schema-service</groupId>
957 <artifactId>aai-schema</artifactId>
Benjamin, Max (mb388a)959d27a2020-05-15 09:57:38 -0400958 <version>1.7.2</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400959 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400960 </dependencies>
961 </dependencyManagement>
962 <profiles>
963 <profile>
964 <id>docker-image-build</id>
965 <properties>
966 <docker.skip>false</docker.skip>
967 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400968 </properties>
969 </profile>
970 <profile>
971 <id>docker-image-build-push</id>
972 <properties>
973 <docker.skip>false</docker.skip>
974 <docker.skip.build>false</docker.skip.build>
975 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400976 </properties>
977 </profile>
978 <profile>
979 <id>format</id>
980 <properties>
981 <format.skipValidate>true</format.skipValidate>
982 <format.skipExecute>false</format.skipExecute>
983 </properties>
984 </profile>
985 <profile>
986 <id>m2e</id>
987 <activation>
988 <property>
989 <name>m2e.version</name>
990 </property>
991 </activation>
992 <properties>
993 <originalClassifier />
994 </properties>
995 </profile>
Benjamin, Max9868f172020-05-18 16:37:51 -0400996 <profile>
997 <id>java8</id>
998 <build>
999 <plugins>
1000 <plugin>
1001 <groupId>org.apache.maven.plugins</groupId>
1002 <artifactId>maven-compiler-plugin</artifactId>
1003 <version>3.8.0</version>
1004 <configuration>
1005 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1006 <source>1.8</source>
1007 <target>1.8</target>
1008 </configuration>
1009 </plugin>
1010 </plugins>
1011 </build>
1012 <activation>
1013 <property>
1014 <name>m2e.version</name>
1015 </property>
1016 <activeByDefault>true</activeByDefault>
1017 </activation>
1018 </profile>
1019 <profile>
1020 <id>java11</id>
1021 <build>
1022 <plugins>
1023 <plugin>
1024 <groupId>org.apache.maven.plugins</groupId>
1025 <artifactId>maven-compiler-plugin</artifactId>
1026 <version>3.8.0</version>
1027 <configuration>
1028 <forceJavacCompilerUse>true</forceJavacCompilerUse>
1029 <source>11</source>
1030 <target>11</target>
1031 <release>11</release>
1032 </configuration>
1033 </plugin>
1034 </plugins>
1035 </build>
1036 </profile>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04001037 </profiles>
JulienBeec92b1a2017-02-06 11:22:26 +01001038</project>