blob: 2fed5a85f175179f3d883684aae370c93fae46fc [file] [log] [blame]
Michal Jagiello8ac3e422020-05-28 10:49:20 +00001<?xml version="1.0" ?>
MukeshKumar1d9546b2020-08-11 09:55:46 +01002<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">
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04004 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
seshukm2bcad1c2019-11-02 12:54:19 +05308 <version>2.1.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04009 <relativePath />
10 </parent>
11 <groupId>org.onap.so</groupId>
12 <artifactId>so</artifactId>
13 <packaging>pom</packaging>
seshukmadbd1c42020-08-03 19:23:51 +053014 <version>1.7.1-SNAPSHOT</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040015 <name>so</name>
16 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
ChrisC025301d2017-01-31 11:40:03 +010017 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>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040020 <organization>
21 <name>ONAP - SO</name>
22 <url>http://www.onap.org/</url>
zm330d05adce2020-05-14 11:36:14 +080023 </organization>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040024 <modules>
25 <module>deployment-configs</module>
26 <module>common</module>
Benjamin, Max4f774ee2020-04-28 15:13:12 -040027 <module>graph-inventory</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040028 <module>mso-catalog-db</module>
29 <module>mso-api-handlers</module>
30 <module>adapters</module>
31 <module>asdc-controller</module>
Boslet, Coryb7c956f2020-07-06 09:58:17 -040032 <module>so-optimization-clients</module>
Boslet, Coryda366372020-07-07 11:46:43 -040033 <module>so-sdn-clients</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040034 <module>bpmn</module>
35 <module>cloudify-client</module>
36 <module>cxf-logging</module>
37 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040038 <module>so-simulator</module>
MukeshKumar1d9546b2020-08-11 09:55:46 +010039 <module>so-etsi-nfvo</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010040 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040041 </modules>
42 <properties>
43 <project.mso.base.folder>.</project.mso.base.folder>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
46 <sonar.language>java</sonar.language>
arun chapagain258be882020-08-06 15:44:12 +053047 <java.version>11</java.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040048 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
49 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000050 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040051 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
52 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
53 <sonar.projectVersion>${project.version}</sonar.projectVersion>
54 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000055 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040056 <org.apache.maven.user-settings />
mukesh.paliwal1@huawei.com78d36ba2020-08-18 11:46:39 +053057 <openstack.version>1.7.1</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040058 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
59 <originalClassifier>original</originalClassifier>
60 <docker.skip>true</docker.skip>
61 <docker.skip.build>true</docker.skip.build>
62 <docker.skip.push>true</docker.skip.push>
63 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
64 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
65 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050066 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040067 <nexusproxy>https://nexus.onap.org</nexusproxy>
68 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
69 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
70 <publicNexusPath>content/repositories/public/</publicNexusPath>
71 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
Benjamin, Max9868f172020-05-18 16:37:51 -040072 <cxf.version>3.3.3</cxf.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040073 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050074 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040075 <camunda.springboot.version>3.2.0</camunda.springboot.version>
76 <format.skipValidate>false</format.skipValidate>
77 <format.skipExecute>true</format.skipExecute>
Benjamin, Max5f57d092020-05-13 17:48:03 -040078 <io.fabric8.version>0.33.0</io.fabric8.version>
arun chapagain7ac8b942020-08-10 15:28:02 +053079 <appc.client.version>1.7.2</appc.client.version>
Benjamin, Max9868f172020-05-18 16:37:51 -040080 <bowman.client.version>0.8.0</bowman.client.version>
81 <aaf.cadi.version>2.1.15</aaf.cadi.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040082 </properties>
83 <distributionManagement>
84 <repository>
85 <id>ecomp-releases</id>
86 <url>${nexusproxy}/${releaseNexusPath}</url>
87 </repository>
88 <snapshotRepository>
89 <id>ecomp-snapshots</id>
90 <url>${nexusproxy}/${snapshotNexusPath}</url>
91 </snapshotRepository>
92 <site>
93 <id>ecomp-site</id>
94 <url>dav:${nexusproxy}${siteNexusPath}</url>
95 </site>
96 </distributionManagement>
97 <reporting>
98 <plugins>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-javadoc-plugin</artifactId>
102 <version>2.10.4</version>
103 <configuration>
104 <failOnError>false</failOnError>
105 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
106 <docletArtifact>
107 <groupId>org.umlgraph</groupId>
108 <artifactId>umlgraph</artifactId>
109 <version>5.6</version>
110 </docletArtifact>
111 <additionalparam>-views</additionalparam>
112 <useStandardDocletOptions>true</useStandardDocletOptions>
113 </configuration>
114 </plugin>
115 </plugins>
116 </reporting>
117 <!-- configure build -->
118 <!-- *********************************************************************************************************** -->
119 <!-- Plugins and repositories -->
120 <pluginRepositories>
121 <pluginRepository>
122 <id>central</id>
123 <url>http://repo1.maven.org/maven2</url>
124 </pluginRepository>
125 <pluginRepository>
126 <id>restlet</id>
127 <url>http://maven.restlet.com</url>
128 </pluginRepository>
129 <pluginRepository>
130 <id>ecomp-public</id>
131 <url>${nexusproxy}/${publicNexusPath}</url>
132 <snapshots>
133 <enabled>false</enabled>
134 </snapshots>
135 </pluginRepository>
136 <pluginRepository>
137 <id>ecomp-release</id>
138 <url>${nexusproxy}/${releaseNexusPath}</url>
139 <snapshots>
140 <enabled>false</enabled>
141 </snapshots>
142 </pluginRepository>
143 <pluginRepository>
144 <id>ecomp-snapshots</id>
145 <url>${nexusproxy}/${snapshotNexusPath}</url>
146 <releases>
147 <enabled>false</enabled>
148 </releases>
149 </pluginRepository>
150 </pluginRepositories>
151 <repositories>
152 <repository>
153 <id>ecomp-public</id>
154 <url>https://nexus.onap.org/content/repositories/public/</url>
155 <snapshots>
156 <enabled>false</enabled>
157 </snapshots>
158 </repository>
159 <repository>
160 <id>ecomp-releases</id>
161 <url>https://nexus.onap.org/content/repositories/releases/</url>
162 <snapshots>
163 <enabled>false</enabled>
164 </snapshots>
165 </repository>
166 <repository>
167 <id>ecomp-snapshots</id>
168 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
169 <releases>
170 <enabled>false</enabled>
171 </releases>
172 </repository>
173 <repository>
174 <id>camunda-bpm</id>
175 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
176 </repository>
177 <repository>
178 <id>camunda-public</id>
179 <url>https://app.camunda.com/nexus/content/groups/public</url>
180 </repository>
181 <repository>
182 <!-- TODO: remove from ONAP environemnt -->
183 <id>onap-releases</id>
184 <url>https://nexus.onap.org/content/repositories/releases/</url>
185 <snapshots>
186 <enabled>false</enabled>
187 </snapshots>
188 </repository>
189 <repository>
190 <!-- TODO: remove from ONAP environemnt -->
191 <id>onap-snapshots</id>
192 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
193 <releases>
194 <enabled>false</enabled>
195 </releases>
196 </repository>
197 </repositories>
198 <!-- *********************************************************************************************************** -->
199 <!-- Build -->
200 <build>
201 <resources>
202 <resource>
203 <directory>src/main/resources</directory>
204 <filtering>true</filtering>
205 </resource>
206 <resource>
207 <directory>target/generated-sources/license</directory>
208 <includes>
209 <include>third-party-licenses.txt</include>
210 </includes>
211 </resource>
212 <resource>
213 <directory>target/generated-resources/licenses</directory>
214 <includes>
215 <include>*.*</include>
216 </includes>
217 <targetPath>third-party-licenses</targetPath>
218 </resource>
219 </resources>
220 <plugins>
Benjamin, Max9868f172020-05-18 16:37:51 -0400221 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
222 <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl>
223 <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId>
224 </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400225 <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400228 <version>2.8</version>
229 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400230 <configuration>
231 <skip />
232 </configuration>
233 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-compiler-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400237 <version>3.8.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400238 <configuration>
239 <debug>true</debug>
240 <compilerArgument>-Xlint</compilerArgument>
241 <verbose>true</verbose>
242 <showDeprecation>true</showDeprecation>
243 <showWarnings>true</showWarnings>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400244 <compilerArgs>
245 <arg>-parameters</arg>
246 </compilerArgs>
Benjamin, Maxa5de2db2020-08-07 11:36:18 -0400247 <forceJavacCompilerUse>true</forceJavacCompilerUse>
248 <source>11</source>
249 <target>11</target>
250 <release>11</release>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400251 </configuration>
252 </plugin>
253 <plugin>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-ejb-plugin</artifactId>
256 <version>2.2.1</version>
257 <configuration>
258 <ejbVersion>3.0</ejbVersion>
259 <archive>
260 <manifest>
261 <addClasspath>true</addClasspath>
262 </manifest>
263 </archive>
264 </configuration>
265 </plugin>
266 <plugin>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-checkstyle-plugin</artifactId>
269 <version>2.17</version>
270 <configuration>
271 <skip>true</skip>
272 <includes>**/org/openecomp/**/*.java</includes>
273 <configLocation>/google_checks.xml</configLocation>
274 </configuration>
275 </plugin>
276 <plugin>
277 <groupId>org.codehaus.mojo</groupId>
278 <artifactId>findbugs-maven-plugin</artifactId>
279 <version>2.5.2</version>
280 <configuration>
281 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
282 <nested>true</nested>
283 <findbugsXmlOutput>true</findbugsXmlOutput>
284 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
285 <xmlOutput>true</xmlOutput>
286 </configuration>
287 </plugin>
288 <plugin>
289 <groupId>org.codehaus.mojo</groupId>
290 <artifactId>sonar-maven-plugin</artifactId>
291 <version>5.1</version>
292 </plugin>
293 <plugin>
294 <artifactId>maven-scm-plugin</artifactId>
295 <version>1.8.1</version>
296 <configuration>
297 <tag>${project.artifactId}-${project.version}</tag>
298 </configuration>
299 </plugin>
300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-javadoc-plugin</artifactId>
303 <version>2.9</version>
304 </plugin>
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-site-plugin</artifactId>
308 <version>3.6</version>
309 <dependencies>
310 <dependency>
311 <groupId>org.apache.maven.wagon</groupId>
312 <artifactId>wagon-webdav-jackrabbit</artifactId>
313 <version>2.10</version>
314 </dependency>
315 </dependencies>
316 </plugin>
317 <plugin>
318 <groupId>org.codehaus.mojo</groupId>
319 <artifactId>cobertura-maven-plugin</artifactId>
320 <version>2.5.2</version>
321 <configuration>
322 <formats>
323 <format>xml</format>
324 </formats>
325 </configuration>
326 </plugin>
327 <plugin>
328 <groupId>org.codehaus.mojo</groupId>
329 <artifactId>versions-maven-plugin</artifactId>
330 <version>1.3.1</version>
331 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400332
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400333 <plugin>
334 <groupId>com.fortify.ps.maven.plugin</groupId>
335 <artifactId>sca-maven-plugin</artifactId>
336 <version>4.20</version>
337 <configuration>
338 <buildId>mso-${project.version}</buildId>
arun chapagain258be882020-08-06 15:44:12 +0530339 <source>${java.version}</source>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400340 </configuration>
341 </plugin>
342 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400343 <groupId>org.jacoco</groupId>
344 <artifactId>jacoco-maven-plugin</artifactId>
345 <version>${jacoco.version}</version>
346 <executions>
347 <execution>
348 <id>prepare-agent</id>
349 <goals>
350 <goal>prepare-agent</goal>
351 </goals>
352 </execution>
353 <execution>
354 <id>report</id>
355 <goals>
356 <goal>report</goal>
357 </goals>
358 <configuration>
359 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
360 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
361 </configuration>
362 </execution>
363 </executions>
364 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400365 <plugin>
366 <groupId>org.codehaus.mojo</groupId>
367 <artifactId>license-maven-plugin</artifactId>
368 <version>1.15</version>
369 <configuration>
370 <inceptionYear>2017</inceptionYear>
371 <projectName>ONAP - SO</projectName>
372 <licenseName>apache_v2</licenseName>
373 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
374 <emptyLineAfterHeader>true</emptyLineAfterHeader>
375 <trimHeaderLine>true</trimHeaderLine>
376 <processStartTag>============LICENSE_START=======================================================</processStartTag>
377 <sectionDelimiter>================================================================================</sectionDelimiter>
378 <processEndTag>============LICENSE_END=========================================================</processEndTag>
379 <includes>
380 <include>**/*.java</include>
381 <include>**/*.groovy</include>
382 </includes>
383 <excludes>
384 <exclude>**/com/att/**</exclude>
385 </excludes>
386 </configuration>
387 <executions>
388 <execution>
389 <id>verify-headers</id>
390 <goals>
391 <goal>check-file-header</goal>
392 </goals>
393 <configuration>
394 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
395 <failOnMissingHeader>true</failOnMissingHeader>
396 </configuration>
397 </execution>
398 </executions>
399 </plugin>
400 <plugin>
401 <groupId>org.codehaus.gmaven</groupId>
402 <artifactId>groovy-maven-plugin</artifactId>
403 <version>2.0</version>
404 <executions>
405 <!-- set absolute base path from super pom -->
406 <execution>
407 <id>find-basepath</id>
408 <phase>validate</phase>
409 <goals>
410 <goal>execute</goal>
411 </goals>
412 <configuration>
413 <source>
414 <![CDATA[
415 import java.io.File;
416 log.info('## define projects super pom absolute path through basepath_marker')
417 String p = "basepath_marker";
418 File f = null;
419 if( p != null ) {
420 def _max_child_poms = 0
421 while( _max_child_poms++ < 5 ) {
422 f = new File( p );
423 if( f.exists() ) {
424 break;
425 }
426 p = "../" + p;
427 }
428 }
429 if( f != null ) {
430 String basePath = f.getCanonicalPath();
431 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
432 project.properties['base-path'] = basePath.replace( '\\' , '/');
433 log.info(' - used base path = ' + project.properties['base-path'] );
434 } else {
435 log.error( 'Could not find basepath_marker marker file!' );
436 System.stop( 0 );
437 }
438 ]]>
439 </source>
440 </configuration>
441 </execution>
442 </executions>
443 </plugin>
444 <plugin>
445 <groupId>net.revelc.code.formatter</groupId>
446 <artifactId>formatter-maven-plugin</artifactId>
447 <version>2.9.0</version>
448 <executions>
449 <execution>
450 <id>format-java</id>
451 <goals>
452 <goal>format</goal>
453 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530454 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400455 <configuration>
456 <skip>${format.skipExecute}</skip>
457 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
458 </configuration>
459 </execution>
460 <execution>
461 <id>format-xml</id>
462 <goals>
463 <goal>format</goal>
464 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530465 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400466 <configuration>
467 <skip>${format.skipExecute}</skip>
468 <sourceDirectory>${project.basedir}</sourceDirectory>
469 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
470 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400471 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400472 </includes>
473 </configuration>
474 </execution>
475 <execution>
476 <id>validate-java</id>
477 <goals>
478 <goal>validate</goal>
479 </goals>
480 <configuration>
481 <skip>${format.skipValidate}</skip>
482 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
483 </configuration>
484 </execution>
485 <execution>
486 <id>validate-poms</id>
487 <goals>
488 <goal>validate</goal>
489 </goals>
490 <configuration>
491 <skip>${format.skipValidate}</skip>
492 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400493 <includes>
494 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400495 </includes>
496 </configuration>
497 </execution>
498 </executions>
499 <dependencies>
500 <dependency>
501 <groupId>com.fasterxml.jackson.core</groupId>
502 <artifactId>jackson-annotations</artifactId>
503 <version>2.9.8</version>
504 </dependency>
505 </dependencies>
506 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500507 <plugin>
508 <groupId>org.apache.maven.plugins</groupId>
509 <artifactId>maven-enforcer-plugin</artifactId>
510 <version>3.0.0-M3</version>
511 <executions>
512 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100513 <id>enforce-property</id>
514 <configuration>
515 <skip>true</skip>
516 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500517 </execution>
518 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100519 <id>enforce-no-snapshots</id>
520 <configuration>
521 <skip>true</skip>
522 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500523 </execution>
524 <execution>
525 <id>enforce-banned-dependencies</id>
526 <goals>
527 <goal>enforce</goal>
528 </goals>
529 <configuration>
530 <rules>
531 <bannedDependencies>
532 <excludes>
533 <exclude>org.powermock</exclude>
534 </excludes>
535 <searchTransitive>false</searchTransitive>
536 </bannedDependencies>
537 </rules>
538 <fail>true</fail>
539 </configuration>
540 </execution>
541 </executions>
542 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400543 </plugins>
544 <pluginManagement>
545 <plugins>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400546 <plugin>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400547 <groupId>org.eclipse.m2e</groupId>
548 <artifactId>lifecycle-mapping</artifactId>
549 <version>1.0.0</version>
550 <configuration>
551 <lifecycleMappingMetadata>
552 <pluginExecutions>
553 <pluginExecution>
554 <pluginExecutionFilter>
555 <groupId>org.apache.maven.plugins</groupId>
556 <artifactId>maven-checkstyle-plugin</artifactId>
557 <versionRange>[1.0.0,)</versionRange>
558 <goals>
559 <goal>check</goal>
560 </goals>
561 </pluginExecutionFilter>
562 <action>
563 <execute />
564 </action>
565 </pluginExecution>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400566 <pluginExecution>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400567 <pluginExecutionFilter>
568 <groupId>org.codehaus.gmaven</groupId>
569 <artifactId>groovy-maven-plugin</artifactId>
570 <versionRange>[1.0.0,)</versionRange>
571 <goals>
572 <goal>execute</goal>
573 </goals>
574 </pluginExecutionFilter>
575 <action>
576 <execute />
577 </action>
578 </pluginExecution>
579 </pluginExecutions>
580 </lifecycleMappingMetadata>
581 </configuration>
582 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400583 <plugin>
584 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400585 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400586 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400587 <configuration>
588 <skip>${docker.skip}</skip>
589 <skipBuild>${docker.skip.build}</skipBuild>
590 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400591 <dockerHost>${docker.newHost}</dockerHost>
Benjamin, Max9868f172020-05-18 16:37:51 -0400592 <!-- 1. Update address to your local docker VM. 2. Add IP to
593 your NO_PROXY environment variable -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400594 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max9868f172020-05-18 16:37:51 -0400595 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
596 to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400597 <pushRegistry>${dockerPushRepo}</pushRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400598 <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
599 username, and password -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400600 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400601 <!-- If docker repo is not public. Update .m2/settings.xml Add
602 server id settings.dockerRepository, username, and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400603 <images>
604 <image>
605 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100606 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400607 <build>
608 <dockerFileDir>${project.build.directory}</dockerFileDir>
609 </build>
610 </image>
611 </images>
612 </configuration>
613 <executions>
614 <execution>
615 <id>start</id>
616 <goals>
617 <goal>build</goal>
618 <goal>push</goal>
619 </goals>
620 </execution>
621 </executions>
622 </plugin>
623 <plugin>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400626 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400627 <configuration>
628 <systemPropertyVariables>
629 <so.log.level>DEBUG</so.log.level>
630 </systemPropertyVariables>
631 <rerunFailingTestsCount>2</rerunFailingTestsCount>
632 <parallel>classes</parallel>
633 <useUnlimitedThreads>false</useUnlimitedThreads>
634 <threadCount>1</threadCount>
635 </configuration>
636 </plugin>
637 <plugin>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-failsafe-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400640 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400641 <configuration>
642 <skip>true</skip>
643 <systemPropertyVariables>
644 <so.log.level>DEBUG</so.log.level>
645 </systemPropertyVariables>
646 <rerunFailingTestsCount>2</rerunFailingTestsCount>
647 </configuration>
648 </plugin>
649 <plugin>
650 <groupId>org.apache.maven.plugins</groupId>
651 <artifactId>maven-dependency-plugin</artifactId>
652 <executions>
653 <execution>
654 <id>extract-docker-file</id>
655 <goals>
656 <goal>unpack</goal>
657 </goals>
658 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400659 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400660 <artifactItems>
661 <artifactItem>
662 <groupId>org.onap.so</groupId>
663 <artifactId>deployment-configs</artifactId>
664 <version>${project.version}</version>
665 <outputDirectory>${project.build.directory}</outputDirectory>
666 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
667 <excludes>Kubernetes</excludes>
668 </artifactItem>
669 </artifactItems>
670 </configuration>
671 </execution>
672 </executions>
673 </plugin>
674 <plugin>
675 <groupId>org.apache.maven.plugins</groupId>
676 <artifactId>maven-jar-plugin</artifactId>
677 <version>3.0.2</version>
678 <executions>
679 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400680 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400681 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400682 <goals>
683 <goal>jar</goal>
684 </goals>
685 <configuration>
686 <classifier>${originalClassifier}</classifier>
687 <includes>
688 <include>**</include>
689 </includes>
690 </configuration>
691 </execution>
692 </executions>
693 </plugin>
694 <plugin>
695 <groupId>org.springframework.boot</groupId>
696 <artifactId>spring-boot-maven-plugin</artifactId>
697 <version>${springboot.version}</version>
698 <executions>
699 <execution>
700 <id>build-info</id>
701 <goals>
702 <goal>build-info</goal>
703 </goals>
704 </execution>
705 </executions>
706 </plugin>
707 </plugins>
708 </pluginManagement>
709 </build>
710 <!-- *********************************************************************************************************** -->
711 <!-- Dependencies -->
712 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400713 <dependency>
714 <groupId>org.onap.logging-analytics</groupId>
715 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400716 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400717 <dependency>
718 <groupId>org.onap.logging-analytics</groupId>
719 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400720 </dependency>
721 <dependency>
722 <groupId>org.onap.logging-analytics</groupId>
723 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400724 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400725 <dependency>
726 <groupId>com.fasterxml.jackson.core</groupId>
727 <artifactId>jackson-core</artifactId>
728 </dependency>
729 <dependency>
730 <groupId>com.fasterxml.jackson.module</groupId>
731 <artifactId>jackson-module-jaxb-annotations</artifactId>
732 </dependency>
733 <dependency>
734 <groupId>com.fasterxml.jackson.core</groupId>
735 <artifactId>jackson-databind</artifactId>
736 </dependency>
737 <dependency>
738 <groupId>com.fasterxml.jackson.core</groupId>
739 <artifactId>jackson-annotations</artifactId>
740 </dependency>
741 <dependency>
742 <groupId>com.fasterxml.jackson.jaxrs</groupId>
743 <artifactId>jackson-jaxrs-base</artifactId>
744 </dependency>
745 <dependency>
746 <groupId>com.fasterxml.jackson.jaxrs</groupId>
747 <artifactId>jackson-jaxrs-json-provider</artifactId>
748 </dependency>
749 <dependency>
750 <groupId>javax.ws.rs</groupId>
751 <artifactId>javax.ws.rs-api</artifactId>
752 <version>${jax.ws.rs}</version>
753 </dependency>
754 <dependency>
755 <groupId>javax.annotation</groupId>
756 <artifactId>javax.annotation-api</artifactId>
757 <version>1.3.1</version>
758 </dependency>
759 <dependency>
760 <groupId>javax.inject</groupId>
761 <artifactId>javax.inject</artifactId>
762 <version>1</version>
763 </dependency>
764 <dependency>
765 <groupId>org.mockito</groupId>
766 <artifactId>mockito-core</artifactId>
767 </dependency>
768 <dependency>
769 <groupId>org.hamcrest</groupId>
770 <artifactId>hamcrest-core</artifactId>
771 </dependency>
772 <dependency>
773 <groupId>org.hamcrest</groupId>
774 <artifactId>hamcrest-library</artifactId>
775 </dependency>
776 <dependency>
777 <groupId>junit</groupId>
778 <artifactId>junit</artifactId>
779 <scope>test</scope>
780 </dependency>
781 <dependency>
782 <groupId>xmlunit</groupId>
783 <artifactId>xmlunit</artifactId>
784 <version>1.6</version>
785 <scope>test</scope>
786 </dependency>
787 <dependency>
788 <groupId>com.github.tomakehurst</groupId>
789 <artifactId>wiremock-standalone</artifactId>
790 <version>2.13.0</version>
791 <scope>test</scope>
792 <exclusions>
793 <exclusion>
794 <groupId>org.mortbay.jetty</groupId>
795 <artifactId>jetty</artifactId>
796 </exclusion>
797 <exclusion>
798 <groupId>com.google.guava</groupId>
799 <artifactId>guava</artifactId>
800 </exclusion>
801 <exclusion>
802 <groupId>com.fasterxml.jackson.core</groupId>
803 <artifactId>jackson-core</artifactId>
804 </exclusion>
805 <exclusion>
806 <groupId>com.fasterxml.jackson.core</groupId>
807 <artifactId>jackson-annotations</artifactId>
808 </exclusion>
809 <exclusion>
810 <groupId>com.fasterxml.jackson.core</groupId>
811 <artifactId>jackson-databind</artifactId>
812 </exclusion>
813 <exclusion>
814 <groupId>org.apache.httpcomponents</groupId>
815 <artifactId>httpclient</artifactId>
816 </exclusion>
817 <exclusion>
818 <groupId>org.skyscreamer</groupId>
819 <artifactId>jsonassert</artifactId>
820 </exclusion>
821 <exclusion>
822 <groupId>xmlunit</groupId>
823 <artifactId>xmlunit</artifactId>
824 </exclusion>
825 <exclusion>
826 <groupId>com.jayway.jsonpath</groupId>
827 <artifactId>json-path</artifactId>
828 </exclusion>
829 <exclusion>
830 <groupId>net.sf.jopt-simple</groupId>
831 <artifactId>jopt-simple</artifactId>
832 </exclusion>
833 </exclusions>
834 </dependency>
835 <dependency>
836 <groupId>com.openpojo</groupId>
837 <artifactId>openpojo</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400838 <version>0.8.13</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400839 </dependency>
840 <dependency>
841 <groupId>com.shazam</groupId>
842 <artifactId>shazamcrest</artifactId>
843 <version>0.11</version>
844 <scope>test</scope>
845 <exclusions>
846 <exclusion>
847 <groupId>com.google.guava</groupId>
848 <artifactId>guava</artifactId>
849 </exclusion>
850 <exclusion>
851 <groupId>org.apache.commons</groupId>
852 <artifactId>commons-lang3</artifactId>
853 </exclusion>
854 </exclusions>
855 </dependency>
856 <dependency>
857 <groupId>org.assertj</groupId>
858 <artifactId>assertj-core</artifactId>
859 <version>3.11.1</version>
860 <scope>test</scope>
861 </dependency>
862 <dependency>
Benjamin, Max9868f172020-05-18 16:37:51 -0400863 <groupId>org.ow2.asm</groupId>
864 <artifactId>asm</artifactId>
865 <version>7.0</version>
866 <scope>test</scope>
867 </dependency>
868 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400869 <groupId>com.googlecode.junit-toolbox</groupId>
870 <artifactId>junit-toolbox</artifactId>
871 <version>2.4</version>
872 </dependency>
873 </dependencies>
874 <dependencyManagement>
875 <dependencies>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400876 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400877 <groupId>org.onap.logging-analytics</groupId>
878 <artifactId>logging-slf4j</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200879 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400880 </dependency>
881 <dependency>
882 <groupId>org.onap.logging-analytics</groupId>
883 <artifactId>logging-filter-base</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200884 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400885 </dependency>
886 <dependency>
887 <groupId>org.onap.logging-analytics</groupId>
888 <artifactId>logging-filter-spring</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200889 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400890 </dependency>
891 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400892 <groupId>org.apache.httpcomponents</groupId>
893 <artifactId>httpcore</artifactId>
894 <version>4.4.4</version>
895 <scope>compile</scope>
896 </dependency>
897 <dependency>
898 <groupId>commons-codec</groupId>
899 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400900 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400901 <scope>compile</scope>
902 </dependency>
903 <dependency>
904 <groupId>commons-io</groupId>
905 <artifactId>commons-io</artifactId>
906 <version>2.5</version>
907 <scope>compile</scope>
908 </dependency>
909 <dependency>
910 <groupId>com.sun.xml.fastinfoset</groupId>
911 <artifactId>FastInfoset</artifactId>
912 <version>1.2.13</version>
913 <scope>compile</scope>
914 </dependency>
915 <dependency>
916 <groupId>org.springframework.boot</groupId>
917 <artifactId>spring-boot-dependencies</artifactId>
918 <version>${springboot.version}</version>
919 <type>pom</type>
920 <scope>import</scope>
921 </dependency>
922 <dependency>
923 <groupId>org.yaml</groupId>
924 <artifactId>snakeyaml</artifactId>
deepikasatheeshf70e8de2020-07-29 22:53:54 -0700925 <version>1.26</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400926 </dependency>
927 <dependency>
928 <groupId>javax.interceptor</groupId>
929 <artifactId>javax.interceptor-api</artifactId>
930 <version>1.2.2</version>
931 </dependency>
932 <dependency>
933 <groupId>org.springframework.boot</groupId>
934 <artifactId>spring-boot-starter-test</artifactId>
935 <version>${springboot.version}</version>
936 <exclusions>
937 <exclusion>
938 <groupId>com.vaadin.external.google</groupId>
939 <artifactId>android-json</artifactId>
940 </exclusion>
941 </exclusions>
942 </dependency>
943 <dependency>
944 <groupId>net.javacrumbs.shedlock</groupId>
945 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500946 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400947 </dependency>
948 <dependency>
949 <groupId>net.javacrumbs.shedlock</groupId>
950 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500951 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400952 </dependency>
953 <dependency>
954 <groupId>org.flywaydb</groupId>
955 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500956 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400957 </dependency>
958 <dependency>
959 <groupId>org.json</groupId>
960 <artifactId>json</artifactId>
961 <version>20140107</version>
962 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400963 <dependency>
964 <groupId>org.onap.aai.schema-service</groupId>
965 <artifactId>aai-schema</artifactId>
Benjamin, Max (mb388a)959d27a2020-05-15 09:57:38 -0400966 <version>1.7.2</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400967 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400968 </dependencies>
969 </dependencyManagement>
970 <profiles>
971 <profile>
972 <id>docker-image-build</id>
973 <properties>
974 <docker.skip>false</docker.skip>
975 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400976 </properties>
977 </profile>
978 <profile>
979 <id>docker-image-build-push</id>
980 <properties>
981 <docker.skip>false</docker.skip>
982 <docker.skip.build>false</docker.skip.build>
983 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400984 </properties>
985 </profile>
986 <profile>
987 <id>format</id>
988 <properties>
989 <format.skipValidate>true</format.skipValidate>
990 <format.skipExecute>false</format.skipExecute>
991 </properties>
992 </profile>
993 <profile>
994 <id>m2e</id>
995 <activation>
996 <property>
997 <name>m2e.version</name>
998 </property>
999 </activation>
1000 <properties>
1001 <originalClassifier />
1002 </properties>
1003 </profile>
1004 </profiles>
Benjamin, Maxa5de2db2020-08-07 11:36:18 -04001005</project>