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