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