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