9b4f042f2f184aa061327537bedbe3d35a5bc852
[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>3.0.2</version>
9     <relativePath />
10   </parent>
11   <groupId>org.onap.so</groupId>
12   <artifactId>so</artifactId>
13   <packaging>pom</packaging>
14   <version>1.12.1-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         </dependencies>
494       </plugin>
495       <plugin>
496         <groupId>org.apache.maven.plugins</groupId>
497         <artifactId>maven-enforcer-plugin</artifactId>
498         <version>3.0.0-M3</version>
499         <executions>
500           <execution>
501             <id>enforce-property</id>
502             <configuration>
503               <skip>true</skip>
504             </configuration>
505           </execution>
506           <execution>
507             <id>enforce-no-snapshots</id>
508             <configuration>
509               <skip>true</skip>
510             </configuration>
511           </execution>
512           <execution>
513             <id>enforce-banned-dependencies</id>
514             <goals>
515               <goal>enforce</goal>
516             </goals>
517             <configuration>
518               <rules>
519                 <bannedDependencies>
520                   <excludes>
521                     <exclude>org.powermock</exclude>
522                   </excludes>
523                   <searchTransitive>false</searchTransitive>
524                 </bannedDependencies>
525               </rules>
526               <fail>true</fail>
527             </configuration>
528           </execution>
529         </executions>
530       </plugin>
531     </plugins>
532     <pluginManagement>
533       <plugins>
534         <plugin>
535           <groupId>org.eclipse.m2e</groupId>
536           <artifactId>lifecycle-mapping</artifactId>
537           <version>1.0.0</version>
538           <configuration>
539             <lifecycleMappingMetadata>
540               <pluginExecutions>
541                 <pluginExecution>
542                   <pluginExecutionFilter>
543                     <groupId>org.apache.maven.plugins</groupId>
544                     <artifactId>maven-checkstyle-plugin</artifactId>
545                     <versionRange>[1.0.0,)</versionRange>
546                     <goals>
547                       <goal>check</goal>
548                     </goals>
549                   </pluginExecutionFilter>
550                   <action>
551                     <execute />
552                   </action>
553                 </pluginExecution>
554                 <pluginExecution>
555                   <pluginExecutionFilter>
556                     <groupId>org.codehaus.gmaven</groupId>
557                     <artifactId>groovy-maven-plugin</artifactId>
558                     <versionRange>[1.0.0,)</versionRange>
559                     <goals>
560                       <goal>execute</goal>
561                     </goals>
562                   </pluginExecutionFilter>
563                   <action>
564                     <execute />
565                   </action>
566                 </pluginExecution>
567               </pluginExecutions>
568             </lifecycleMappingMetadata>
569           </configuration>
570         </plugin>
571         <plugin>
572           <groupId>io.fabric8</groupId>
573           <artifactId>docker-maven-plugin</artifactId>
574           <version>${io.fabric8.version}</version>
575           <configuration>
576             <skip>${docker.skip}</skip>
577             <skipBuild>${docker.skip.build}</skipBuild>
578             <skipPush>${docker.skip.push}</skipPush>
579             <dockerHost>${docker.newHost}</dockerHost>
580             <!-- 1. Update address to your local docker VM. 2. Add IP to 
581               your NO_PROXY environment variable -->
582             <certPath>${docker.host.cert.path}</certPath>
583             <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" 
584               to maven build command -->
585             <pushRegistry>${dockerPushRepo}</pushRegistry>
586             <!-- Update .m2/settings.xml Add server id settings.dockerRepository, 
587               username, and password -->
588             <pullRegistry>${dockerPullRepo}</pullRegistry>
589             <!-- If docker repo is not public. Update .m2/settings.xml Add 
590               server id settings.dockerRepository, username, and password -->
591             <images>
592               <image>
593                 <alias>service</alias>
594                 <name>${project.artifactId}:${project.version}</name>
595                 <build>
596                   <dockerFileDir>${project.build.directory}</dockerFileDir>
597                 </build>
598               </image>
599             </images>
600           </configuration>
601           <executions>
602             <execution>
603               <id>start</id>
604               <goals>
605                 <goal>build</goal>
606                 <goal>push</goal>
607               </goals>
608             </execution>
609           </executions>
610         </plugin>
611         <plugin>
612           <groupId>org.apache.maven.plugins</groupId>
613           <artifactId>maven-surefire-plugin</artifactId>
614           <version>3.0.0-M9</version>
615           <dependencies>
616             <dependency>
617               <groupId>org.junit.jupiter</groupId>
618               <artifactId>junit-jupiter-engine</artifactId>
619               <version>5.5.2</version>
620             </dependency>
621           </dependencies>
622           <configuration>
623             <systemPropertyVariables>
624               <so.log.level>DEBUG</so.log.level>
625             </systemPropertyVariables>
626             <rerunFailingTestsCount>2</rerunFailingTestsCount>
627             <parallel>classes</parallel>
628             <useUnlimitedThreads>false</useUnlimitedThreads>
629             <threadCount>1</threadCount>
630           </configuration>
631         </plugin>
632         <plugin>
633           <groupId>org.apache.maven.plugins</groupId>
634           <artifactId>maven-failsafe-plugin</artifactId>
635           <version>2.22.2</version>
636           <configuration>
637             <skip>true</skip>
638             <systemPropertyVariables>
639               <so.log.level>DEBUG</so.log.level>
640             </systemPropertyVariables>
641             <rerunFailingTestsCount>2</rerunFailingTestsCount>
642           </configuration>
643         </plugin>
644         <plugin>
645           <groupId>org.apache.maven.plugins</groupId>
646           <artifactId>maven-dependency-plugin</artifactId>
647           <executions>
648             <execution>
649               <id>extract-docker-file</id>
650               <goals>
651                 <goal>unpack</goal>
652               </goals>
653               <configuration>
654                 <skip>true</skip>
655                 <artifactItems>
656                   <artifactItem>
657                     <groupId>org.onap.so</groupId>
658                     <artifactId>deployment-configs</artifactId>
659                     <version>${project.version}</version>
660                     <outputDirectory>${project.build.directory}</outputDirectory>
661                     <includes>*,scripts/**,certs/**, logger/*.xml</includes>
662                     <excludes>Kubernetes</excludes>
663                   </artifactItem>
664                 </artifactItems>
665               </configuration>
666             </execution>
667           </executions>
668         </plugin>
669         <plugin>
670           <groupId>org.apache.maven.plugins</groupId>
671           <artifactId>maven-jar-plugin</artifactId>
672           <version>3.0.2</version>
673           <executions>
674             <execution>
675               <id>original</id>
676               <phase>none</phase>
677               <goals>
678                 <goal>jar</goal>
679               </goals>
680               <configuration>
681                 <classifier>${originalClassifier}</classifier>
682                 <includes>
683                   <include>**</include>
684                 </includes>
685               </configuration>
686             </execution>
687           </executions>
688         </plugin>
689         <plugin>
690           <groupId>org.springframework.boot</groupId>
691           <artifactId>spring-boot-maven-plugin</artifactId>
692           <version>${springboot.version}</version>
693           <executions>
694             <execution>
695               <id>build-info</id>
696               <goals>
697                 <goal>build-info</goal>
698               </goals>
699             </execution>
700           </executions>
701         </plugin>
702       </plugins>
703     </pluginManagement>
704   </build>
705   <!-- *********************************************************************************************************** -->
706   <!-- Dependencies -->
707   <dependencies>
708     <dependency>
709       <groupId>org.onap.logging-analytics</groupId>
710       <artifactId>logging-slf4j</artifactId>
711       <version>${onap-logging-version}</version>
712     </dependency>
713     <dependency>
714       <groupId>org.onap.logging-analytics</groupId>
715       <artifactId>logging-filter-base</artifactId>
716       <version>${onap-logging-version}</version>
717     </dependency>
718     <dependency>
719       <groupId>org.onap.logging-analytics</groupId>
720       <artifactId>logging-filter-spring</artifactId>
721       <version>${onap-logging-version}</version>
722     </dependency>
723     <dependency>
724       <groupId>com.fasterxml.jackson.core</groupId>
725       <artifactId>jackson-core</artifactId>
726     </dependency>
727     <dependency>
728       <groupId>com.fasterxml.jackson.module</groupId>
729       <artifactId>jackson-module-jaxb-annotations</artifactId>
730     </dependency>
731     <dependency>
732       <groupId>com.fasterxml.jackson.core</groupId>
733       <artifactId>jackson-databind</artifactId>
734     </dependency>
735     <dependency>
736       <groupId>com.fasterxml.jackson.core</groupId>
737       <artifactId>jackson-annotations</artifactId>
738     </dependency>
739     <dependency>
740       <groupId>com.fasterxml.jackson.jaxrs</groupId>
741       <artifactId>jackson-jaxrs-base</artifactId>
742     </dependency>
743     <dependency>
744       <groupId>com.fasterxml.jackson.jaxrs</groupId>
745       <artifactId>jackson-jaxrs-json-provider</artifactId>
746     </dependency>
747     <dependency>
748       <groupId>javax.ws.rs</groupId>
749       <artifactId>javax.ws.rs-api</artifactId>
750       <version>${jax.ws.rs}</version>
751     </dependency>
752     <dependency>
753       <groupId>javax.annotation</groupId>
754       <artifactId>javax.annotation-api</artifactId>
755     </dependency>
756     <dependency>
757       <groupId>javax.inject</groupId>
758       <artifactId>javax.inject</artifactId>
759       <version>1</version>
760     </dependency>
761     <dependency>
762       <groupId>org.mockito</groupId>
763       <artifactId>mockito-core</artifactId>
764     </dependency>
765     <dependency>
766       <groupId>org.hamcrest</groupId>
767       <artifactId>hamcrest-core</artifactId>
768     </dependency>
769     <dependency>
770       <groupId>org.hamcrest</groupId>
771       <artifactId>hamcrest-library</artifactId>
772     </dependency>
773     <dependency>
774       <groupId>junit</groupId>
775       <artifactId>junit</artifactId>
776       <scope>test</scope>
777     </dependency>
778     <dependency>
779       <groupId>xmlunit</groupId>
780       <artifactId>xmlunit</artifactId>
781       <version>1.6</version>
782       <scope>test</scope>
783     </dependency>
784     <dependency>
785       <groupId>com.github.tomakehurst</groupId>
786       <artifactId>wiremock-standalone</artifactId>
787       <version>2.13.0</version>
788       <scope>test</scope>
789       <exclusions>
790         <exclusion>
791           <groupId>org.mortbay.jetty</groupId>
792           <artifactId>jetty</artifactId>
793         </exclusion>
794         <exclusion>
795           <groupId>com.google.guava</groupId>
796           <artifactId>guava</artifactId>
797         </exclusion>
798         <exclusion>
799           <groupId>com.fasterxml.jackson.core</groupId>
800           <artifactId>jackson-core</artifactId>
801         </exclusion>
802         <exclusion>
803           <groupId>com.fasterxml.jackson.core</groupId>
804           <artifactId>jackson-annotations</artifactId>
805         </exclusion>
806         <exclusion>
807           <groupId>com.fasterxml.jackson.core</groupId>
808           <artifactId>jackson-databind</artifactId>
809         </exclusion>
810         <exclusion>
811           <groupId>org.apache.httpcomponents</groupId>
812           <artifactId>httpclient</artifactId>
813         </exclusion>
814         <exclusion>
815           <groupId>org.skyscreamer</groupId>
816           <artifactId>jsonassert</artifactId>
817         </exclusion>
818         <exclusion>
819           <groupId>xmlunit</groupId>
820           <artifactId>xmlunit</artifactId>
821         </exclusion>
822         <exclusion>
823           <groupId>com.jayway.jsonpath</groupId>
824           <artifactId>json-path</artifactId>
825         </exclusion>
826         <exclusion>
827           <groupId>net.sf.jopt-simple</groupId>
828           <artifactId>jopt-simple</artifactId>
829         </exclusion>
830       </exclusions>
831     </dependency>
832     <dependency>
833       <groupId>com.openpojo</groupId>
834       <artifactId>openpojo</artifactId>
835       <version>0.8.13</version>
836     </dependency>
837     <dependency>
838       <groupId>com.shazam</groupId>
839       <artifactId>shazamcrest</artifactId>
840       <version>0.11</version>
841       <scope>test</scope>
842       <exclusions>
843         <exclusion>
844           <groupId>com.google.guava</groupId>
845           <artifactId>guava</artifactId>
846         </exclusion>
847         <exclusion>
848           <groupId>org.apache.commons</groupId>
849           <artifactId>commons-lang3</artifactId>
850         </exclusion>
851       </exclusions>
852     </dependency>
853     <dependency>
854       <groupId>org.assertj</groupId>
855       <artifactId>assertj-core</artifactId>
856       <version>3.11.1</version>
857       <scope>test</scope>
858     </dependency>
859     <dependency>
860       <groupId>org.ow2.asm</groupId>
861       <artifactId>asm</artifactId>
862       <version>7.0</version>
863       <scope>test</scope>
864     </dependency>
865     <dependency>
866       <groupId>com.googlecode.junit-toolbox</groupId>
867       <artifactId>junit-toolbox</artifactId>
868       <version>2.4</version>
869     </dependency>
870   </dependencies>
871   <dependencyManagement>
872     <dependencies>
873       <dependency>
874         <groupId>org.onap.logging-analytics</groupId>
875         <artifactId>logging-slf4j</artifactId>
876         <version>${onap-logging-version}</version>
877       </dependency>
878       <dependency>
879         <groupId>org.onap.logging-analytics</groupId>
880         <artifactId>logging-filter-base</artifactId>
881         <version>${onap-logging-version}</version>
882       </dependency>
883       <dependency>
884         <groupId>org.onap.logging-analytics</groupId>
885         <artifactId>logging-filter-spring</artifactId>
886         <version>${onap-logging-version}</version>
887       </dependency>
888       <dependency>
889         <groupId>org.apache.httpcomponents</groupId>
890         <artifactId>httpcore</artifactId>
891         <version>4.4.4</version>
892         <scope>compile</scope>
893       </dependency>
894       <dependency>
895         <groupId>commons-codec</groupId>
896         <artifactId>commons-codec</artifactId>
897         <version>1.15</version>
898         <scope>compile</scope>
899       </dependency>
900       <dependency>
901         <groupId>commons-io</groupId>
902         <artifactId>commons-io</artifactId>
903         <version>2.8.0</version>
904         <scope>compile</scope>
905       </dependency>
906       <dependency>
907         <groupId>com.sun.xml.fastinfoset</groupId>
908         <artifactId>FastInfoset</artifactId>
909         <version>1.2.13</version>
910         <scope>compile</scope>
911       </dependency>
912       <dependency>
913         <groupId>org.springframework.boot</groupId>
914         <artifactId>spring-boot-dependencies</artifactId>
915         <version>${springboot.version}</version>
916         <type>pom</type>
917         <scope>import</scope>
918       </dependency>
919       <dependency>
920         <groupId>org.yaml</groupId>
921         <artifactId>snakeyaml</artifactId>
922         <version>1.26</version>
923       </dependency>
924       <dependency>
925         <groupId>javax.interceptor</groupId>
926         <artifactId>javax.interceptor-api</artifactId>
927         <version>1.2.2</version>
928       </dependency>
929       <dependency>
930         <groupId>org.springframework.boot</groupId>
931         <artifactId>spring-boot-starter-test</artifactId>
932         <version>${springboot.version}</version>
933         <exclusions>
934           <exclusion>
935             <groupId>com.vaadin.external.google</groupId>
936             <artifactId>android-json</artifactId>
937           </exclusion>
938           <exclusion>
939             <groupId>org.junit.jupiter</groupId>
940             <artifactId>junit-jupiter</artifactId>
941           </exclusion>
942           <exclusion>
943             <groupId>org.junit.vintage</groupId>
944             <artifactId>junit-vintage-engine</artifactId>
945           </exclusion>
946           <exclusion>
947             <groupId>org.mockito</groupId>
948             <artifactId>mockito-junit-jupiter</artifactId>
949           </exclusion>
950         </exclusions>
951       </dependency>
952       <dependency>
953         <groupId>net.javacrumbs.shedlock</groupId>
954         <artifactId>shedlock-spring</artifactId>
955         <version>4.0.0</version>
956       </dependency>
957       <dependency>
958         <groupId>net.javacrumbs.shedlock</groupId>
959         <artifactId>shedlock-provider-jdbc-template</artifactId>
960         <version>4.0.0</version>
961       </dependency>
962       <dependency>
963         <groupId>org.flywaydb</groupId>
964         <artifactId>flyway-core</artifactId>
965         <version>6.5.7</version>
966       </dependency>
967       <dependency>
968         <groupId>org.json</groupId>
969         <artifactId>json</artifactId>
970         <version>20220924</version>
971       </dependency>
972       <dependency>
973         <groupId>org.onap.aai.schema-service</groupId>
974         <artifactId>aai-schema</artifactId>
975         <version>1.9.2</version>
976       </dependency>
977       <dependency>
978         <groupId>org.apache.cxf</groupId>
979         <artifactId>cxf-rt-rs-client</artifactId>
980         <version>${cxf.version}</version>
981         <exclusions>
982           <exclusion>
983             <groupId>org.jboss.spec.javax.rmi</groupId>
984             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
985           </exclusion>
986         </exclusions>
987       </dependency>
988       <dependency>
989         <groupId>org.apache.cxf</groupId>
990         <artifactId>cxf-rt-bindings-soap</artifactId>
991         <version>${cxf.version}</version>
992         <exclusions>
993           <exclusion>
994             <groupId>org.jboss.spec.javax.rmi</groupId>
995             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
996           </exclusion>
997         </exclusions>
998       </dependency>
999       <dependency>
1000         <groupId>org.apache.cxf</groupId>
1001         <artifactId>cxf-rt-transports-http</artifactId>
1002         <version>${cxf.version}</version>
1003         <exclusions>
1004           <exclusion>
1005             <groupId>org.jboss.spec.javax.rmi</groupId>
1006             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1007           </exclusion>
1008         </exclusions>
1009       </dependency>
1010       <dependency>
1011         <groupId>org.apache.cxf</groupId>
1012         <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
1013         <version>${cxf.version}</version>
1014         <exclusions>
1015           <exclusion>
1016             <groupId>org.jboss.spec.javax.rmi</groupId>
1017             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1018           </exclusion>
1019         </exclusions>
1020       </dependency>
1021       <dependency>
1022         <groupId>org.apache.cxf</groupId>
1023         <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
1024         <version>${cxf.version}</version>
1025         <exclusions>
1026           <exclusion>
1027             <groupId>org.jboss.spec.javax.rmi</groupId>
1028             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1029           </exclusion>
1030         </exclusions>
1031       </dependency>
1032       <dependency>
1033         <groupId>org.apache.cxf</groupId>
1034         <artifactId>cxf-rt-rs-service-description-openapi-v3</artifactId>
1035         <version>${cxf.version}</version>
1036         <exclusions>
1037           <exclusion>
1038             <groupId>org.jboss.spec.javax.rmi</groupId>
1039             <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1040           </exclusion>
1041         </exclusions>
1042       </dependency>
1043       <dependency>
1044         <groupId>org.onap.aaf.authz</groupId>
1045         <artifactId>aaf-cadi-client</artifactId>
1046         <version>${aaf.version}</version>
1047       </dependency>
1048       <dependency>
1049         <groupId>org.onap.aaf.authz</groupId>
1050         <artifactId>aaf-cadi-aaf</artifactId>
1051         <version>${aaf.version}</version>
1052         <exclusions>
1053           <exclusion>
1054             <groupId>javax.servlet</groupId>
1055             <artifactId>servlet-api</artifactId>
1056           </exclusion>
1057           <exclusion>
1058             <groupId>log4j</groupId>
1059             <artifactId>log4j</artifactId>
1060           </exclusion>
1061         </exclusions>
1062       </dependency>
1063       <dependency>
1064         <groupId>org.onap.aaf.authz</groupId>
1065         <artifactId>aaf-auth-client</artifactId>
1066         <version>${aaf.version}</version>
1067         <scope>runtime</scope>
1068       </dependency>
1069       <dependency>
1070         <groupId>org.onap.aaf.authz</groupId>
1071         <artifactId>aaf-misc-env</artifactId>
1072         <version>${aaf.version}</version>
1073         <scope>runtime</scope>
1074       </dependency>
1075       <dependency>
1076         <groupId>org.onap.aaf.authz</groupId>
1077         <artifactId>aaf-misc-rosetta</artifactId>
1078         <version>${aaf.version}</version>
1079         <scope>runtime</scope>
1080       </dependency>
1081       <dependency>
1082         <groupId>ch.vorburger.mariaDB4j</groupId>
1083         <artifactId>mariaDB4j</artifactId>
1084         <version>2.3.0</version>
1085         <scope>test</scope>
1086       </dependency>
1087       <dependency>
1088         <groupId>org.springframework.cloud</groupId>
1089         <artifactId>spring-cloud-contract-wiremock</artifactId>
1090         <version>1.2.4.RELEASE</version>
1091         <scope>test</scope>
1092       </dependency>
1093       <dependency>
1094         <groupId>org.camunda.bpm.assert</groupId>
1095         <artifactId>camunda-bpm-assert</artifactId>
1096         <version>3.0.0</version>
1097         <scope>test</scope>
1098       </dependency>
1099       <dependency>
1100         <groupId>janino</groupId>
1101         <artifactId>janino</artifactId>
1102         <version>2.5.15</version>
1103       </dependency>
1104       <dependency>
1105         <groupId>org.camunda.bpm</groupId>
1106         <artifactId>camunda-external-task-client</artifactId>
1107         <version>1.4.0</version>
1108       </dependency>
1109       <dependency>
1110         <groupId>pl.pragmatists</groupId>
1111         <artifactId>JUnitParams</artifactId>
1112         <version>1.0.5</version>
1113         <scope>test</scope>
1114       </dependency>
1115       <dependency>
1116         <groupId>io.swagger.core.v3</groupId>
1117         <artifactId>swagger-jaxrs2</artifactId>
1118         <version>2.1.7</version>
1119       </dependency>
1120       <dependency>
1121         <groupId>org.camunda.bpm</groupId>
1122         <artifactId>camunda-bom</artifactId>
1123         <version>7.14.0</version>
1124         <scope>import</scope>
1125         <type>pom</type>
1126       </dependency>
1127     </dependencies>
1128   </dependencyManagement>
1129   <profiles>
1130     <profile>
1131       <id>docker-image-build</id>
1132       <properties>
1133         <docker.skip>false</docker.skip>
1134         <docker.skip.build>false</docker.skip.build>
1135       </properties>
1136     </profile>
1137     <profile>
1138       <id>docker-image-build-push</id>
1139       <properties>
1140         <docker.skip>false</docker.skip>
1141         <docker.skip.build>false</docker.skip.build>
1142         <docker.skip.push>false</docker.skip.push>
1143       </properties>
1144     </profile>
1145     <profile>
1146       <id>format</id>
1147       <properties>
1148         <format.skipValidate>true</format.skipValidate>
1149         <format.skipExecute>false</format.skipExecute>
1150       </properties>
1151     </profile>
1152     <profile>
1153       <id>m2e</id>
1154       <activation>
1155         <property>
1156           <name>m2e.version</name>
1157         </property>
1158       </activation>
1159       <properties>
1160         <originalClassifier />
1161       </properties>
1162     </profile>
1163   </profiles>
1164 </project>