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.6.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>mso-catalog-db</module>
28     <module>mso-api-handlers</module>
29     <module>adapters</module>
30     <module>asdc-controller</module>
31     <module>bpmn</module>
32     <module>cloudify-client</module>
33     <module>cxf-logging</module>
34     <module>so-monitoring</module>
35     <module>so-simulator</module>
36     <module>packages</module>
37   </modules>
38   <properties>
39     <project.mso.base.folder>.</project.mso.base.folder>
40     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42     <sonar.language>java</sonar.language>
43     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
44     <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
45     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
46     <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
47     <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
48     <sonar.projectVersion>${project.version}</sonar.projectVersion>
49     <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
50     <jacoco.version>0.8.5</jacoco.version>
51     <org.apache.maven.user-settings />
52     <openstack.version>1.6.1-SNAPSHOT</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.2.6</cxf.version>
68     <jax.ws.rs>2.1</jax.ws.rs>
69     <springboot.version>2.1.5.RELEASE</springboot.version>
70     <camunda.springboot.version>3.2.0</camunda.springboot.version>
71     <format.skipValidate>false</format.skipValidate>
72     <format.skipExecute>true</format.skipExecute>
73     <io.fabric8.version>4.1.0</io.fabric8.version>
74     <appc.client.version>1.7.1</appc.client.version>
75   </properties>
76   <distributionManagement>
77     <repository>
78       <id>ecomp-releases</id>
79       <url>${nexusproxy}/${releaseNexusPath}</url>
80     </repository>
81     <snapshotRepository>
82       <id>ecomp-snapshots</id>
83       <url>${nexusproxy}/${snapshotNexusPath}</url>
84     </snapshotRepository>
85     <site>
86       <id>ecomp-site</id>
87       <url>dav:${nexusproxy}${siteNexusPath}</url>
88     </site>
89   </distributionManagement>
90   <reporting>
91     <plugins>
92       <plugin>
93         <groupId>org.apache.maven.plugins</groupId>
94         <artifactId>maven-javadoc-plugin</artifactId>
95         <version>2.10.4</version>
96         <configuration>
97           <failOnError>false</failOnError>
98           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
99           <docletArtifact>
100             <groupId>org.umlgraph</groupId>
101             <artifactId>umlgraph</artifactId>
102             <version>5.6</version>
103           </docletArtifact>
104           <additionalparam>-views</additionalparam>
105           <useStandardDocletOptions>true</useStandardDocletOptions>
106         </configuration>
107       </plugin>
108     </plugins>
109   </reporting>
110   <!-- configure build -->
111   <!-- *********************************************************************************************************** -->
112   <!-- Plugins and repositories -->
113   <pluginRepositories>
114     <pluginRepository>
115       <id>central</id>
116       <url>http://repo1.maven.org/maven2</url>
117     </pluginRepository>
118     <pluginRepository>
119       <id>restlet</id>
120       <url>http://maven.restlet.com</url>
121     </pluginRepository>
122     <pluginRepository>
123       <id>ecomp-public</id>
124       <url>${nexusproxy}/${publicNexusPath}</url>
125       <snapshots>
126         <enabled>false</enabled>
127       </snapshots>
128     </pluginRepository>
129     <pluginRepository>
130       <id>ecomp-release</id>
131       <url>${nexusproxy}/${releaseNexusPath}</url>
132       <snapshots>
133         <enabled>false</enabled>
134       </snapshots>
135     </pluginRepository>
136     <pluginRepository>
137       <id>ecomp-snapshots</id>
138       <url>${nexusproxy}/${snapshotNexusPath}</url>
139       <releases>
140         <enabled>false</enabled>
141       </releases>
142     </pluginRepository>
143   </pluginRepositories>
144   <repositories>
145     <repository>
146       <id>ecomp-public</id>
147       <url>https://nexus.onap.org/content/repositories/public/</url>
148       <snapshots>
149         <enabled>false</enabled>
150       </snapshots>
151     </repository>
152     <repository>
153       <id>ecomp-releases</id>
154       <url>https://nexus.onap.org/content/repositories/releases/</url>
155       <snapshots>
156         <enabled>false</enabled>
157       </snapshots>
158     </repository>
159     <repository>
160       <id>ecomp-snapshots</id>
161       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
162       <releases>
163         <enabled>false</enabled>
164       </releases>
165     </repository>
166     <repository>
167       <id>camunda-bpm</id>
168       <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
169     </repository>
170     <repository>
171       <id>camunda-public</id>
172       <url>https://app.camunda.com/nexus/content/groups/public</url>
173     </repository>
174     <repository>
175       <!-- TODO: remove from ONAP environemnt -->
176       <id>onap-releases</id>
177       <url>https://nexus.onap.org/content/repositories/releases/</url>
178       <snapshots>
179         <enabled>false</enabled>
180       </snapshots>
181     </repository>
182     <repository>
183       <!-- TODO: remove from ONAP environemnt -->
184       <id>onap-snapshots</id>
185       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
186       <releases>
187         <enabled>false</enabled>
188       </releases>
189     </repository>
190   </repositories>
191   <!-- *********************************************************************************************************** -->
192   <!-- Build -->
193   <build>
194     <resources>
195       <resource>
196         <directory>src/main/resources</directory>
197         <filtering>true</filtering>
198       </resource>
199       <resource>
200         <directory>target/generated-sources/license</directory>
201         <includes>
202           <include>third-party-licenses.txt</include>
203         </includes>
204       </resource>
205       <resource>
206         <directory>target/generated-resources/licenses</directory>
207         <includes>
208           <include>*.*</include>
209         </includes>
210         <targetPath>third-party-licenses</targetPath>
211       </resource>
212     </resources>
213     <plugins>
214       <!-- <plugin>
215         <groupId>org.sonatype.plugins</groupId>
216         <artifactId>nexus-staging-maven-plugin</artifactId>
217         <version>1.6.7</version>
218         <extensions>true</extensions>
219         <configuration>
220           <nexusUrl>${nexusproxy}</nexusUrl>
221           <stagingProfileId>176c31dfe190a</stagingProfileId>
222           <serverId>ecomp-staging</serverId>
223         </configuration>
224       </plugin> -->
225       <plugin>
226         <groupId>org.apache.maven.plugins</groupId>
227         <artifactId>maven-deploy-plugin</artifactId>
228         <version>2.8</version>
229         <!-- This version supports the "deployAtEnd" parameter -->
230         <configuration>
231           <skip />
232         </configuration>
233       </plugin>
234       <plugin>
235         <groupId>org.apache.maven.plugins</groupId>
236         <artifactId>maven-compiler-plugin</artifactId>
237         <version>3.6.1</version>
238         <configuration>
239           <debug>true</debug>
240           <compilerArgument>-Xlint</compilerArgument>
241           <verbose>true</verbose>
242           <showDeprecation>true</showDeprecation>
243           <showWarnings>true</showWarnings>
244           <source>1.8</source>
245           <target>1.8</target>
246           <compilerArgs>
247             <arg>-parameters</arg>
248           </compilerArgs>
249         </configuration>
250       </plugin>
251       <plugin>
252         <groupId>org.apache.maven.plugins</groupId>
253         <artifactId>maven-ejb-plugin</artifactId>
254         <version>2.2.1</version>
255         <configuration>
256           <ejbVersion>3.0</ejbVersion>
257           <archive>
258             <manifest>
259               <addClasspath>true</addClasspath>
260             </manifest>
261           </archive>
262         </configuration>
263       </plugin>
264       <plugin>
265         <groupId>org.apache.maven.plugins</groupId>
266         <artifactId>maven-checkstyle-plugin</artifactId>
267         <version>2.17</version>
268         <configuration>
269           <skip>true</skip>
270           <includes>**/org/openecomp/**/*.java</includes>
271           <configLocation>/google_checks.xml</configLocation>
272         </configuration>
273       </plugin>
274       <plugin>
275         <groupId>org.codehaus.mojo</groupId>
276         <artifactId>findbugs-maven-plugin</artifactId>
277         <version>2.5.2</version>
278         <configuration>
279           <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
280           <nested>true</nested>
281           <findbugsXmlOutput>true</findbugsXmlOutput>
282           <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
283           <xmlOutput>true</xmlOutput>
284         </configuration>
285       </plugin>
286       <plugin>
287         <groupId>org.codehaus.mojo</groupId>
288         <artifactId>sonar-maven-plugin</artifactId>
289         <version>5.1</version>
290       </plugin>
291       <plugin>
292         <artifactId>maven-scm-plugin</artifactId>
293         <version>1.8.1</version>
294         <configuration>
295           <tag>${project.artifactId}-${project.version}</tag>
296         </configuration>
297       </plugin>
298       <plugin>
299         <groupId>org.apache.maven.plugins</groupId>
300         <artifactId>maven-javadoc-plugin</artifactId>
301         <version>2.9</version>
302       </plugin>
303       <plugin>
304         <groupId>org.apache.maven.plugins</groupId>
305         <artifactId>maven-site-plugin</artifactId>
306         <version>3.6</version>
307         <dependencies>
308           <dependency>
309             <groupId>org.apache.maven.wagon</groupId>
310             <artifactId>wagon-webdav-jackrabbit</artifactId>
311             <version>2.10</version>
312           </dependency>
313         </dependencies>
314       </plugin>
315       <plugin>
316         <groupId>org.codehaus.mojo</groupId>
317         <artifactId>cobertura-maven-plugin</artifactId>
318         <version>2.5.2</version>
319         <configuration>
320           <formats>
321             <format>xml</format>
322           </formats>
323         </configuration>
324       </plugin>
325       <plugin>
326         <groupId>org.codehaus.mojo</groupId>
327         <artifactId>versions-maven-plugin</artifactId>
328         <version>1.3.1</version>
329       </plugin>
330
331       <plugin>
332         <groupId>com.fortify.ps.maven.plugin</groupId>
333         <artifactId>sca-maven-plugin</artifactId>
334         <version>4.20</version>
335         <configuration>
336           <buildId>mso-${project.version}</buildId>
337           <source>1.8</source>
338         </configuration>
339       </plugin>
340       <plugin>
341         <groupId>org.jacoco</groupId>
342         <artifactId>jacoco-maven-plugin</artifactId>
343         <version>${jacoco.version}</version>
344         <executions>
345           <execution>
346             <id>prepare-agent</id>
347             <goals>
348               <goal>prepare-agent</goal>
349             </goals>
350           </execution>
351           <execution>
352             <id>report</id>
353             <goals>
354               <goal>report</goal>
355             </goals>
356             <configuration>
357               <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
358               <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
359             </configuration>
360           </execution>
361         </executions>
362       </plugin>
363       <plugin>
364         <groupId>org.codehaus.mojo</groupId>
365         <artifactId>license-maven-plugin</artifactId>
366         <version>1.15</version>
367         <configuration>
368           <inceptionYear>2017</inceptionYear>
369           <projectName>ONAP - SO</projectName>
370           <licenseName>apache_v2</licenseName>
371           <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
372           <emptyLineAfterHeader>true</emptyLineAfterHeader>
373           <trimHeaderLine>true</trimHeaderLine>
374           <processStartTag>============LICENSE_START=======================================================</processStartTag>
375           <sectionDelimiter>================================================================================</sectionDelimiter>
376           <processEndTag>============LICENSE_END=========================================================</processEndTag>
377           <includes>
378             <include>**/*.java</include>
379             <include>**/*.groovy</include>
380           </includes>
381           <excludes>
382             <exclude>**/com/att/**</exclude>
383           </excludes>
384         </configuration>
385         <executions>
386           <execution>
387             <id>verify-headers</id>
388             <goals>
389               <goal>check-file-header</goal>
390             </goals>
391             <configuration>
392               <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
393               <failOnMissingHeader>true</failOnMissingHeader>
394             </configuration>
395           </execution>
396         </executions>
397       </plugin>
398       <plugin>
399         <groupId>org.codehaus.gmaven</groupId>
400         <artifactId>groovy-maven-plugin</artifactId>
401         <version>2.0</version>
402         <executions>
403           <!-- set absolute base path from super pom -->
404           <execution>
405             <id>find-basepath</id>
406             <phase>validate</phase>
407             <goals>
408               <goal>execute</goal>
409             </goals>
410             <configuration>
411               <source>
412                 <![CDATA[
413                     import java.io.File;
414                     log.info('## define projects super pom absolute path through basepath_marker')
415                     String p = "basepath_marker";
416                     File f = null;
417                     if( p != null ) {
418                         def _max_child_poms = 0
419                         while( _max_child_poms++ < 5 ) {
420                             f = new File( p );
421                             if( f.exists() ) {
422                                 break;
423                             }   
424                             p = "../" + p;
425                         }
426                     }
427                     if( f != null ) {
428                         String basePath = f.getCanonicalPath();
429                         basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) ); 
430                         project.properties['base-path'] = basePath.replace( '\\' , '/');
431                         log.info(' - used base path = ' + project.properties['base-path'] );
432                     } else {
433                         log.error( 'Could not find basepath_marker marker file!' );
434                         System.stop( 0 );
435                     }
436                 ]]>
437               </source>
438             </configuration>
439           </execution>
440         </executions>
441       </plugin>
442       <plugin>
443         <groupId>net.revelc.code.formatter</groupId>
444         <artifactId>formatter-maven-plugin</artifactId>
445         <version>2.9.0</version>
446         <executions>
447           <execution>
448             <id>format-java</id>
449             <goals>
450               <goal>format</goal>
451             </goals>
452             <phase>process-sources</phase>
453             <configuration>
454               <skip>${format.skipExecute}</skip>
455               <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
456             </configuration>
457           </execution>
458           <execution>
459             <id>format-xml</id>
460             <goals>
461               <goal>format</goal>
462             </goals>
463             <phase>process-sources</phase>
464             <configuration>
465               <skip>${format.skipExecute}</skip>
466               <sourceDirectory>${project.basedir}</sourceDirectory>
467               <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
468               <includes>
469                 <include>pom.xml</include>
470               </includes>
471             </configuration>
472           </execution>
473           <execution>
474             <id>validate-java</id>
475             <goals>
476               <goal>validate</goal>
477             </goals>
478             <configuration>
479               <skip>${format.skipValidate}</skip>
480               <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
481             </configuration>
482           </execution>
483           <execution>
484             <id>validate-poms</id>
485             <goals>
486               <goal>validate</goal>
487             </goals>
488             <configuration>
489               <skip>${format.skipValidate}</skip>
490               <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
491               <includes>
492                 <include>pom.xml</include>
493               </includes>
494             </configuration>
495           </execution>
496         </executions>
497         <dependencies>
498           <dependency>
499             <groupId>com.fasterxml.jackson.core</groupId>
500             <artifactId>jackson-annotations</artifactId>
501             <version>2.9.8</version>
502           </dependency>
503         </dependencies>
504       </plugin>
505       <plugin>
506         <groupId>org.apache.maven.plugins</groupId>
507         <artifactId>maven-enforcer-plugin</artifactId>
508         <version>3.0.0-M3</version>
509         <executions>
510           <execution>
511             <id>enforce-property</id>
512             <configuration>
513               <skip>true</skip>
514             </configuration>
515           </execution>
516           <execution>
517             <id>enforce-no-snapshots</id>
518             <configuration>
519               <skip>true</skip>
520             </configuration>
521           </execution>
522           <execution>
523             <id>enforce-banned-dependencies</id>
524             <goals>
525               <goal>enforce</goal>
526             </goals>
527             <configuration>
528               <rules>
529                 <bannedDependencies>
530                   <excludes>
531                     <exclude>org.powermock</exclude>
532                   </excludes>
533                   <searchTransitive>false</searchTransitive>
534                 </bannedDependencies>
535               </rules>
536               <fail>true</fail>
537             </configuration>
538           </execution>
539         </executions>
540       </plugin>
541     </plugins>
542     <pluginManagement>
543       <plugins>
544         <plugin>
545           <groupId>io.fabric8</groupId>
546           <artifactId>fabric8-maven-plugin</artifactId>
547           <version>${io.fabric8.version}</version>
548           <configuration>
549             <skip>${docker.skip}</skip>
550             <skipBuild>${docker.skip.build}</skipBuild>
551             <skipPush>${docker.skip.push}</skipPush>
552             <dockerHost>${docker.newHost}</dockerHost>
553             <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable -->
554             <certPath>${docker.host.cert.path}</certPath>
555             <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command -->
556             <pushRegistry>${dockerPushRepo}</pushRegistry>
557             <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password -->
558             <pullRegistry>${dockerPullRepo}</pullRegistry>
559             <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username, 
560               and password -->
561             <images>
562               <image>
563                 <alias>service</alias>
564                 <name>${project.artifactId}:${project.version}</name>
565                 <build>
566                   <dockerFileDir>${project.build.directory}</dockerFileDir>
567                 </build>
568               </image>
569             </images>
570           </configuration>
571           <executions>
572             <execution>
573               <id>start</id>
574               <goals>
575                 <goal>build</goal>
576                 <goal>push</goal>
577               </goals>
578             </execution>
579           </executions>
580         </plugin>
581         <plugin>
582           <groupId>org.apache.maven.plugins</groupId>
583           <artifactId>maven-surefire-plugin</artifactId>
584           <version>2.20</version>
585           <configuration>
586             <systemPropertyVariables>
587               <so.log.level>DEBUG</so.log.level>
588             </systemPropertyVariables>
589             <rerunFailingTestsCount>2</rerunFailingTestsCount>
590             <parallel>classes</parallel>
591             <useUnlimitedThreads>false</useUnlimitedThreads>
592             <threadCount>1</threadCount>
593           </configuration>
594         </plugin>
595         <plugin>
596           <groupId>org.apache.maven.plugins</groupId>
597           <artifactId>maven-failsafe-plugin</artifactId>
598           <version>2.20</version>
599           <configuration>
600             <skip>true</skip>
601             <systemPropertyVariables>
602               <so.log.level>DEBUG</so.log.level>
603             </systemPropertyVariables>
604             <rerunFailingTestsCount>2</rerunFailingTestsCount>
605           </configuration>
606         </plugin>
607         <plugin>
608           <groupId>org.apache.maven.plugins</groupId>
609           <artifactId>maven-dependency-plugin</artifactId>
610           <executions>
611             <execution>
612               <id>extract-docker-file</id>
613               <goals>
614                 <goal>unpack</goal>
615               </goals>
616               <configuration>
617                 <artifactItems>
618                   <artifactItem>
619                     <groupId>org.onap.so</groupId>
620                     <artifactId>deployment-configs</artifactId>
621                     <version>${project.version}</version>
622                     <outputDirectory>${project.build.directory}</outputDirectory>
623                     <includes>*,scripts/**,certs/**, logger/*.xml</includes>
624                     <excludes>Kubernetes</excludes>
625                   </artifactItem>
626                 </artifactItems>
627               </configuration>
628             </execution>
629           </executions>
630         </plugin>
631         <plugin>
632           <groupId>org.apache.maven.plugins</groupId>
633           <artifactId>maven-jar-plugin</artifactId>
634           <version>3.0.2</version>
635           <executions>
636             <execution>
637               <id>original</id>
638               <phase>package</phase>
639               <goals>
640                 <goal>jar</goal>
641               </goals>
642               <configuration>
643                 <skip>true</skip>
644                 <classifier>${originalClassifier}</classifier>
645                 <includes>
646                   <include>**</include>
647                 </includes>
648               </configuration>
649             </execution>
650           </executions>
651         </plugin>
652         <plugin>
653           <groupId>org.springframework.boot</groupId>
654           <artifactId>spring-boot-maven-plugin</artifactId>
655           <version>${springboot.version}</version>
656           <executions>
657             <execution>
658               <id>build-info</id>
659               <goals>
660                 <goal>build-info</goal>
661               </goals>
662             </execution>
663           </executions>
664         </plugin>
665       </plugins>
666     </pluginManagement>
667   </build>
668   <!-- *********************************************************************************************************** -->
669   <!-- Dependencies -->
670   <dependencies>
671     <dependency>
672       <groupId>org.onap.logging-analytics</groupId>
673       <artifactId>logging-slf4j</artifactId>
674     </dependency>
675     <dependency>
676       <groupId>org.onap.logging-analytics</groupId>
677       <artifactId>logging-filter-base</artifactId>
678     </dependency>
679     <dependency>
680       <groupId>org.onap.logging-analytics</groupId>
681       <artifactId>logging-filter-spring</artifactId>
682     </dependency>
683     <dependency>
684       <groupId>com.fasterxml.jackson.core</groupId>
685       <artifactId>jackson-core</artifactId>
686     </dependency>
687     <dependency>
688       <groupId>com.fasterxml.jackson.module</groupId>
689       <artifactId>jackson-module-jaxb-annotations</artifactId>
690     </dependency>
691     <dependency>
692       <groupId>com.fasterxml.jackson.core</groupId>
693       <artifactId>jackson-databind</artifactId>
694     </dependency>
695     <dependency>
696       <groupId>com.fasterxml.jackson.core</groupId>
697       <artifactId>jackson-annotations</artifactId>
698     </dependency>
699     <dependency>
700       <groupId>com.fasterxml.jackson.jaxrs</groupId>
701       <artifactId>jackson-jaxrs-base</artifactId>
702     </dependency>
703     <dependency>
704       <groupId>com.fasterxml.jackson.jaxrs</groupId>
705       <artifactId>jackson-jaxrs-json-provider</artifactId>
706     </dependency>
707     <dependency>
708       <groupId>javax.ws.rs</groupId>
709       <artifactId>javax.ws.rs-api</artifactId>
710       <version>${jax.ws.rs}</version>
711     </dependency>
712     <dependency>
713       <groupId>javax.annotation</groupId>
714       <artifactId>javax.annotation-api</artifactId>
715       <version>1.3.1</version>
716     </dependency>
717     <dependency>
718       <groupId>javax.inject</groupId>
719       <artifactId>javax.inject</artifactId>
720       <version>1</version>
721     </dependency>
722     <dependency>
723       <groupId>org.mockito</groupId>
724       <artifactId>mockito-core</artifactId>
725     </dependency>
726     <dependency>
727       <groupId>org.hamcrest</groupId>
728       <artifactId>hamcrest-core</artifactId>
729     </dependency>
730     <dependency>
731       <groupId>org.hamcrest</groupId>
732       <artifactId>hamcrest-library</artifactId>
733     </dependency>
734     <dependency>
735       <groupId>junit</groupId>
736       <artifactId>junit</artifactId>
737       <scope>test</scope>
738     </dependency>
739     <dependency>
740       <groupId>xmlunit</groupId>
741       <artifactId>xmlunit</artifactId>
742       <version>1.6</version>
743       <scope>test</scope>
744     </dependency>
745     <dependency>
746       <groupId>com.github.tomakehurst</groupId>
747       <artifactId>wiremock-standalone</artifactId>
748       <version>2.13.0</version>
749       <scope>test</scope>
750       <exclusions>
751         <exclusion>
752           <groupId>org.mortbay.jetty</groupId>
753           <artifactId>jetty</artifactId>
754         </exclusion>
755         <exclusion>
756           <groupId>com.google.guava</groupId>
757           <artifactId>guava</artifactId>
758         </exclusion>
759         <exclusion>
760           <groupId>com.fasterxml.jackson.core</groupId>
761           <artifactId>jackson-core</artifactId>
762         </exclusion>
763         <exclusion>
764           <groupId>com.fasterxml.jackson.core</groupId>
765           <artifactId>jackson-annotations</artifactId>
766         </exclusion>
767         <exclusion>
768           <groupId>com.fasterxml.jackson.core</groupId>
769           <artifactId>jackson-databind</artifactId>
770         </exclusion>
771         <exclusion>
772           <groupId>org.apache.httpcomponents</groupId>
773           <artifactId>httpclient</artifactId>
774         </exclusion>
775         <exclusion>
776           <groupId>org.skyscreamer</groupId>
777           <artifactId>jsonassert</artifactId>
778         </exclusion>
779         <exclusion>
780           <groupId>xmlunit</groupId>
781           <artifactId>xmlunit</artifactId>
782         </exclusion>
783         <exclusion>
784           <groupId>com.jayway.jsonpath</groupId>
785           <artifactId>json-path</artifactId>
786         </exclusion>
787         <exclusion>
788           <groupId>net.sf.jopt-simple</groupId>
789           <artifactId>jopt-simple</artifactId>
790         </exclusion>
791       </exclusions>
792     </dependency>
793     <dependency>
794       <groupId>com.openpojo</groupId>
795       <artifactId>openpojo</artifactId>
796       <version>0.8.10</version>
797     </dependency>
798     <dependency>
799       <groupId>com.shazam</groupId>
800       <artifactId>shazamcrest</artifactId>
801       <version>0.11</version>
802       <scope>test</scope>
803       <exclusions>
804         <exclusion>
805           <groupId>com.google.guava</groupId>
806           <artifactId>guava</artifactId>
807         </exclusion>
808         <exclusion>
809           <groupId>org.apache.commons</groupId>
810           <artifactId>commons-lang3</artifactId>
811         </exclusion>
812       </exclusions>
813     </dependency>
814     <dependency>
815       <groupId>org.assertj</groupId>
816       <artifactId>assertj-core</artifactId>
817       <version>3.11.1</version>
818       <scope>test</scope>
819     </dependency>
820     <dependency>
821       <groupId>com.googlecode.junit-toolbox</groupId>
822       <artifactId>junit-toolbox</artifactId>
823       <version>2.4</version>
824     </dependency>
825   </dependencies>
826   <dependencyManagement>
827     <dependencies>
828       <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
829       <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
830       <dependency>
831         <groupId>org.onap.logging-analytics</groupId>
832         <artifactId>logging-slf4j</artifactId>
833         <version>1.6.6</version>
834       </dependency>
835       <dependency>
836         <groupId>org.onap.logging-analytics</groupId>
837         <artifactId>logging-filter-base</artifactId>
838         <version>1.6.6</version>
839       </dependency>
840       <dependency>
841         <groupId>org.onap.logging-analytics</groupId>
842         <artifactId>logging-filter-spring</artifactId>
843         <version>1.6.6</version>
844       </dependency>
845       <dependency>
846         <groupId>org.apache.httpcomponents</groupId>
847         <artifactId>httpcore</artifactId>
848         <version>4.4.4</version>
849         <scope>compile</scope>
850       </dependency>
851       <dependency>
852         <groupId>commons-codec</groupId>
853         <artifactId>commons-codec</artifactId>
854         <version>1.12</version>
855         <scope>compile</scope>
856       </dependency>
857       <dependency>
858         <groupId>commons-io</groupId>
859         <artifactId>commons-io</artifactId>
860         <version>2.5</version>
861         <scope>compile</scope>
862       </dependency>
863       <dependency>
864         <groupId>com.sun.xml.fastinfoset</groupId>
865         <artifactId>FastInfoset</artifactId>
866         <version>1.2.13</version>
867         <scope>compile</scope>
868       </dependency>
869       <dependency>
870         <groupId>org.springframework.boot</groupId>
871         <artifactId>spring-boot-dependencies</artifactId>
872         <version>${springboot.version}</version>
873         <type>pom</type>
874         <scope>import</scope>
875       </dependency>
876       <dependency>
877         <groupId>org.yaml</groupId>
878         <artifactId>snakeyaml</artifactId>
879         <version>1.23</version>
880       </dependency>
881       <dependency>
882         <groupId>javax.interceptor</groupId>
883         <artifactId>javax.interceptor-api</artifactId>
884         <version>1.2.2</version>
885       </dependency>
886       <dependency>
887         <groupId>org.springframework.boot</groupId>
888         <artifactId>spring-boot-starter-test</artifactId>
889         <version>${springboot.version}</version>
890         <exclusions>
891           <exclusion>
892             <groupId>com.vaadin.external.google</groupId>
893             <artifactId>android-json</artifactId>
894           </exclusion>
895         </exclusions>
896       </dependency>
897       <dependency>
898         <groupId>net.javacrumbs.shedlock</groupId>
899         <artifactId>shedlock-spring</artifactId>
900         <version>4.0.0</version>
901       </dependency>
902       <dependency>
903         <groupId>net.javacrumbs.shedlock</groupId>
904         <artifactId>shedlock-provider-jdbc-template</artifactId>
905         <version>4.0.0</version>
906       </dependency>
907       <dependency>
908         <groupId>org.flywaydb</groupId>
909         <artifactId>flyway-core</artifactId>
910         <version>5.2.4</version>
911       </dependency>
912       <dependency>
913         <groupId>org.json</groupId>
914         <artifactId>json</artifactId>
915         <version>20140107</version>
916       </dependency>
917     </dependencies>
918   </dependencyManagement>
919   <profiles>
920     <profile>
921       <id>docker-image-build</id>
922       <properties>
923         <docker.skip>false</docker.skip>
924         <docker.skip.build>false</docker.skip.build>
925         <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
926       </properties>
927     </profile>
928     <profile>
929       <id>docker-image-build-push</id>
930       <properties>
931         <docker.skip>false</docker.skip>
932         <docker.skip.build>false</docker.skip.build>
933         <docker.skip.push>false</docker.skip.push>
934         <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
935       </properties>
936     </profile>
937     <profile>
938       <id>format</id>
939       <properties>
940         <format.skipValidate>true</format.skipValidate>
941         <format.skipExecute>false</format.skipExecute>
942       </properties>
943     </profile>
944     <profile>
945       <id>m2e</id>
946       <activation>
947         <property>
948           <name>m2e.version</name>
949         </property>
950       </activation>
951       <properties>
952         <originalClassifier />
953       </properties>
954     </profile>
955   </profiles>
956 </project>