Fix for livenessProbe failing OOM
[so.git] / pom.xml
1 <?xml version="1.0" ?>
2 <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>
8     <version>2.1.0</version>
9     <relativePath />
10   </parent>
11   <groupId>org.onap.so</groupId>
12   <artifactId>so</artifactId>
13   <packaging>pom</packaging>
14   <version>1.9.0-SNAPSHOT</version>
15   <name>so</name>
16   <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
17         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>
20   <organization>
21     <name>ONAP - SO</name>
22     <url>http://www.onap.org/</url>
23   </organization>
24   <modules>
25     <module>deployment-configs</module>
26     <module>common</module>
27     <module>graph-inventory</module>
28     <module>mso-catalog-db</module>
29     <module>mso-api-handlers</module>
30     <module>adapters</module>
31     <module>asdc-controller</module>
32     <module>so-optimization-clients</module>
33     <module>so-sdn-clients</module>
34     <module>bpmn</module>
35     <module>cxf-logging</module>
36     <module>so-simulator</module>
37     <module>packages</module>
38   </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     <java.version>11</java.version>
45     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
46     <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
47     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
48     <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
49     <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
50     <sonar.projectVersion>${project.version}</sonar.projectVersion>
51     <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
52     <org.apache.maven.user-settings />
53     <openstack.version>1.7.1</openstack.version>
54     <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>
62     <enforcer.skip>false</enforcer.skip>
63     <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.4.1</cxf.version>
69     <jax.ws.rs>2.1</jax.ws.rs>
70     <springboot.version>2.3.7.RELEASE</springboot.version>
71     <camunda.springboot.version>3.2.0</camunda.springboot.version>
72     <aaf.version>2.1.21</aaf.version>
73     <format.skipValidate>false</format.skipValidate>
74     <format.skipExecute>true</format.skipExecute>
75     <io.fabric8.version>0.33.0</io.fabric8.version>
76     <appc.client.version>1.7.2</appc.client.version>
77     <bowman.client.version>0.9.0</bowman.client.version>
78     <aaf.cadi.version>2.1.15</aaf.cadi.version>
79     <so-etsi-sol003-adapter-version>1.8.1-SNAPSHOT</so-etsi-sol003-adapter-version>
80   </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>onap-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       <id>onap-releases</id>
181       <url>https://nexus.onap.org/content/repositories/releases/</url>
182       <snapshots>
183         <enabled>false</enabled>
184       </snapshots>
185     </repository>
186     <repository>
187       <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>
217       <plugin>
218         <groupId>org.apache.maven.plugins</groupId>
219         <artifactId>maven-deploy-plugin</artifactId>
220         <!-- This version supports the "deployAtEnd" parameter -->
221         <configuration>
222           <skip />
223         </configuration>
224       </plugin>
225       <plugin>
226         <groupId>org.apache.maven.plugins</groupId>
227         <artifactId>maven-compiler-plugin</artifactId>
228         <version>3.8.0</version>
229         <configuration>
230           <debug>true</debug>
231           <compilerArgument>-Xlint</compilerArgument>
232           <verbose>true</verbose>
233           <showDeprecation>true</showDeprecation>
234           <showWarnings>true</showWarnings>
235           <compilerArgs>
236             <arg>-parameters</arg>
237           </compilerArgs>
238           <forceJavacCompilerUse>true</forceJavacCompilerUse>
239           <source>11</source>
240           <target>11</target>
241           <release>11</release>
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         <dependencies>
300           <dependency>
301             <groupId>org.apache.maven.wagon</groupId>
302             <artifactId>wagon-webdav-jackrabbit</artifactId>
303             <version>2.10</version>
304           </dependency>
305         </dependencies>
306       </plugin>
307 <!--      <plugin>-->
308 <!--        <groupId>org.codehaus.mojo</groupId>-->
309 <!--        <artifactId>cobertura-maven-plugin</artifactId>-->
310 <!--        <version>2.5.2</version>-->
311 <!--        <configuration>-->
312 <!--          <formats>-->
313 <!--            <format>xml</format>-->
314 <!--          </formats>-->
315 <!--        </configuration>-->
316 <!--      </plugin>-->
317       <plugin>
318         <groupId>org.codehaus.mojo</groupId>
319         <artifactId>versions-maven-plugin</artifactId>
320         <version>1.3.1</version>
321       </plugin>
322
323 <!--      <plugin>-->
324 <!--        <groupId>com.fortify.ps.maven.plugin</groupId>-->
325 <!--        <artifactId>sca-maven-plugin</artifactId>-->
326 <!--        <version>4.20</version>-->
327 <!--        <configuration>-->
328 <!--          <buildId>mso-${project.version}</buildId>-->
329 <!--          <source>1.8</source>-->
330 <!--        </configuration>-->
331 <!--      </plugin>-->
332       <plugin>
333         <groupId>org.jacoco</groupId>
334         <artifactId>jacoco-maven-plugin</artifactId>
335         <executions>
336           <execution>
337             <id>prepare-agent</id>
338             <goals>
339               <goal>prepare-agent</goal>
340             </goals>
341           </execution>
342           <execution>
343             <id>report</id>
344             <goals>
345               <goal>report</goal>
346             </goals>
347             <configuration>
348               <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
349               <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
350             </configuration>
351           </execution>
352         </executions>
353       </plugin>
354       <plugin>
355         <groupId>org.codehaus.mojo</groupId>
356         <artifactId>license-maven-plugin</artifactId>
357         <version>1.15</version>
358         <configuration>
359           <inceptionYear>2017</inceptionYear>
360           <projectName>ONAP - SO</projectName>
361           <licenseName>apache_v2</licenseName>
362           <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
363           <emptyLineAfterHeader>true</emptyLineAfterHeader>
364           <trimHeaderLine>true</trimHeaderLine>
365           <processStartTag>============LICENSE_START=======================================================</processStartTag>
366           <sectionDelimiter>================================================================================</sectionDelimiter>
367           <processEndTag>============LICENSE_END=========================================================</processEndTag>
368           <includes>
369             <include>**/*.java</include>
370             <include>**/*.groovy</include>
371           </includes>
372           <excludes>
373             <exclude>**/com/att/**</exclude>
374           </excludes>
375         </configuration>
376         <executions>
377           <execution>
378             <id>verify-headers</id>
379             <goals>
380               <goal>check-file-header</goal>
381             </goals>
382             <configuration>
383               <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
384               <failOnMissingHeader>true</failOnMissingHeader>
385             </configuration>
386           </execution>
387         </executions>
388       </plugin>
389       <plugin>
390         <groupId>org.codehaus.gmaven</groupId>
391         <artifactId>groovy-maven-plugin</artifactId>
392         <version>2.0</version>
393         <executions>
394           <!-- set absolute base path from super pom -->
395           <execution>
396             <id>find-basepath</id>
397             <phase>validate</phase>
398             <goals>
399               <goal>execute</goal>
400             </goals>
401             <configuration>
402               <source>
403                 <![CDATA[
404                     import java.io.File;
405                     log.info('## define projects super pom absolute path through basepath_marker')
406                     String p = "basepath_marker";
407                     File f = null;
408                     if( p != null ) {
409                         def _max_child_poms = 0
410                         while( _max_child_poms++ < 5 ) {
411                             f = new File( p );
412                             if( f.exists() ) {
413                                 break;
414                             }   
415                             p = "../" + p;
416                         }
417                     }
418                     if( f != null ) {
419                         String basePath = f.getCanonicalPath();
420                         basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) ); 
421                         project.properties['base-path'] = basePath.replace( '\\' , '/');
422                         log.info(' - used base path = ' + project.properties['base-path'] );
423                     } else {
424                         log.error( 'Could not find basepath_marker marker file!' );
425                         System.stop( 0 );
426                     }
427                 ]]>
428               </source>
429             </configuration>
430           </execution>
431         </executions>
432       </plugin>
433 <!--      <plugin>-->
434 <!--        <groupId>net.revelc.code.formatter</groupId>-->
435 <!--        <artifactId>formatter-maven-plugin</artifactId>-->
436 <!--        <version>2.9.0</version>-->
437 <!--        <executions>-->
438 <!--          <execution>-->
439 <!--            <id>format-java</id>-->
440 <!--            <goals>-->
441 <!--              <goal>format</goal>-->
442 <!--            </goals>-->
443 <!--            <phase>process-sources</phase>-->
444 <!--            <configuration>-->
445 <!--              <skip>${format.skipExecute}</skip>-->
446 <!--              <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>-->
447 <!--            </configuration>-->
448 <!--          </execution>-->
449 <!--          <execution>-->
450 <!--            <id>format-xml</id>-->
451 <!--            <goals>-->
452 <!--              <goal>format</goal>-->
453 <!--            </goals>-->
454 <!--            <phase>process-sources</phase>-->
455 <!--            <configuration>-->
456 <!--              <skip>${format.skipExecute}</skip>-->
457 <!--              <sourceDirectory>${project.basedir}</sourceDirectory>-->
458 <!--              <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>-->
459 <!--              <includes>-->
460 <!--                <include>pom.xml</include>-->
461 <!--              </includes>-->
462 <!--            </configuration>-->
463 <!--          </execution>-->
464 <!--          <execution>-->
465 <!--            <id>validate-java</id>-->
466 <!--            <goals>-->
467 <!--              <goal>validate</goal>-->
468 <!--            </goals>-->
469 <!--            <configuration>-->
470 <!--              <skip>${format.skipValidate}</skip>-->
471 <!--              <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>-->
472 <!--            </configuration>-->
473 <!--          </execution>-->
474 <!--          <execution>-->
475 <!--            <id>validate-poms</id>-->
476 <!--            <goals>-->
477 <!--              <goal>validate</goal>-->
478 <!--            </goals>-->
479 <!--            <configuration>-->
480 <!--              <skip>${format.skipValidate}</skip>-->
481 <!--              <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>-->
482 <!--              <includes>-->
483 <!--                <include>pom.xml</include>-->
484 <!--              </includes>-->
485 <!--            </configuration>-->
486 <!--          </execution>-->
487 <!--        </executions>-->
488 <!--        <dependencies>-->
489 <!--          <dependency>-->
490 <!--            <groupId>com.fasterxml.jackson.core</groupId>-->
491 <!--            <artifactId>jackson-annotations</artifactId>-->
492 <!--            <version>2.9.8</version>-->
493 <!--          </dependency>-->
494 <!--        </dependencies>-->
495 <!--      </plugin>-->
496 <!--      <plugin>-->
497 <!--        <groupId>org.apache.maven.plugins</groupId>-->
498 <!--        <artifactId>maven-enforcer-plugin</artifactId>-->
499 <!--        <version>3.0.0-M3</version>-->
500 <!--        <executions>-->
501 <!--          <execution>-->
502 <!--            <id>enforce-property</id>-->
503 <!--            <configuration>-->
504 <!--              <skip>true</skip>-->
505 <!--            </configuration>-->
506 <!--          </execution>-->
507 <!--          <execution>-->
508 <!--            <id>enforce-no-snapshots</id>-->
509 <!--            <configuration>-->
510 <!--              <skip>true</skip>-->
511 <!--            </configuration>-->
512 <!--          </execution>-->
513 <!--          <execution>-->
514 <!--            <id>enforce-banned-dependencies</id>-->
515 <!--            <goals>-->
516 <!--              <goal>enforce</goal>-->
517 <!--            </goals>-->
518 <!--            <configuration>-->
519 <!--              <rules>-->
520 <!--                <bannedDependencies>-->
521 <!--                  <excludes>-->
522 <!--                    <exclude>org.powermock</exclude>-->
523 <!--                  </excludes>-->
524 <!--                  <searchTransitive>false</searchTransitive>-->
525 <!--                </bannedDependencies>-->
526 <!--              </rules>-->
527 <!--              <fail>true</fail>-->
528 <!--            </configuration>-->
529 <!--          </execution>-->
530 <!--        </executions>-->
531 <!--      </plugin>-->
532     </plugins>
533     <pluginManagement>
534       <plugins>
535         <plugin>
536           <groupId>org.eclipse.m2e</groupId>
537           <artifactId>lifecycle-mapping</artifactId>
538           <version>1.0.0</version>
539           <configuration>
540             <lifecycleMappingMetadata>
541               <pluginExecutions>
542                 <pluginExecution>
543                   <pluginExecutionFilter>
544                     <groupId>org.apache.maven.plugins</groupId>
545                     <artifactId>maven-checkstyle-plugin</artifactId>
546                     <versionRange>[1.0.0,)</versionRange>
547                     <goals>
548                       <goal>check</goal>
549                     </goals>
550                   </pluginExecutionFilter>
551                   <action>
552                     <execute />
553                   </action>
554                 </pluginExecution>
555                 <pluginExecution>
556                   <pluginExecutionFilter>
557                     <groupId>org.codehaus.gmaven</groupId>
558                     <artifactId>groovy-maven-plugin</artifactId>
559                     <versionRange>[1.0.0,)</versionRange>
560                     <goals>
561                       <goal>execute</goal>
562                     </goals>
563                   </pluginExecutionFilter>
564                   <action>
565                     <execute />
566                   </action>
567                 </pluginExecution>
568               </pluginExecutions>
569             </lifecycleMappingMetadata>
570           </configuration>
571         </plugin>
572         <plugin>
573           <groupId>io.fabric8</groupId>
574           <artifactId>docker-maven-plugin</artifactId>
575           <version>${io.fabric8.version}</version>
576           <configuration>
577             <skip>${docker.skip}</skip>
578             <skipBuild>${docker.skip.build}</skipBuild>
579             <skipPush>${docker.skip.push}</skipPush>
580             <dockerHost>${docker.newHost}</dockerHost>
581             <!-- 1. Update address to your local docker VM. 2. Add IP to 
582               your NO_PROXY environment variable -->
583             <certPath>${docker.host.cert.path}</certPath>
584             <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" 
585               to maven build command -->
586             <pushRegistry>${dockerPushRepo}</pushRegistry>
587             <!-- Update .m2/settings.xml Add server id settings.dockerRepository, 
588               username, and password -->
589             <pullRegistry>${dockerPullRepo}</pullRegistry>
590             <!-- If docker repo is not public. Update .m2/settings.xml Add 
591               server id settings.dockerRepository, username, and password -->
592             <images>
593               <image>
594                 <alias>service</alias>
595                 <name>${project.artifactId}:${project.version}</name>
596                 <build>
597                   <dockerFileDir>${project.build.directory}</dockerFileDir>
598                 </build>
599               </image>
600             </images>
601           </configuration>
602           <executions>
603             <execution>
604               <id>start</id>
605               <goals>
606                 <goal>build</goal>
607                 <goal>push</goal>
608               </goals>
609             </execution>
610           </executions>
611         </plugin>
612         <plugin>
613           <groupId>org.apache.maven.plugins</groupId>
614           <artifactId>maven-surefire-plugin</artifactId>
615           <version>2.22.2</version>
616           <configuration>
617             <systemPropertyVariables>
618               <so.log.level>DEBUG</so.log.level>
619             </systemPropertyVariables>
620             <rerunFailingTestsCount>2</rerunFailingTestsCount>
621             <parallel>classes</parallel>
622             <useUnlimitedThreads>false</useUnlimitedThreads>
623             <threadCount>1</threadCount>
624           </configuration>
625         </plugin>
626         <plugin>
627           <groupId>org.apache.maven.plugins</groupId>
628           <artifactId>maven-failsafe-plugin</artifactId>
629           <version>2.22.2</version>
630           <configuration>
631             <skip>true</skip>
632             <systemPropertyVariables>
633               <so.log.level>DEBUG</so.log.level>
634             </systemPropertyVariables>
635             <rerunFailingTestsCount>2</rerunFailingTestsCount>
636           </configuration>
637         </plugin>
638         <plugin>
639           <groupId>org.apache.maven.plugins</groupId>
640           <artifactId>maven-dependency-plugin</artifactId>
641           <executions>
642             <execution>
643               <id>extract-docker-file</id>
644               <goals>
645                 <goal>unpack</goal>
646               </goals>
647               <configuration>
648                 <skip>true</skip>
649                 <artifactItems>
650                   <artifactItem>
651                     <groupId>org.onap.so</groupId>
652                     <artifactId>deployment-configs</artifactId>
653                     <version>${project.version}</version>
654                     <outputDirectory>${project.build.directory}</outputDirectory>
655                     <includes>*,scripts/**,certs/**, logger/*.xml</includes>
656                     <excludes>Kubernetes</excludes>
657                   </artifactItem>
658                 </artifactItems>
659               </configuration>
660             </execution>
661           </executions>
662         </plugin>
663         <plugin>
664           <groupId>org.apache.maven.plugins</groupId>
665           <artifactId>maven-jar-plugin</artifactId>
666           <version>3.0.2</version>
667           <executions>
668             <execution>
669               <id>original</id>
670               <phase>none</phase>
671               <goals>
672                 <goal>jar</goal>
673               </goals>
674               <configuration>
675                 <classifier>${originalClassifier}</classifier>
676                 <includes>
677                   <include>**</include>
678                 </includes>
679               </configuration>
680             </execution>
681           </executions>
682         </plugin>
683         <plugin>
684           <groupId>org.springframework.boot</groupId>
685           <artifactId>spring-boot-maven-plugin</artifactId>
686           <version>${springboot.version}</version>
687           <executions>
688             <execution>
689               <id>build-info</id>
690               <goals>
691                 <goal>build-info</goal>
692               </goals>
693             </execution>
694           </executions>
695         </plugin>
696       </plugins>
697     </pluginManagement>
698   </build>
699   <!-- *********************************************************************************************************** -->
700   <!-- Dependencies -->
701   <dependencies>
702     <dependency>
703       <groupId>org.onap.logging-analytics</groupId>
704       <artifactId>logging-slf4j</artifactId>
705     </dependency>
706     <dependency>
707       <groupId>org.onap.logging-analytics</groupId>
708       <artifactId>logging-filter-base</artifactId>
709     </dependency>
710     <dependency>
711       <groupId>org.onap.logging-analytics</groupId>
712       <artifactId>logging-filter-spring</artifactId>
713     </dependency>
714     <dependency>
715       <groupId>com.fasterxml.jackson.core</groupId>
716       <artifactId>jackson-core</artifactId>
717     </dependency>
718     <dependency>
719       <groupId>com.fasterxml.jackson.module</groupId>
720       <artifactId>jackson-module-jaxb-annotations</artifactId>
721     </dependency>
722     <dependency>
723       <groupId>com.fasterxml.jackson.core</groupId>
724       <artifactId>jackson-databind</artifactId>
725     </dependency>
726     <dependency>
727       <groupId>com.fasterxml.jackson.core</groupId>
728       <artifactId>jackson-annotations</artifactId>
729     </dependency>
730     <dependency>
731       <groupId>com.fasterxml.jackson.jaxrs</groupId>
732       <artifactId>jackson-jaxrs-base</artifactId>
733     </dependency>
734     <dependency>
735       <groupId>com.fasterxml.jackson.jaxrs</groupId>
736       <artifactId>jackson-jaxrs-json-provider</artifactId>
737     </dependency>
738     <dependency>
739       <groupId>javax.ws.rs</groupId>
740       <artifactId>javax.ws.rs-api</artifactId>
741       <version>${jax.ws.rs}</version>
742     </dependency>
743     <dependency>
744       <groupId>javax.annotation</groupId>
745       <artifactId>javax.annotation-api</artifactId>
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.13</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>org.ow2.asm</groupId>
852       <artifactId>asm</artifactId>
853       <version>7.0</version>
854       <scope>test</scope>
855     </dependency>
856     <dependency>
857       <groupId>com.googlecode.junit-toolbox</groupId>
858       <artifactId>junit-toolbox</artifactId>
859       <version>2.4</version>
860     </dependency>
861   </dependencies>
862   <dependencyManagement>
863     <dependencies>
864       <dependency>
865         <groupId>org.onap.logging-analytics</groupId>
866         <artifactId>logging-slf4j</artifactId>
867         <version>1.6.10-SNAPSHOT</version>
868       </dependency>
869       <dependency>
870         <groupId>org.onap.logging-analytics</groupId>
871         <artifactId>logging-filter-base</artifactId>
872         <version>1.6.10-SNAPSHOT</version>
873       </dependency>
874       <dependency>
875         <groupId>org.onap.logging-analytics</groupId>
876         <artifactId>logging-filter-spring</artifactId>
877         <version>1.6.10-SNAPSHOT</version>
878       </dependency>
879       <dependency>
880         <groupId>org.apache.httpcomponents</groupId>
881         <artifactId>httpcore</artifactId>
882         <version>4.4.4</version>
883         <scope>compile</scope>
884       </dependency>
885       <dependency>
886         <groupId>commons-codec</groupId>
887         <artifactId>commons-codec</artifactId>
888         <version>1.12</version>
889         <scope>compile</scope>
890       </dependency>
891       <dependency>
892         <groupId>commons-io</groupId>
893         <artifactId>commons-io</artifactId>
894         <version>2.5</version>
895         <scope>compile</scope>
896       </dependency>
897       <dependency>
898         <groupId>com.sun.xml.fastinfoset</groupId>
899         <artifactId>FastInfoset</artifactId>
900         <version>1.2.13</version>
901         <scope>compile</scope>
902       </dependency>
903       <dependency>
904         <groupId>org.springframework.boot</groupId>
905         <artifactId>spring-boot-dependencies</artifactId>
906         <version>${springboot.version}</version>
907         <type>pom</type>
908         <scope>import</scope>
909       </dependency>
910       <dependency>
911         <groupId>org.yaml</groupId>
912         <artifactId>snakeyaml</artifactId>
913         <version>1.26</version>
914       </dependency>
915       <dependency>
916         <groupId>javax.interceptor</groupId>
917         <artifactId>javax.interceptor-api</artifactId>
918         <version>1.2.2</version>
919       </dependency>
920       <dependency>
921         <groupId>org.springframework.boot</groupId>
922         <artifactId>spring-boot-starter-test</artifactId>
923         <version>${springboot.version}</version>
924         <exclusions>
925           <exclusion>
926             <groupId>com.vaadin.external.google</groupId>
927             <artifactId>android-json</artifactId>
928           </exclusion>
929           <exclusion>
930             <groupId>org.junit.jupiter</groupId>
931             <artifactId>junit-jupiter</artifactId>
932           </exclusion>
933           <exclusion>
934             <groupId>org.junit.vintage</groupId>
935             <artifactId>junit-vintage-engine</artifactId>
936           </exclusion>
937           <exclusion>
938             <groupId>org.mockito</groupId>
939             <artifactId>mockito-junit-jupiter</artifactId>
940           </exclusion>
941         </exclusions>
942       </dependency>
943       <dependency>
944         <groupId>net.javacrumbs.shedlock</groupId>
945         <artifactId>shedlock-spring</artifactId>
946         <version>4.0.0</version>
947       </dependency>
948       <dependency>
949         <groupId>net.javacrumbs.shedlock</groupId>
950         <artifactId>shedlock-provider-jdbc-template</artifactId>
951         <version>4.0.0</version>
952       </dependency>
953       <dependency>
954         <groupId>org.flywaydb</groupId>
955         <artifactId>flyway-core</artifactId>
956         <version>6.5.7</version>
957       </dependency>
958       <dependency>
959         <groupId>org.json</groupId>
960         <artifactId>json</artifactId>
961         <version>20140107</version>
962       </dependency>
963       <dependency>
964         <groupId>org.onap.aai.schema-service</groupId>
965         <artifactId>aai-schema</artifactId>
966         <version>1.8.1</version>
967       </dependency>
968       <dependency>
969         <groupId>org.apache.cxf</groupId>
970         <artifactId>cxf-rt-rs-client</artifactId>
971         <version>${cxf.version}</version>
972         <exclusions>
973           <exclusion>
974             <groupId>org.jboss.spec.javax.rmi</groupId>
975             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
976           </exclusion>
977         </exclusions>
978       </dependency>
979       <dependency>
980         <groupId>org.apache.cxf</groupId>
981         <artifactId>cxf-rt-bindings-soap</artifactId>
982         <version>${cxf.version}</version>
983         <exclusions>
984           <exclusion>
985             <groupId>org.jboss.spec.javax.rmi</groupId>
986             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
987           </exclusion>
988         </exclusions>
989       </dependency>
990       <dependency>
991         <groupId>org.apache.cxf</groupId>
992         <artifactId>cxf-rt-transports-http</artifactId>
993         <version>${cxf.version}</version>
994         <exclusions>
995           <exclusion>
996             <groupId>org.jboss.spec.javax.rmi</groupId>
997             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
998           </exclusion>
999         </exclusions>
1000       </dependency>
1001       <dependency>
1002         <groupId>org.apache.cxf</groupId>
1003         <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
1004         <version>${cxf.version}</version>
1005         <exclusions>
1006           <exclusion>
1007             <groupId>org.jboss.spec.javax.rmi</groupId>
1008             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1009           </exclusion>
1010         </exclusions>
1011       </dependency>
1012       <dependency>
1013         <groupId>org.apache.cxf</groupId>
1014         <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
1015         <version>${cxf.version}</version>
1016         <exclusions>
1017           <exclusion>
1018             <groupId>org.jboss.spec.javax.rmi</groupId>
1019             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1020           </exclusion>
1021         </exclusions>
1022       </dependency>
1023       <dependency>
1024         <groupId>org.apache.cxf</groupId>
1025         <artifactId>cxf-rt-rs-service-description-openapi-v3</artifactId>
1026         <version>${cxf.version}</version>
1027         <exclusions>
1028           <exclusion>
1029             <groupId>org.jboss.spec.javax.rmi</groupId>
1030             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1031           </exclusion>
1032         </exclusions>
1033       </dependency>
1034       <dependency>
1035         <groupId>org.onap.aaf.authz</groupId>
1036         <artifactId>aaf-cadi-client</artifactId>
1037         <version>${aaf.version}</version>
1038       </dependency>
1039       <dependency>
1040         <groupId>org.onap.aaf.authz</groupId>
1041         <artifactId>aaf-cadi-aaf</artifactId>
1042         <version>${aaf.version}</version>
1043         <exclusions>
1044           <exclusion>
1045             <groupId>javax.servlet</groupId>
1046             <artifactId>servlet-api</artifactId>
1047           </exclusion>
1048           <exclusion>
1049             <groupId>log4j</groupId>
1050             <artifactId>log4j</artifactId>
1051           </exclusion>
1052         </exclusions>
1053       </dependency>
1054       <dependency>
1055         <groupId>org.onap.aaf.authz</groupId>
1056         <artifactId>aaf-auth-client</artifactId>
1057         <version>${aaf.version}</version>
1058         <scope>runtime</scope>
1059       </dependency>
1060       <dependency>
1061         <groupId>org.onap.aaf.authz</groupId>
1062         <artifactId>aaf-misc-env</artifactId>
1063         <version>${aaf.version}</version>
1064         <scope>runtime</scope>
1065       </dependency>
1066       <dependency>
1067         <groupId>org.onap.aaf.authz</groupId>
1068         <artifactId>aaf-misc-rosetta</artifactId>
1069         <version>${aaf.version}</version>
1070         <scope>runtime</scope>
1071       </dependency>
1072       <dependency>
1073         <groupId>ch.vorburger.mariaDB4j</groupId>
1074         <artifactId>mariaDB4j</artifactId>
1075         <version>2.3.0</version>
1076         <scope>test</scope>
1077       </dependency>
1078       <dependency>
1079         <groupId>org.springframework.cloud</groupId>
1080         <artifactId>spring-cloud-contract-wiremock</artifactId>
1081         <version>1.2.4.RELEASE</version>
1082         <scope>test</scope>
1083       </dependency>
1084       <dependency>
1085         <groupId>org.camunda.bpm.assert</groupId>
1086         <artifactId>camunda-bpm-assert</artifactId>
1087         <version>3.0.0</version>
1088         <scope>test</scope>
1089       </dependency>
1090       <dependency>
1091         <groupId>janino</groupId>
1092         <artifactId>janino</artifactId>
1093         <version>2.5.15</version>
1094       </dependency>
1095       <dependency>
1096         <groupId>org.camunda.bpm</groupId>
1097         <artifactId>camunda-external-task-client</artifactId>
1098         <version>1.4.0</version>
1099       </dependency>
1100       <dependency>
1101         <groupId>pl.pragmatists</groupId>
1102         <artifactId>JUnitParams</artifactId>
1103         <version>1.0.5</version>
1104         <scope>test</scope>
1105           </dependency>
1106           <dependency>
1107         <groupId>io.swagger.core.v3</groupId>
1108         <artifactId>swagger-jaxrs2</artifactId>
1109         <version>2.1.7</version>
1110       </dependency>
1111       <dependency>
1112         <groupId>org.camunda.bpm</groupId>
1113         <artifactId>camunda-bom</artifactId>
1114         <version>7.14.0</version>
1115         <scope>import</scope>
1116         <type>pom</type>
1117       </dependency>
1118     </dependencies>
1119   </dependencyManagement>
1120   <profiles>
1121     <profile>
1122       <id>docker-image-build</id>
1123       <properties>
1124         <docker.skip>false</docker.skip>
1125         <docker.skip.build>false</docker.skip.build>
1126       </properties>
1127     </profile>
1128     <profile>
1129       <id>docker-image-build-push</id>
1130       <properties>
1131         <docker.skip>false</docker.skip>
1132         <docker.skip.build>false</docker.skip.build>
1133         <docker.skip.push>false</docker.skip.push>
1134       </properties>
1135     </profile>
1136     <profile>
1137       <id>format</id>
1138       <properties>
1139         <format.skipValidate>true</format.skipValidate>
1140         <format.skipExecute>false</format.skipExecute>
1141       </properties>
1142     </profile>
1143     <profile>
1144       <id>m2e</id>
1145       <activation>
1146         <property>
1147           <name>m2e.version</name>
1148         </property>
1149       </activation>
1150       <properties>
1151         <originalClassifier />
1152       </properties>
1153     </profile>
1154   </profiles>
1155 </project>