[SO] Enhance Delete AS Workflow(s) to launch SO CNFM for Delete AS
[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.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
49     <sonar.projectVersion>${project.version}</sonar.projectVersion>
50     <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
51     <org.apache.maven.user-settings />
52     <openstack.version>1.7.1</openstack.version>
53     <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
54     <originalClassifier>original</originalClassifier>
55     <docker.skip>true</docker.skip>
56     <docker.skip.build>true</docker.skip.build>
57     <docker.skip.push>true</docker.skip.push>
58     <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
59     <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
60     <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
61     <enforcer.skip>false</enforcer.skip>
62     <nexusproxy>https://nexus.onap.org</nexusproxy>
63     <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
64     <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
65     <publicNexusPath>content/repositories/public/</publicNexusPath>
66     <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
67     <cxf.version>3.4.1</cxf.version>
68     <jax.ws.rs>2.1</jax.ws.rs>
69     <springboot.version>2.3.7.RELEASE</springboot.version>
70     <aaf.version>2.1.21</aaf.version>
71     <format.skipValidate>false</format.skipValidate>
72     <format.skipExecute>true</format.skipExecute>
73     <io.fabric8.version>0.33.0</io.fabric8.version>
74     <appc.client.version>1.7.2</appc.client.version>
75     <bowman.client.version>0.9.0</bowman.client.version>
76     <aaf.cadi.version>2.1.15</aaf.cadi.version>
77     <so-etsi-sol003-adapter-version>1.9.0-SNAPSHOT</so-etsi-sol003-adapter-version>
78     <onap-logging-version>1.6.9</onap-logging-version>
79   </properties>
80   <distributionManagement>
81     <repository>
82       <id>ecomp-releases</id>
83       <url>${nexusproxy}/${releaseNexusPath}</url>
84     </repository>
85     <snapshotRepository>
86       <id>ecomp-snapshots</id>
87       <url>${nexusproxy}/${snapshotNexusPath}</url>
88     </snapshotRepository>
89     <site>
90       <id>ecomp-site</id>
91       <url>dav:${nexusproxy}${siteNexusPath}</url>
92     </site>
93   </distributionManagement>
94   <reporting>
95     <plugins>
96       <plugin>
97         <groupId>org.apache.maven.plugins</groupId>
98         <artifactId>maven-javadoc-plugin</artifactId>
99         <version>2.10.4</version>
100         <configuration>
101           <failOnError>false</failOnError>
102           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
103           <docletArtifact>
104             <groupId>org.umlgraph</groupId>
105             <artifactId>umlgraph</artifactId>
106             <version>5.6</version>
107           </docletArtifact>
108           <additionalparam>-views</additionalparam>
109           <useStandardDocletOptions>true</useStandardDocletOptions>
110         </configuration>
111       </plugin>
112     </plugins>
113   </reporting>
114   <!-- configure build -->
115   <!-- *********************************************************************************************************** -->
116   <!-- Plugins and repositories -->
117   <pluginRepositories>
118     <pluginRepository>
119       <id>central</id>
120       <url>http://repo1.maven.org/maven2</url>
121     </pluginRepository>
122     <pluginRepository>
123       <id>restlet</id>
124       <url>http://maven.restlet.com</url>
125     </pluginRepository>
126     <pluginRepository>
127       <id>onap-public</id>
128       <url>${nexusproxy}/${publicNexusPath}</url>
129       <snapshots>
130         <enabled>false</enabled>
131       </snapshots>
132     </pluginRepository>
133     <pluginRepository>
134       <id>ecomp-release</id>
135       <url>${nexusproxy}/${releaseNexusPath}</url>
136       <snapshots>
137         <enabled>false</enabled>
138       </snapshots>
139     </pluginRepository>
140     <pluginRepository>
141       <id>ecomp-snapshots</id>
142       <url>${nexusproxy}/${snapshotNexusPath}</url>
143       <releases>
144         <enabled>false</enabled>
145       </releases>
146     </pluginRepository>
147   </pluginRepositories>
148   <repositories>
149     <repository>
150       <id>ecomp-public</id>
151       <url>https://nexus.onap.org/content/repositories/public/</url>
152       <snapshots>
153         <enabled>false</enabled>
154       </snapshots>
155     </repository>
156     <repository>
157       <id>ecomp-releases</id>
158       <url>https://nexus.onap.org/content/repositories/releases/</url>
159       <snapshots>
160         <enabled>false</enabled>
161       </snapshots>
162     </repository>
163     <repository>
164       <id>ecomp-snapshots</id>
165       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
166       <snapshots>
167         <enabled>false</enabled>
168       </snapshots>
169     </repository>
170     <repository>
171       <id>camunda-bpm</id>
172       <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
173     </repository>
174     <repository>
175       <id>camunda-public</id>
176       <url>https://app.camunda.com/nexus/content/groups/public</url>
177     </repository>
178     <repository>
179       <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       <id>onap-snapshots</id>
187       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
188       <releases>
189         <enabled>false</enabled>
190       </releases>
191     </repository>
192   </repositories>
193   <!-- *********************************************************************************************************** -->
194   <!-- Build -->
195   <build>
196     <resources>
197       <resource>
198         <directory>src/main/resources</directory>
199         <filtering>true</filtering>
200       </resource>
201       <resource>
202         <directory>target/generated-sources/license</directory>
203         <includes>
204           <include>third-party-licenses.txt</include>
205         </includes>
206       </resource>
207       <resource>
208         <directory>target/generated-resources/licenses</directory>
209         <includes>
210           <include>*.*</include>
211         </includes>
212         <targetPath>third-party-licenses</targetPath>
213       </resource>
214     </resources>
215     <plugins>
216       <plugin>
217         <groupId>org.apache.maven.plugins</groupId>
218         <artifactId>maven-deploy-plugin</artifactId>
219         <!-- This version supports the "deployAtEnd" parameter -->
220         <configuration>
221           <skip />
222         </configuration>
223       </plugin>
224       <plugin>
225         <groupId>org.apache.maven.plugins</groupId>
226         <artifactId>maven-compiler-plugin</artifactId>
227         <version>3.8.0</version>
228         <configuration>
229           <debug>true</debug>
230           <compilerArgument>-Xlint</compilerArgument>
231           <verbose>true</verbose>
232           <showDeprecation>true</showDeprecation>
233           <showWarnings>true</showWarnings>
234           <compilerArgs>
235             <arg>-parameters</arg>
236           </compilerArgs>
237           <forceJavacCompilerUse>true</forceJavacCompilerUse>
238           <source>11</source>
239           <target>11</target>
240           <release>11</release>
241         </configuration>
242       </plugin>
243       <plugin>
244         <groupId>org.apache.maven.plugins</groupId>
245         <artifactId>maven-ejb-plugin</artifactId>
246         <version>2.2.1</version>
247         <configuration>
248           <ejbVersion>3.0</ejbVersion>
249           <archive>
250             <manifest>
251               <addClasspath>true</addClasspath>
252             </manifest>
253           </archive>
254         </configuration>
255       </plugin>
256       <plugin>
257         <groupId>org.apache.maven.plugins</groupId>
258         <artifactId>maven-checkstyle-plugin</artifactId>
259         <version>2.17</version>
260         <configuration>
261           <skip>true</skip>
262           <includes>**/org/openecomp/**/*.java</includes>
263           <configLocation>/google_checks.xml</configLocation>
264         </configuration>
265       </plugin>
266       <plugin>
267         <groupId>org.codehaus.mojo</groupId>
268         <artifactId>findbugs-maven-plugin</artifactId>
269         <version>2.5.2</version>
270         <configuration>
271           <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
272           <nested>true</nested>
273           <findbugsXmlOutput>true</findbugsXmlOutput>
274           <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
275           <xmlOutput>true</xmlOutput>
276         </configuration>
277       </plugin>
278       <plugin>
279         <groupId>org.codehaus.mojo</groupId>
280         <artifactId>sonar-maven-plugin</artifactId>
281         <version>5.1</version>
282       </plugin>
283       <plugin>
284         <artifactId>maven-scm-plugin</artifactId>
285         <version>1.8.1</version>
286         <configuration>
287           <tag>${project.artifactId}-${project.version}</tag>
288         </configuration>
289       </plugin>
290       <plugin>
291         <groupId>org.apache.maven.plugins</groupId>
292         <artifactId>maven-javadoc-plugin</artifactId>
293         <version>2.9</version>
294       </plugin>
295       <plugin>
296         <groupId>org.apache.maven.plugins</groupId>
297         <artifactId>maven-site-plugin</artifactId>
298         <dependencies>
299           <dependency>
300             <groupId>org.apache.maven.wagon</groupId>
301             <artifactId>wagon-webdav-jackrabbit</artifactId>
302             <version>2.10</version>
303           </dependency>
304         </dependencies>
305       </plugin>
306       <plugin>
307         <groupId>org.codehaus.mojo</groupId>
308         <artifactId>cobertura-maven-plugin</artifactId>
309         <version>2.5.2</version>
310         <configuration>
311           <formats>
312             <format>xml</format>
313           </formats>
314         </configuration>
315       </plugin>
316       <plugin>
317         <groupId>org.codehaus.mojo</groupId>
318         <artifactId>versions-maven-plugin</artifactId>
319         <version>1.3.1</version>
320       </plugin>
321
322       <plugin>
323         <groupId>com.fortify.ps.maven.plugin</groupId>
324         <artifactId>sca-maven-plugin</artifactId>
325         <version>4.20</version>
326         <configuration>
327           <buildId>mso-${project.version}</buildId>
328           <source>${java.version}</source>
329         </configuration>
330       </plugin>
331       <plugin>
332         <groupId>org.jacoco</groupId>
333         <artifactId>jacoco-maven-plugin</artifactId>
334         <executions>
335           <execution>
336             <id>prepare-agent</id>
337             <goals>
338               <goal>prepare-agent</goal>
339             </goals>
340           </execution>
341           <execution>
342             <id>report</id>
343             <goals>
344               <goal>report</goal>
345             </goals>
346             <configuration>
347               <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
348               <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
349             </configuration>
350           </execution>
351         </executions>
352       </plugin>
353       <plugin>
354         <groupId>org.codehaus.mojo</groupId>
355         <artifactId>license-maven-plugin</artifactId>
356         <version>1.15</version>
357         <configuration>
358           <inceptionYear>2017</inceptionYear>
359           <projectName>ONAP - SO</projectName>
360           <licenseName>apache_v2</licenseName>
361           <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
362           <emptyLineAfterHeader>true</emptyLineAfterHeader>
363           <trimHeaderLine>true</trimHeaderLine>
364           <processStartTag>============LICENSE_START=======================================================</processStartTag>
365           <sectionDelimiter>================================================================================</sectionDelimiter>
366           <processEndTag>============LICENSE_END=========================================================</processEndTag>
367           <includes>
368             <include>**/*.java</include>
369             <include>**/*.groovy</include>
370           </includes>
371           <excludes>
372             <exclude>**/com/att/**</exclude>
373           </excludes>
374         </configuration>
375         <executions>
376           <execution>
377             <id>verify-headers</id>
378             <goals>
379               <goal>check-file-header</goal>
380             </goals>
381             <configuration>
382               <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
383               <failOnMissingHeader>true</failOnMissingHeader>
384             </configuration>
385           </execution>
386         </executions>
387       </plugin>
388       <plugin>
389         <groupId>org.codehaus.gmaven</groupId>
390         <artifactId>groovy-maven-plugin</artifactId>
391         <version>2.0</version>
392         <executions>
393           <!-- set absolute base path from super pom -->
394           <execution>
395             <id>find-basepath</id>
396             <phase>validate</phase>
397             <goals>
398               <goal>execute</goal>
399             </goals>
400             <configuration>
401               <source>
402                 <![CDATA[
403                     import java.io.File;
404                     log.info('## define projects super pom absolute path through basepath_marker')
405                     String p = "basepath_marker";
406                     File f = null;
407                     if( p != null ) {
408                         def _max_child_poms = 0
409                         while( _max_child_poms++ < 5 ) {
410                             f = new File( p );
411                             if( f.exists() ) {
412                                 break;
413                             }   
414                             p = "../" + p;
415                         }
416                     }
417                     if( f != null ) {
418                         String basePath = f.getCanonicalPath();
419                         basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) ); 
420                         project.properties['base-path'] = basePath.replace( '\\' , '/');
421                         log.info(' - used base path = ' + project.properties['base-path'] );
422                     } else {
423                         log.error( 'Could not find basepath_marker marker file!' );
424                         System.stop( 0 );
425                     }
426                 ]]>
427               </source>
428             </configuration>
429           </execution>
430         </executions>
431       </plugin>
432       <plugin>
433         <groupId>net.revelc.code.formatter</groupId>
434         <artifactId>formatter-maven-plugin</artifactId>
435         <version>2.9.0</version>
436         <executions>
437           <execution>
438             <id>format-java</id>
439             <goals>
440               <goal>format</goal>
441             </goals>
442             <phase>process-sources</phase>
443             <configuration>
444               <skip>${format.skipExecute}</skip>
445               <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
446             </configuration>
447           </execution>
448           <execution>
449             <id>format-xml</id>
450             <goals>
451               <goal>format</goal>
452             </goals>
453             <phase>process-sources</phase>
454             <configuration>
455               <skip>${format.skipExecute}</skip>
456               <sourceDirectory>${project.basedir}</sourceDirectory>
457               <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
458               <includes>
459                 <include>pom.xml</include>
460               </includes>
461             </configuration>
462           </execution>
463           <execution>
464             <id>validate-java</id>
465             <goals>
466               <goal>validate</goal>
467             </goals>
468             <configuration>
469               <skip>${format.skipValidate}</skip>
470               <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
471             </configuration>
472           </execution>
473           <execution>
474             <id>validate-poms</id>
475             <goals>
476               <goal>validate</goal>
477             </goals>
478             <configuration>
479               <skip>${format.skipValidate}</skip>
480               <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
481               <includes>
482                 <include>pom.xml</include>
483               </includes>
484             </configuration>
485           </execution>
486         </executions>
487         <dependencies>
488           <dependency>
489             <groupId>com.fasterxml.jackson.core</groupId>
490             <artifactId>jackson-annotations</artifactId>
491             <version>2.12.1</version>
492           </dependency>
493           <dependency>
494             <groupId>org.eclipse.jdt</groupId>
495             <artifactId>org.eclipse.jdt.core</artifactId>
496             <version>3.24.0</version>
497             <exclusions>
498               <exclusion>
499                 <groupId>org.osgi.service</groupId>
500                 <artifactId>org.osgi.service.prefs</artifactId>
501               </exclusion>
502             </exclusions>
503           </dependency>
504         </dependencies>
505       </plugin>
506       <plugin>
507         <groupId>org.apache.maven.plugins</groupId>
508         <artifactId>maven-enforcer-plugin</artifactId>
509         <version>3.0.0-M3</version>
510         <executions>
511           <execution>
512             <id>enforce-property</id>
513             <configuration>
514               <skip>true</skip>
515             </configuration>
516           </execution>
517           <execution>
518             <id>enforce-no-snapshots</id>
519             <configuration>
520               <skip>true</skip>
521             </configuration>
522           </execution>
523           <execution>
524             <id>enforce-banned-dependencies</id>
525             <goals>
526               <goal>enforce</goal>
527             </goals>
528             <configuration>
529               <rules>
530                 <bannedDependencies>
531                   <excludes>
532                     <exclude>org.powermock</exclude>
533                   </excludes>
534                   <searchTransitive>false</searchTransitive>
535                 </bannedDependencies>
536               </rules>
537               <fail>true</fail>
538             </configuration>
539           </execution>
540         </executions>
541       </plugin>
542     </plugins>
543     <pluginManagement>
544       <plugins>
545         <plugin>
546           <groupId>org.eclipse.m2e</groupId>
547           <artifactId>lifecycle-mapping</artifactId>
548           <version>1.0.0</version>
549           <configuration>
550             <lifecycleMappingMetadata>
551               <pluginExecutions>
552                 <pluginExecution>
553                   <pluginExecutionFilter>
554                     <groupId>org.apache.maven.plugins</groupId>
555                     <artifactId>maven-checkstyle-plugin</artifactId>
556                     <versionRange>[1.0.0,)</versionRange>
557                     <goals>
558                       <goal>check</goal>
559                     </goals>
560                   </pluginExecutionFilter>
561                   <action>
562                     <execute />
563                   </action>
564                 </pluginExecution>
565                 <pluginExecution>
566                   <pluginExecutionFilter>
567                     <groupId>org.codehaus.gmaven</groupId>
568                     <artifactId>groovy-maven-plugin</artifactId>
569                     <versionRange>[1.0.0,)</versionRange>
570                     <goals>
571                       <goal>execute</goal>
572                     </goals>
573                   </pluginExecutionFilter>
574                   <action>
575                     <execute />
576                   </action>
577                 </pluginExecution>
578               </pluginExecutions>
579             </lifecycleMappingMetadata>
580           </configuration>
581         </plugin>
582         <plugin>
583           <groupId>io.fabric8</groupId>
584           <artifactId>docker-maven-plugin</artifactId>
585           <version>${io.fabric8.version}</version>
586           <configuration>
587             <skip>${docker.skip}</skip>
588             <skipBuild>${docker.skip.build}</skipBuild>
589             <skipPush>${docker.skip.push}</skipPush>
590             <dockerHost>${docker.newHost}</dockerHost>
591             <!-- 1. Update address to your local docker VM. 2. Add IP to 
592               your NO_PROXY environment variable -->
593             <certPath>${docker.host.cert.path}</certPath>
594             <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" 
595               to maven build command -->
596             <pushRegistry>${dockerPushRepo}</pushRegistry>
597             <!-- Update .m2/settings.xml Add server id settings.dockerRepository, 
598               username, and password -->
599             <pullRegistry>${dockerPullRepo}</pullRegistry>
600             <!-- If docker repo is not public. Update .m2/settings.xml Add 
601               server id settings.dockerRepository, username, and password -->
602             <images>
603               <image>
604                 <alias>service</alias>
605                 <name>${project.artifactId}:${project.version}</name>
606                 <build>
607                   <dockerFileDir>${project.build.directory}</dockerFileDir>
608                 </build>
609               </image>
610             </images>
611           </configuration>
612           <executions>
613             <execution>
614               <id>start</id>
615               <goals>
616                 <goal>build</goal>
617                 <goal>push</goal>
618               </goals>
619             </execution>
620           </executions>
621         </plugin>
622         <plugin>
623           <groupId>org.apache.maven.plugins</groupId>
624           <artifactId>maven-surefire-plugin</artifactId>
625           <version>2.22.2</version>
626           <configuration>
627             <systemPropertyVariables>
628               <so.log.level>DEBUG</so.log.level>
629             </systemPropertyVariables>
630             <rerunFailingTestsCount>2</rerunFailingTestsCount>
631             <parallel>classes</parallel>
632             <useUnlimitedThreads>false</useUnlimitedThreads>
633             <threadCount>1</threadCount>
634           </configuration>
635         </plugin>
636         <plugin>
637           <groupId>org.apache.maven.plugins</groupId>
638           <artifactId>maven-failsafe-plugin</artifactId>
639           <version>2.22.2</version>
640           <configuration>
641             <skip>true</skip>
642             <systemPropertyVariables>
643               <so.log.level>DEBUG</so.log.level>
644             </systemPropertyVariables>
645             <rerunFailingTestsCount>2</rerunFailingTestsCount>
646           </configuration>
647         </plugin>
648         <plugin>
649           <groupId>org.apache.maven.plugins</groupId>
650           <artifactId>maven-dependency-plugin</artifactId>
651           <executions>
652             <execution>
653               <id>extract-docker-file</id>
654               <goals>
655                 <goal>unpack</goal>
656               </goals>
657               <configuration>
658                 <skip>true</skip>
659                 <artifactItems>
660                   <artifactItem>
661                     <groupId>org.onap.so</groupId>
662                     <artifactId>deployment-configs</artifactId>
663                     <version>${project.version}</version>
664                     <outputDirectory>${project.build.directory}</outputDirectory>
665                     <includes>*,scripts/**,certs/**, logger/*.xml</includes>
666                     <excludes>Kubernetes</excludes>
667                   </artifactItem>
668                 </artifactItems>
669               </configuration>
670             </execution>
671           </executions>
672         </plugin>
673         <plugin>
674           <groupId>org.apache.maven.plugins</groupId>
675           <artifactId>maven-jar-plugin</artifactId>
676           <version>3.0.2</version>
677           <executions>
678             <execution>
679               <id>original</id>
680               <phase>none</phase>
681               <goals>
682                 <goal>jar</goal>
683               </goals>
684               <configuration>
685                 <classifier>${originalClassifier}</classifier>
686                 <includes>
687                   <include>**</include>
688                 </includes>
689               </configuration>
690             </execution>
691           </executions>
692         </plugin>
693         <plugin>
694           <groupId>org.springframework.boot</groupId>
695           <artifactId>spring-boot-maven-plugin</artifactId>
696           <version>${springboot.version}</version>
697           <executions>
698             <execution>
699               <id>build-info</id>
700               <goals>
701                 <goal>build-info</goal>
702               </goals>
703             </execution>
704           </executions>
705         </plugin>
706       </plugins>
707     </pluginManagement>
708   </build>
709   <!-- *********************************************************************************************************** -->
710   <!-- Dependencies -->
711   <dependencies>
712     <dependency>
713       <groupId>org.onap.logging-analytics</groupId>
714       <artifactId>logging-slf4j</artifactId>
715       <version>${onap-logging-version}</version>
716     </dependency>
717     <dependency>
718       <groupId>org.onap.logging-analytics</groupId>
719       <artifactId>logging-filter-base</artifactId>
720       <version>${onap-logging-version}</version>
721     </dependency>
722     <dependency>
723       <groupId>org.onap.logging-analytics</groupId>
724       <artifactId>logging-filter-spring</artifactId>
725       <version>${onap-logging-version}</version>
726     </dependency>
727     <dependency>
728       <groupId>com.fasterxml.jackson.core</groupId>
729       <artifactId>jackson-core</artifactId>
730     </dependency>
731     <dependency>
732       <groupId>com.fasterxml.jackson.module</groupId>
733       <artifactId>jackson-module-jaxb-annotations</artifactId>
734     </dependency>
735     <dependency>
736       <groupId>com.fasterxml.jackson.core</groupId>
737       <artifactId>jackson-databind</artifactId>
738     </dependency>
739     <dependency>
740       <groupId>com.fasterxml.jackson.core</groupId>
741       <artifactId>jackson-annotations</artifactId>
742     </dependency>
743     <dependency>
744       <groupId>com.fasterxml.jackson.jaxrs</groupId>
745       <artifactId>jackson-jaxrs-base</artifactId>
746     </dependency>
747     <dependency>
748       <groupId>com.fasterxml.jackson.jaxrs</groupId>
749       <artifactId>jackson-jaxrs-json-provider</artifactId>
750     </dependency>
751     <dependency>
752       <groupId>javax.ws.rs</groupId>
753       <artifactId>javax.ws.rs-api</artifactId>
754       <version>${jax.ws.rs}</version>
755     </dependency>
756     <dependency>
757       <groupId>javax.annotation</groupId>
758       <artifactId>javax.annotation-api</artifactId>
759     </dependency>
760     <dependency>
761       <groupId>javax.inject</groupId>
762       <artifactId>javax.inject</artifactId>
763       <version>1</version>
764     </dependency>
765     <dependency>
766       <groupId>org.mockito</groupId>
767       <artifactId>mockito-core</artifactId>
768     </dependency>
769     <dependency>
770       <groupId>org.hamcrest</groupId>
771       <artifactId>hamcrest-core</artifactId>
772     </dependency>
773     <dependency>
774       <groupId>org.hamcrest</groupId>
775       <artifactId>hamcrest-library</artifactId>
776     </dependency>
777     <dependency>
778       <groupId>junit</groupId>
779       <artifactId>junit</artifactId>
780       <scope>test</scope>
781     </dependency>
782     <dependency>
783       <groupId>xmlunit</groupId>
784       <artifactId>xmlunit</artifactId>
785       <version>1.6</version>
786       <scope>test</scope>
787     </dependency>
788     <dependency>
789       <groupId>com.github.tomakehurst</groupId>
790       <artifactId>wiremock-standalone</artifactId>
791       <version>2.13.0</version>
792       <scope>test</scope>
793       <exclusions>
794         <exclusion>
795           <groupId>org.mortbay.jetty</groupId>
796           <artifactId>jetty</artifactId>
797         </exclusion>
798         <exclusion>
799           <groupId>com.google.guava</groupId>
800           <artifactId>guava</artifactId>
801         </exclusion>
802         <exclusion>
803           <groupId>com.fasterxml.jackson.core</groupId>
804           <artifactId>jackson-core</artifactId>
805         </exclusion>
806         <exclusion>
807           <groupId>com.fasterxml.jackson.core</groupId>
808           <artifactId>jackson-annotations</artifactId>
809         </exclusion>
810         <exclusion>
811           <groupId>com.fasterxml.jackson.core</groupId>
812           <artifactId>jackson-databind</artifactId>
813         </exclusion>
814         <exclusion>
815           <groupId>org.apache.httpcomponents</groupId>
816           <artifactId>httpclient</artifactId>
817         </exclusion>
818         <exclusion>
819           <groupId>org.skyscreamer</groupId>
820           <artifactId>jsonassert</artifactId>
821         </exclusion>
822         <exclusion>
823           <groupId>xmlunit</groupId>
824           <artifactId>xmlunit</artifactId>
825         </exclusion>
826         <exclusion>
827           <groupId>com.jayway.jsonpath</groupId>
828           <artifactId>json-path</artifactId>
829         </exclusion>
830         <exclusion>
831           <groupId>net.sf.jopt-simple</groupId>
832           <artifactId>jopt-simple</artifactId>
833         </exclusion>
834       </exclusions>
835     </dependency>
836     <dependency>
837       <groupId>com.openpojo</groupId>
838       <artifactId>openpojo</artifactId>
839       <version>0.8.13</version>
840     </dependency>
841     <dependency>
842       <groupId>com.shazam</groupId>
843       <artifactId>shazamcrest</artifactId>
844       <version>0.11</version>
845       <scope>test</scope>
846       <exclusions>
847         <exclusion>
848           <groupId>com.google.guava</groupId>
849           <artifactId>guava</artifactId>
850         </exclusion>
851         <exclusion>
852           <groupId>org.apache.commons</groupId>
853           <artifactId>commons-lang3</artifactId>
854         </exclusion>
855       </exclusions>
856     </dependency>
857     <dependency>
858       <groupId>org.assertj</groupId>
859       <artifactId>assertj-core</artifactId>
860       <version>3.11.1</version>
861       <scope>test</scope>
862     </dependency>
863     <dependency>
864       <groupId>org.ow2.asm</groupId>
865       <artifactId>asm</artifactId>
866       <version>7.0</version>
867       <scope>test</scope>
868     </dependency>
869     <dependency>
870       <groupId>com.googlecode.junit-toolbox</groupId>
871       <artifactId>junit-toolbox</artifactId>
872       <version>2.4</version>
873     </dependency>
874   </dependencies>
875   <dependencyManagement>
876     <dependencies>
877       <dependency>
878         <groupId>org.onap.logging-analytics</groupId>
879         <artifactId>logging-slf4j</artifactId>
880         <version>${onap-logging-version}</version>
881       </dependency>
882       <dependency>
883         <groupId>org.onap.logging-analytics</groupId>
884         <artifactId>logging-filter-base</artifactId>
885         <version>${onap-logging-version}</version>
886       </dependency>
887       <dependency>
888         <groupId>org.onap.logging-analytics</groupId>
889         <artifactId>logging-filter-spring</artifactId>
890         <version>${onap-logging-version}</version>
891       </dependency>
892       <dependency>
893         <groupId>org.apache.httpcomponents</groupId>
894         <artifactId>httpcore</artifactId>
895         <version>4.4.4</version>
896         <scope>compile</scope>
897       </dependency>
898       <dependency>
899         <groupId>commons-codec</groupId>
900         <artifactId>commons-codec</artifactId>
901         <version>1.15</version>
902         <scope>compile</scope>
903       </dependency>
904       <dependency>
905         <groupId>commons-io</groupId>
906         <artifactId>commons-io</artifactId>
907         <version>2.8.0</version>
908         <scope>compile</scope>
909       </dependency>
910       <dependency>
911         <groupId>com.sun.xml.fastinfoset</groupId>
912         <artifactId>FastInfoset</artifactId>
913         <version>1.2.13</version>
914         <scope>compile</scope>
915       </dependency>
916       <dependency>
917         <groupId>org.springframework.boot</groupId>
918         <artifactId>spring-boot-dependencies</artifactId>
919         <version>${springboot.version}</version>
920         <type>pom</type>
921         <scope>import</scope>
922       </dependency>
923       <dependency>
924         <groupId>org.yaml</groupId>
925         <artifactId>snakeyaml</artifactId>
926         <version>1.26</version>
927       </dependency>
928       <dependency>
929         <groupId>javax.interceptor</groupId>
930         <artifactId>javax.interceptor-api</artifactId>
931         <version>1.2.2</version>
932       </dependency>
933       <dependency>
934         <groupId>org.springframework.boot</groupId>
935         <artifactId>spring-boot-starter-test</artifactId>
936         <version>${springboot.version}</version>
937         <exclusions>
938           <exclusion>
939             <groupId>com.vaadin.external.google</groupId>
940             <artifactId>android-json</artifactId>
941           </exclusion>
942           <exclusion>
943             <groupId>org.junit.jupiter</groupId>
944             <artifactId>junit-jupiter</artifactId>
945           </exclusion>
946           <exclusion>
947             <groupId>org.junit.vintage</groupId>
948             <artifactId>junit-vintage-engine</artifactId>
949           </exclusion>
950           <exclusion>
951             <groupId>org.mockito</groupId>
952             <artifactId>mockito-junit-jupiter</artifactId>
953           </exclusion>
954         </exclusions>
955       </dependency>
956       <dependency>
957         <groupId>net.javacrumbs.shedlock</groupId>
958         <artifactId>shedlock-spring</artifactId>
959         <version>4.0.0</version>
960       </dependency>
961       <dependency>
962         <groupId>net.javacrumbs.shedlock</groupId>
963         <artifactId>shedlock-provider-jdbc-template</artifactId>
964         <version>4.0.0</version>
965       </dependency>
966       <dependency>
967         <groupId>org.flywaydb</groupId>
968         <artifactId>flyway-core</artifactId>
969         <version>6.5.7</version>
970       </dependency>
971       <dependency>
972         <groupId>org.json</groupId>
973         <artifactId>json</artifactId>
974         <version>20140107</version>
975       </dependency>
976       <dependency>
977         <groupId>org.onap.aai.schema-service</groupId>
978         <artifactId>aai-schema</artifactId>
979         <version>1.9.2</version>
980       </dependency>
981       <dependency>
982         <groupId>org.apache.cxf</groupId>
983         <artifactId>cxf-rt-rs-client</artifactId>
984         <version>${cxf.version}</version>
985         <exclusions>
986           <exclusion>
987             <groupId>org.jboss.spec.javax.rmi</groupId>
988             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
989           </exclusion>
990         </exclusions>
991       </dependency>
992       <dependency>
993         <groupId>org.apache.cxf</groupId>
994         <artifactId>cxf-rt-bindings-soap</artifactId>
995         <version>${cxf.version}</version>
996         <exclusions>
997           <exclusion>
998             <groupId>org.jboss.spec.javax.rmi</groupId>
999             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1000           </exclusion>
1001         </exclusions>
1002       </dependency>
1003       <dependency>
1004         <groupId>org.apache.cxf</groupId>
1005         <artifactId>cxf-rt-transports-http</artifactId>
1006         <version>${cxf.version}</version>
1007         <exclusions>
1008           <exclusion>
1009             <groupId>org.jboss.spec.javax.rmi</groupId>
1010             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1011           </exclusion>
1012         </exclusions>
1013       </dependency>
1014       <dependency>
1015         <groupId>org.apache.cxf</groupId>
1016         <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
1017         <version>${cxf.version}</version>
1018         <exclusions>
1019           <exclusion>
1020             <groupId>org.jboss.spec.javax.rmi</groupId>
1021             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1022           </exclusion>
1023         </exclusions>
1024       </dependency>
1025       <dependency>
1026         <groupId>org.apache.cxf</groupId>
1027         <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
1028         <version>${cxf.version}</version>
1029         <exclusions>
1030           <exclusion>
1031             <groupId>org.jboss.spec.javax.rmi</groupId>
1032             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1033           </exclusion>
1034         </exclusions>
1035       </dependency>
1036       <dependency>
1037         <groupId>org.apache.cxf</groupId>
1038         <artifactId>cxf-rt-rs-service-description-openapi-v3</artifactId>
1039         <version>${cxf.version}</version>
1040         <exclusions>
1041           <exclusion>
1042             <groupId>org.jboss.spec.javax.rmi</groupId>
1043             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1044           </exclusion>
1045         </exclusions>
1046       </dependency>
1047       <dependency>
1048         <groupId>org.onap.aaf.authz</groupId>
1049         <artifactId>aaf-cadi-client</artifactId>
1050         <version>${aaf.version}</version>
1051       </dependency>
1052       <dependency>
1053         <groupId>org.onap.aaf.authz</groupId>
1054         <artifactId>aaf-cadi-aaf</artifactId>
1055         <version>${aaf.version}</version>
1056         <exclusions>
1057           <exclusion>
1058             <groupId>javax.servlet</groupId>
1059             <artifactId>servlet-api</artifactId>
1060           </exclusion>
1061           <exclusion>
1062             <groupId>log4j</groupId>
1063             <artifactId>log4j</artifactId>
1064           </exclusion>
1065         </exclusions>
1066       </dependency>
1067       <dependency>
1068         <groupId>org.onap.aaf.authz</groupId>
1069         <artifactId>aaf-auth-client</artifactId>
1070         <version>${aaf.version}</version>
1071         <scope>runtime</scope>
1072       </dependency>
1073       <dependency>
1074         <groupId>org.onap.aaf.authz</groupId>
1075         <artifactId>aaf-misc-env</artifactId>
1076         <version>${aaf.version}</version>
1077         <scope>runtime</scope>
1078       </dependency>
1079       <dependency>
1080         <groupId>org.onap.aaf.authz</groupId>
1081         <artifactId>aaf-misc-rosetta</artifactId>
1082         <version>${aaf.version}</version>
1083         <scope>runtime</scope>
1084       </dependency>
1085       <dependency>
1086         <groupId>ch.vorburger.mariaDB4j</groupId>
1087         <artifactId>mariaDB4j</artifactId>
1088         <version>2.3.0</version>
1089         <scope>test</scope>
1090       </dependency>
1091       <dependency>
1092         <groupId>org.springframework.cloud</groupId>
1093         <artifactId>spring-cloud-contract-wiremock</artifactId>
1094         <version>1.2.4.RELEASE</version>
1095         <scope>test</scope>
1096       </dependency>
1097       <dependency>
1098         <groupId>org.camunda.bpm.assert</groupId>
1099         <artifactId>camunda-bpm-assert</artifactId>
1100         <version>3.0.0</version>
1101         <scope>test</scope>
1102       </dependency>
1103       <dependency>
1104         <groupId>janino</groupId>
1105         <artifactId>janino</artifactId>
1106         <version>2.5.15</version>
1107       </dependency>
1108       <dependency>
1109         <groupId>org.camunda.bpm</groupId>
1110         <artifactId>camunda-external-task-client</artifactId>
1111         <version>1.4.0</version>
1112       </dependency>
1113       <dependency>
1114         <groupId>pl.pragmatists</groupId>
1115         <artifactId>JUnitParams</artifactId>
1116         <version>1.0.5</version>
1117         <scope>test</scope>
1118       </dependency>
1119       <dependency>
1120         <groupId>io.swagger.core.v3</groupId>
1121         <artifactId>swagger-jaxrs2</artifactId>
1122         <version>2.1.7</version>
1123       </dependency>
1124       <dependency>
1125         <groupId>org.camunda.bpm</groupId>
1126         <artifactId>camunda-bom</artifactId>
1127         <version>7.14.0</version>
1128         <scope>import</scope>
1129         <type>pom</type>
1130       </dependency>
1131     </dependencies>
1132   </dependencyManagement>
1133   <profiles>
1134     <profile>
1135       <id>docker-image-build</id>
1136       <properties>
1137         <docker.skip>false</docker.skip>
1138         <docker.skip.build>false</docker.skip.build>
1139       </properties>
1140     </profile>
1141     <profile>
1142       <id>docker-image-build-push</id>
1143       <properties>
1144         <docker.skip>false</docker.skip>
1145         <docker.skip.build>false</docker.skip.build>
1146         <docker.skip.push>false</docker.skip.push>
1147       </properties>
1148     </profile>
1149     <profile>
1150       <id>format</id>
1151       <properties>
1152         <format.skipValidate>true</format.skipValidate>
1153         <format.skipExecute>false</format.skipExecute>
1154       </properties>
1155     </profile>
1156     <profile>
1157       <id>m2e</id>
1158       <activation>
1159         <property>
1160           <name>m2e.version</name>
1161         </property>
1162       </activation>
1163       <properties>
1164         <originalClassifier />
1165       </properties>
1166     </profile>
1167   </profiles>
1168 </project>