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