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