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