blob: 5ffa2d229204c2a207c4fdff56473522a12845d0 [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>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040035 <module>cxf-logging</module>
36 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040037 <module>so-simulator</module>
MukeshKumar1d9546b2020-08-11 09:55:46 +010038 <module>so-etsi-nfvo</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010039 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040040 </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>
arun chapagain258be882020-08-06 15:44:12 +053046 <java.version>11</java.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040047 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
48 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000049 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040050 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
51 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
52 <sonar.projectVersion>${project.version}</sonar.projectVersion>
53 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000054 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040055 <org.apache.maven.user-settings />
mukesh.paliwal1@huawei.com78d36ba2020-08-18 11:46:39 +053056 <openstack.version>1.7.1</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040057 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
58 <originalClassifier>original</originalClassifier>
59 <docker.skip>true</docker.skip>
60 <docker.skip.build>true</docker.skip.build>
61 <docker.skip.push>true</docker.skip.push>
62 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
63 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
64 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050065 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040066 <nexusproxy>https://nexus.onap.org</nexusproxy>
67 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
68 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
69 <publicNexusPath>content/repositories/public/</publicNexusPath>
70 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
Benjamin, Max9868f172020-05-18 16:37:51 -040071 <cxf.version>3.3.3</cxf.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040072 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050073 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040074 <camunda.springboot.version>3.2.0</camunda.springboot.version>
75 <format.skipValidate>false</format.skipValidate>
76 <format.skipExecute>true</format.skipExecute>
Benjamin, Max5f57d092020-05-13 17:48:03 -040077 <io.fabric8.version>0.33.0</io.fabric8.version>
arun chapagain7ac8b942020-08-10 15:28:02 +053078 <appc.client.version>1.7.2</appc.client.version>
Benjamin, Max9868f172020-05-18 16:37:51 -040079 <bowman.client.version>0.8.0</bowman.client.version>
80 <aaf.cadi.version>2.1.15</aaf.cadi.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040081 </properties>
82 <distributionManagement>
83 <repository>
84 <id>ecomp-releases</id>
85 <url>${nexusproxy}/${releaseNexusPath}</url>
86 </repository>
87 <snapshotRepository>
88 <id>ecomp-snapshots</id>
89 <url>${nexusproxy}/${snapshotNexusPath}</url>
90 </snapshotRepository>
91 <site>
92 <id>ecomp-site</id>
93 <url>dav:${nexusproxy}${siteNexusPath}</url>
94 </site>
95 </distributionManagement>
96 <reporting>
97 <plugins>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-javadoc-plugin</artifactId>
101 <version>2.10.4</version>
102 <configuration>
103 <failOnError>false</failOnError>
104 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
105 <docletArtifact>
106 <groupId>org.umlgraph</groupId>
107 <artifactId>umlgraph</artifactId>
108 <version>5.6</version>
109 </docletArtifact>
110 <additionalparam>-views</additionalparam>
111 <useStandardDocletOptions>true</useStandardDocletOptions>
112 </configuration>
113 </plugin>
114 </plugins>
115 </reporting>
116 <!-- configure build -->
117 <!-- *********************************************************************************************************** -->
118 <!-- Plugins and repositories -->
119 <pluginRepositories>
120 <pluginRepository>
121 <id>central</id>
122 <url>http://repo1.maven.org/maven2</url>
123 </pluginRepository>
124 <pluginRepository>
125 <id>restlet</id>
126 <url>http://maven.restlet.com</url>
127 </pluginRepository>
128 <pluginRepository>
129 <id>ecomp-public</id>
130 <url>${nexusproxy}/${publicNexusPath}</url>
131 <snapshots>
132 <enabled>false</enabled>
133 </snapshots>
134 </pluginRepository>
135 <pluginRepository>
136 <id>ecomp-release</id>
137 <url>${nexusproxy}/${releaseNexusPath}</url>
138 <snapshots>
139 <enabled>false</enabled>
140 </snapshots>
141 </pluginRepository>
142 <pluginRepository>
143 <id>ecomp-snapshots</id>
144 <url>${nexusproxy}/${snapshotNexusPath}</url>
145 <releases>
146 <enabled>false</enabled>
147 </releases>
148 </pluginRepository>
149 </pluginRepositories>
150 <repositories>
151 <repository>
152 <id>ecomp-public</id>
153 <url>https://nexus.onap.org/content/repositories/public/</url>
154 <snapshots>
155 <enabled>false</enabled>
156 </snapshots>
157 </repository>
158 <repository>
159 <id>ecomp-releases</id>
160 <url>https://nexus.onap.org/content/repositories/releases/</url>
161 <snapshots>
162 <enabled>false</enabled>
163 </snapshots>
164 </repository>
165 <repository>
166 <id>ecomp-snapshots</id>
167 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
168 <releases>
169 <enabled>false</enabled>
170 </releases>
171 </repository>
172 <repository>
173 <id>camunda-bpm</id>
174 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
175 </repository>
176 <repository>
177 <id>camunda-public</id>
178 <url>https://app.camunda.com/nexus/content/groups/public</url>
179 </repository>
180 <repository>
181 <!-- TODO: remove from ONAP environemnt -->
182 <id>onap-releases</id>
183 <url>https://nexus.onap.org/content/repositories/releases/</url>
184 <snapshots>
185 <enabled>false</enabled>
186 </snapshots>
187 </repository>
188 <repository>
189 <!-- TODO: remove from ONAP environemnt -->
190 <id>onap-snapshots</id>
191 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
192 <releases>
193 <enabled>false</enabled>
194 </releases>
195 </repository>
196 </repositories>
197 <!-- *********************************************************************************************************** -->
198 <!-- Build -->
199 <build>
200 <resources>
201 <resource>
202 <directory>src/main/resources</directory>
203 <filtering>true</filtering>
204 </resource>
205 <resource>
206 <directory>target/generated-sources/license</directory>
207 <includes>
208 <include>third-party-licenses.txt</include>
209 </includes>
210 </resource>
211 <resource>
212 <directory>target/generated-resources/licenses</directory>
213 <includes>
214 <include>*.*</include>
215 </includes>
216 <targetPath>third-party-licenses</targetPath>
217 </resource>
218 </resources>
219 <plugins>
Benjamin, Max9868f172020-05-18 16:37:51 -0400220 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
221 <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl>
222 <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId>
223 </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400227 <version>2.8</version>
228 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400229 <configuration>
230 <skip />
231 </configuration>
232 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400233 <plugin>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-compiler-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400236 <version>3.8.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400237 <configuration>
238 <debug>true</debug>
239 <compilerArgument>-Xlint</compilerArgument>
240 <verbose>true</verbose>
241 <showDeprecation>true</showDeprecation>
242 <showWarnings>true</showWarnings>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400243 <compilerArgs>
244 <arg>-parameters</arg>
245 </compilerArgs>
Benjamin, Maxa5de2db2020-08-07 11:36:18 -0400246 <forceJavacCompilerUse>true</forceJavacCompilerUse>
247 <source>11</source>
248 <target>11</target>
249 <release>11</release>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400250 </configuration>
251 </plugin>
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-ejb-plugin</artifactId>
255 <version>2.2.1</version>
256 <configuration>
257 <ejbVersion>3.0</ejbVersion>
258 <archive>
259 <manifest>
260 <addClasspath>true</addClasspath>
261 </manifest>
262 </archive>
263 </configuration>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-checkstyle-plugin</artifactId>
268 <version>2.17</version>
269 <configuration>
270 <skip>true</skip>
271 <includes>**/org/openecomp/**/*.java</includes>
272 <configLocation>/google_checks.xml</configLocation>
273 </configuration>
274 </plugin>
275 <plugin>
276 <groupId>org.codehaus.mojo</groupId>
277 <artifactId>findbugs-maven-plugin</artifactId>
278 <version>2.5.2</version>
279 <configuration>
280 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
281 <nested>true</nested>
282 <findbugsXmlOutput>true</findbugsXmlOutput>
283 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
284 <xmlOutput>true</xmlOutput>
285 </configuration>
286 </plugin>
287 <plugin>
288 <groupId>org.codehaus.mojo</groupId>
289 <artifactId>sonar-maven-plugin</artifactId>
290 <version>5.1</version>
291 </plugin>
292 <plugin>
293 <artifactId>maven-scm-plugin</artifactId>
294 <version>1.8.1</version>
295 <configuration>
296 <tag>${project.artifactId}-${project.version}</tag>
297 </configuration>
298 </plugin>
299 <plugin>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-javadoc-plugin</artifactId>
302 <version>2.9</version>
303 </plugin>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-site-plugin</artifactId>
307 <version>3.6</version>
308 <dependencies>
309 <dependency>
310 <groupId>org.apache.maven.wagon</groupId>
311 <artifactId>wagon-webdav-jackrabbit</artifactId>
312 <version>2.10</version>
313 </dependency>
314 </dependencies>
315 </plugin>
316 <plugin>
317 <groupId>org.codehaus.mojo</groupId>
318 <artifactId>cobertura-maven-plugin</artifactId>
319 <version>2.5.2</version>
320 <configuration>
321 <formats>
322 <format>xml</format>
323 </formats>
324 </configuration>
325 </plugin>
326 <plugin>
327 <groupId>org.codehaus.mojo</groupId>
328 <artifactId>versions-maven-plugin</artifactId>
329 <version>1.3.1</version>
330 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400331
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400332 <plugin>
333 <groupId>com.fortify.ps.maven.plugin</groupId>
334 <artifactId>sca-maven-plugin</artifactId>
335 <version>4.20</version>
336 <configuration>
337 <buildId>mso-${project.version}</buildId>
arun chapagain258be882020-08-06 15:44:12 +0530338 <source>${java.version}</source>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400339 </configuration>
340 </plugin>
341 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400342 <groupId>org.jacoco</groupId>
343 <artifactId>jacoco-maven-plugin</artifactId>
344 <version>${jacoco.version}</version>
345 <executions>
346 <execution>
347 <id>prepare-agent</id>
348 <goals>
349 <goal>prepare-agent</goal>
350 </goals>
351 </execution>
352 <execution>
353 <id>report</id>
354 <goals>
355 <goal>report</goal>
356 </goals>
357 <configuration>
358 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
359 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
360 </configuration>
361 </execution>
362 </executions>
363 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400364 <plugin>
365 <groupId>org.codehaus.mojo</groupId>
366 <artifactId>license-maven-plugin</artifactId>
367 <version>1.15</version>
368 <configuration>
369 <inceptionYear>2017</inceptionYear>
370 <projectName>ONAP - SO</projectName>
371 <licenseName>apache_v2</licenseName>
372 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
373 <emptyLineAfterHeader>true</emptyLineAfterHeader>
374 <trimHeaderLine>true</trimHeaderLine>
375 <processStartTag>============LICENSE_START=======================================================</processStartTag>
376 <sectionDelimiter>================================================================================</sectionDelimiter>
377 <processEndTag>============LICENSE_END=========================================================</processEndTag>
378 <includes>
379 <include>**/*.java</include>
380 <include>**/*.groovy</include>
381 </includes>
382 <excludes>
383 <exclude>**/com/att/**</exclude>
384 </excludes>
385 </configuration>
386 <executions>
387 <execution>
388 <id>verify-headers</id>
389 <goals>
390 <goal>check-file-header</goal>
391 </goals>
392 <configuration>
393 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
394 <failOnMissingHeader>true</failOnMissingHeader>
395 </configuration>
396 </execution>
397 </executions>
398 </plugin>
399 <plugin>
400 <groupId>org.codehaus.gmaven</groupId>
401 <artifactId>groovy-maven-plugin</artifactId>
402 <version>2.0</version>
403 <executions>
404 <!-- set absolute base path from super pom -->
405 <execution>
406 <id>find-basepath</id>
407 <phase>validate</phase>
408 <goals>
409 <goal>execute</goal>
410 </goals>
411 <configuration>
412 <source>
413 <![CDATA[
414 import java.io.File;
415 log.info('## define projects super pom absolute path through basepath_marker')
416 String p = "basepath_marker";
417 File f = null;
418 if( p != null ) {
419 def _max_child_poms = 0
420 while( _max_child_poms++ < 5 ) {
421 f = new File( p );
422 if( f.exists() ) {
423 break;
424 }
425 p = "../" + p;
426 }
427 }
428 if( f != null ) {
429 String basePath = f.getCanonicalPath();
430 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
431 project.properties['base-path'] = basePath.replace( '\\' , '/');
432 log.info(' - used base path = ' + project.properties['base-path'] );
433 } else {
434 log.error( 'Could not find basepath_marker marker file!' );
435 System.stop( 0 );
436 }
437 ]]>
438 </source>
439 </configuration>
440 </execution>
441 </executions>
442 </plugin>
443 <plugin>
444 <groupId>net.revelc.code.formatter</groupId>
445 <artifactId>formatter-maven-plugin</artifactId>
446 <version>2.9.0</version>
447 <executions>
448 <execution>
449 <id>format-java</id>
450 <goals>
451 <goal>format</goal>
452 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530453 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400454 <configuration>
455 <skip>${format.skipExecute}</skip>
456 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
457 </configuration>
458 </execution>
459 <execution>
460 <id>format-xml</id>
461 <goals>
462 <goal>format</goal>
463 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530464 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400465 <configuration>
466 <skip>${format.skipExecute}</skip>
467 <sourceDirectory>${project.basedir}</sourceDirectory>
468 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
469 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400470 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400471 </includes>
472 </configuration>
473 </execution>
474 <execution>
475 <id>validate-java</id>
476 <goals>
477 <goal>validate</goal>
478 </goals>
479 <configuration>
480 <skip>${format.skipValidate}</skip>
481 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
482 </configuration>
483 </execution>
484 <execution>
485 <id>validate-poms</id>
486 <goals>
487 <goal>validate</goal>
488 </goals>
489 <configuration>
490 <skip>${format.skipValidate}</skip>
491 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400492 <includes>
493 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400494 </includes>
495 </configuration>
496 </execution>
497 </executions>
498 <dependencies>
499 <dependency>
500 <groupId>com.fasterxml.jackson.core</groupId>
501 <artifactId>jackson-annotations</artifactId>
502 <version>2.9.8</version>
503 </dependency>
504 </dependencies>
505 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500506 <plugin>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-enforcer-plugin</artifactId>
509 <version>3.0.0-M3</version>
510 <executions>
511 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100512 <id>enforce-property</id>
513 <configuration>
514 <skip>true</skip>
515 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500516 </execution>
517 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100518 <id>enforce-no-snapshots</id>
519 <configuration>
520 <skip>true</skip>
521 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500522 </execution>
523 <execution>
524 <id>enforce-banned-dependencies</id>
525 <goals>
526 <goal>enforce</goal>
527 </goals>
528 <configuration>
529 <rules>
530 <bannedDependencies>
531 <excludes>
532 <exclude>org.powermock</exclude>
533 </excludes>
534 <searchTransitive>false</searchTransitive>
535 </bannedDependencies>
536 </rules>
537 <fail>true</fail>
538 </configuration>
539 </execution>
540 </executions>
541 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400542 </plugins>
543 <pluginManagement>
544 <plugins>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400545 <plugin>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400546 <groupId>org.eclipse.m2e</groupId>
547 <artifactId>lifecycle-mapping</artifactId>
548 <version>1.0.0</version>
549 <configuration>
550 <lifecycleMappingMetadata>
551 <pluginExecutions>
552 <pluginExecution>
553 <pluginExecutionFilter>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-checkstyle-plugin</artifactId>
556 <versionRange>[1.0.0,)</versionRange>
557 <goals>
558 <goal>check</goal>
559 </goals>
560 </pluginExecutionFilter>
561 <action>
562 <execute />
563 </action>
564 </pluginExecution>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400565 <pluginExecution>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400566 <pluginExecutionFilter>
567 <groupId>org.codehaus.gmaven</groupId>
568 <artifactId>groovy-maven-plugin</artifactId>
569 <versionRange>[1.0.0,)</versionRange>
570 <goals>
571 <goal>execute</goal>
572 </goals>
573 </pluginExecutionFilter>
574 <action>
575 <execute />
576 </action>
577 </pluginExecution>
578 </pluginExecutions>
579 </lifecycleMappingMetadata>
580 </configuration>
581 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400582 <plugin>
583 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400584 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400585 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400586 <configuration>
587 <skip>${docker.skip}</skip>
588 <skipBuild>${docker.skip.build}</skipBuild>
589 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400590 <dockerHost>${docker.newHost}</dockerHost>
Benjamin, Max9868f172020-05-18 16:37:51 -0400591 <!-- 1. Update address to your local docker VM. 2. Add IP to
592 your NO_PROXY environment variable -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400593 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max9868f172020-05-18 16:37:51 -0400594 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
595 to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400596 <pushRegistry>${dockerPushRepo}</pushRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400597 <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
598 username, and password -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400599 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400600 <!-- If docker repo is not public. Update .m2/settings.xml Add
601 server id settings.dockerRepository, username, and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400602 <images>
603 <image>
604 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100605 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400606 <build>
607 <dockerFileDir>${project.build.directory}</dockerFileDir>
608 </build>
609 </image>
610 </images>
611 </configuration>
612 <executions>
613 <execution>
614 <id>start</id>
615 <goals>
616 <goal>build</goal>
617 <goal>push</goal>
618 </goals>
619 </execution>
620 </executions>
621 </plugin>
622 <plugin>
623 <groupId>org.apache.maven.plugins</groupId>
624 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400625 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400626 <configuration>
627 <systemPropertyVariables>
628 <so.log.level>DEBUG</so.log.level>
629 </systemPropertyVariables>
630 <rerunFailingTestsCount>2</rerunFailingTestsCount>
631 <parallel>classes</parallel>
632 <useUnlimitedThreads>false</useUnlimitedThreads>
633 <threadCount>1</threadCount>
634 </configuration>
635 </plugin>
636 <plugin>
637 <groupId>org.apache.maven.plugins</groupId>
638 <artifactId>maven-failsafe-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400639 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400640 <configuration>
641 <skip>true</skip>
642 <systemPropertyVariables>
643 <so.log.level>DEBUG</so.log.level>
644 </systemPropertyVariables>
645 <rerunFailingTestsCount>2</rerunFailingTestsCount>
646 </configuration>
647 </plugin>
648 <plugin>
649 <groupId>org.apache.maven.plugins</groupId>
650 <artifactId>maven-dependency-plugin</artifactId>
651 <executions>
652 <execution>
653 <id>extract-docker-file</id>
654 <goals>
655 <goal>unpack</goal>
656 </goals>
657 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400658 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400659 <artifactItems>
660 <artifactItem>
661 <groupId>org.onap.so</groupId>
662 <artifactId>deployment-configs</artifactId>
663 <version>${project.version}</version>
664 <outputDirectory>${project.build.directory}</outputDirectory>
665 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
666 <excludes>Kubernetes</excludes>
667 </artifactItem>
668 </artifactItems>
669 </configuration>
670 </execution>
671 </executions>
672 </plugin>
673 <plugin>
674 <groupId>org.apache.maven.plugins</groupId>
675 <artifactId>maven-jar-plugin</artifactId>
676 <version>3.0.2</version>
677 <executions>
678 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400679 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400680 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400681 <goals>
682 <goal>jar</goal>
683 </goals>
684 <configuration>
685 <classifier>${originalClassifier}</classifier>
686 <includes>
687 <include>**</include>
688 </includes>
689 </configuration>
690 </execution>
691 </executions>
692 </plugin>
693 <plugin>
694 <groupId>org.springframework.boot</groupId>
695 <artifactId>spring-boot-maven-plugin</artifactId>
696 <version>${springboot.version}</version>
697 <executions>
698 <execution>
699 <id>build-info</id>
700 <goals>
701 <goal>build-info</goal>
702 </goals>
703 </execution>
704 </executions>
705 </plugin>
706 </plugins>
707 </pluginManagement>
708 </build>
709 <!-- *********************************************************************************************************** -->
710 <!-- Dependencies -->
711 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400712 <dependency>
713 <groupId>org.onap.logging-analytics</groupId>
714 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400715 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400716 <dependency>
717 <groupId>org.onap.logging-analytics</groupId>
718 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400719 </dependency>
720 <dependency>
721 <groupId>org.onap.logging-analytics</groupId>
722 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400723 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400724 <dependency>
725 <groupId>com.fasterxml.jackson.core</groupId>
726 <artifactId>jackson-core</artifactId>
727 </dependency>
728 <dependency>
729 <groupId>com.fasterxml.jackson.module</groupId>
730 <artifactId>jackson-module-jaxb-annotations</artifactId>
731 </dependency>
732 <dependency>
733 <groupId>com.fasterxml.jackson.core</groupId>
734 <artifactId>jackson-databind</artifactId>
735 </dependency>
736 <dependency>
737 <groupId>com.fasterxml.jackson.core</groupId>
738 <artifactId>jackson-annotations</artifactId>
739 </dependency>
740 <dependency>
741 <groupId>com.fasterxml.jackson.jaxrs</groupId>
742 <artifactId>jackson-jaxrs-base</artifactId>
743 </dependency>
744 <dependency>
745 <groupId>com.fasterxml.jackson.jaxrs</groupId>
746 <artifactId>jackson-jaxrs-json-provider</artifactId>
747 </dependency>
748 <dependency>
749 <groupId>javax.ws.rs</groupId>
750 <artifactId>javax.ws.rs-api</artifactId>
751 <version>${jax.ws.rs}</version>
752 </dependency>
753 <dependency>
754 <groupId>javax.annotation</groupId>
755 <artifactId>javax.annotation-api</artifactId>
756 <version>1.3.1</version>
757 </dependency>
758 <dependency>
759 <groupId>javax.inject</groupId>
760 <artifactId>javax.inject</artifactId>
761 <version>1</version>
762 </dependency>
763 <dependency>
764 <groupId>org.mockito</groupId>
765 <artifactId>mockito-core</artifactId>
766 </dependency>
767 <dependency>
768 <groupId>org.hamcrest</groupId>
769 <artifactId>hamcrest-core</artifactId>
770 </dependency>
771 <dependency>
772 <groupId>org.hamcrest</groupId>
773 <artifactId>hamcrest-library</artifactId>
774 </dependency>
775 <dependency>
776 <groupId>junit</groupId>
777 <artifactId>junit</artifactId>
778 <scope>test</scope>
779 </dependency>
780 <dependency>
781 <groupId>xmlunit</groupId>
782 <artifactId>xmlunit</artifactId>
783 <version>1.6</version>
784 <scope>test</scope>
785 </dependency>
786 <dependency>
787 <groupId>com.github.tomakehurst</groupId>
788 <artifactId>wiremock-standalone</artifactId>
789 <version>2.13.0</version>
790 <scope>test</scope>
791 <exclusions>
792 <exclusion>
793 <groupId>org.mortbay.jetty</groupId>
794 <artifactId>jetty</artifactId>
795 </exclusion>
796 <exclusion>
797 <groupId>com.google.guava</groupId>
798 <artifactId>guava</artifactId>
799 </exclusion>
800 <exclusion>
801 <groupId>com.fasterxml.jackson.core</groupId>
802 <artifactId>jackson-core</artifactId>
803 </exclusion>
804 <exclusion>
805 <groupId>com.fasterxml.jackson.core</groupId>
806 <artifactId>jackson-annotations</artifactId>
807 </exclusion>
808 <exclusion>
809 <groupId>com.fasterxml.jackson.core</groupId>
810 <artifactId>jackson-databind</artifactId>
811 </exclusion>
812 <exclusion>
813 <groupId>org.apache.httpcomponents</groupId>
814 <artifactId>httpclient</artifactId>
815 </exclusion>
816 <exclusion>
817 <groupId>org.skyscreamer</groupId>
818 <artifactId>jsonassert</artifactId>
819 </exclusion>
820 <exclusion>
821 <groupId>xmlunit</groupId>
822 <artifactId>xmlunit</artifactId>
823 </exclusion>
824 <exclusion>
825 <groupId>com.jayway.jsonpath</groupId>
826 <artifactId>json-path</artifactId>
827 </exclusion>
828 <exclusion>
829 <groupId>net.sf.jopt-simple</groupId>
830 <artifactId>jopt-simple</artifactId>
831 </exclusion>
832 </exclusions>
833 </dependency>
834 <dependency>
835 <groupId>com.openpojo</groupId>
836 <artifactId>openpojo</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400837 <version>0.8.13</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400838 </dependency>
839 <dependency>
840 <groupId>com.shazam</groupId>
841 <artifactId>shazamcrest</artifactId>
842 <version>0.11</version>
843 <scope>test</scope>
844 <exclusions>
845 <exclusion>
846 <groupId>com.google.guava</groupId>
847 <artifactId>guava</artifactId>
848 </exclusion>
849 <exclusion>
850 <groupId>org.apache.commons</groupId>
851 <artifactId>commons-lang3</artifactId>
852 </exclusion>
853 </exclusions>
854 </dependency>
855 <dependency>
856 <groupId>org.assertj</groupId>
857 <artifactId>assertj-core</artifactId>
858 <version>3.11.1</version>
859 <scope>test</scope>
860 </dependency>
861 <dependency>
Benjamin, Max9868f172020-05-18 16:37:51 -0400862 <groupId>org.ow2.asm</groupId>
863 <artifactId>asm</artifactId>
864 <version>7.0</version>
865 <scope>test</scope>
866 </dependency>
867 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400868 <groupId>com.googlecode.junit-toolbox</groupId>
869 <artifactId>junit-toolbox</artifactId>
870 <version>2.4</version>
871 </dependency>
872 </dependencies>
873 <dependencyManagement>
874 <dependencies>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400875 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400876 <groupId>org.onap.logging-analytics</groupId>
877 <artifactId>logging-slf4j</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200878 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400879 </dependency>
880 <dependency>
881 <groupId>org.onap.logging-analytics</groupId>
882 <artifactId>logging-filter-base</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200883 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400884 </dependency>
885 <dependency>
886 <groupId>org.onap.logging-analytics</groupId>
887 <artifactId>logging-filter-spring</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200888 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400889 </dependency>
890 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400891 <groupId>org.apache.httpcomponents</groupId>
892 <artifactId>httpcore</artifactId>
893 <version>4.4.4</version>
894 <scope>compile</scope>
895 </dependency>
896 <dependency>
897 <groupId>commons-codec</groupId>
898 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400899 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400900 <scope>compile</scope>
901 </dependency>
902 <dependency>
903 <groupId>commons-io</groupId>
904 <artifactId>commons-io</artifactId>
905 <version>2.5</version>
906 <scope>compile</scope>
907 </dependency>
908 <dependency>
909 <groupId>com.sun.xml.fastinfoset</groupId>
910 <artifactId>FastInfoset</artifactId>
911 <version>1.2.13</version>
912 <scope>compile</scope>
913 </dependency>
914 <dependency>
915 <groupId>org.springframework.boot</groupId>
916 <artifactId>spring-boot-dependencies</artifactId>
917 <version>${springboot.version}</version>
918 <type>pom</type>
919 <scope>import</scope>
920 </dependency>
921 <dependency>
922 <groupId>org.yaml</groupId>
923 <artifactId>snakeyaml</artifactId>
deepikasatheeshf70e8de2020-07-29 22:53:54 -0700924 <version>1.26</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400925 </dependency>
926 <dependency>
927 <groupId>javax.interceptor</groupId>
928 <artifactId>javax.interceptor-api</artifactId>
929 <version>1.2.2</version>
930 </dependency>
931 <dependency>
932 <groupId>org.springframework.boot</groupId>
933 <artifactId>spring-boot-starter-test</artifactId>
934 <version>${springboot.version}</version>
935 <exclusions>
936 <exclusion>
937 <groupId>com.vaadin.external.google</groupId>
938 <artifactId>android-json</artifactId>
939 </exclusion>
940 </exclusions>
941 </dependency>
942 <dependency>
943 <groupId>net.javacrumbs.shedlock</groupId>
944 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500945 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400946 </dependency>
947 <dependency>
948 <groupId>net.javacrumbs.shedlock</groupId>
949 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500950 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400951 </dependency>
952 <dependency>
953 <groupId>org.flywaydb</groupId>
954 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500955 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400956 </dependency>
957 <dependency>
958 <groupId>org.json</groupId>
959 <artifactId>json</artifactId>
960 <version>20140107</version>
961 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400962 <dependency>
963 <groupId>org.onap.aai.schema-service</groupId>
964 <artifactId>aai-schema</artifactId>
zm33004511852020-10-13 17:03:01 +0800965 <version>1.7.10</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400966 </dependency>
Benjamin, Max (mb388a)733c4602020-10-08 15:31:17 -0400967 <dependency>
Benjamin, Max23f8d802020-10-16 13:18:43 -0400968 <groupId>org.apache.cxf</groupId>
969 <artifactId>cxf-rt-rs-client</artifactId>
970 <version>${cxf.version}</version>
971 <exclusions>
972 <exclusion>
973 <groupId>org.jboss.spec.javax.rmi</groupId>
974 <artifactId>jboss-rmi-api_1.0_spec</artifactId>
975 </exclusion>
976 </exclusions>
977 </dependency>
978 <dependency>
979 <groupId>org.apache.cxf</groupId>
980 <artifactId>cxf-rt-bindings-soap</artifactId>
981 <version>${cxf.version}</version>
982 <exclusions>
983 <exclusion>
984 <groupId>org.jboss.spec.javax.rmi</groupId>
985 <artifactId>jboss-rmi-api_1.0_spec</artifactId>
986 </exclusion>
987 </exclusions>
988 </dependency>
989 <dependency>
990 <groupId>org.apache.cxf</groupId>
991 <artifactId>cxf-rt-transports-http</artifactId>
992 <version>${cxf.version}</version>
993 <exclusions>
994 <exclusion>
995 <groupId>org.jboss.spec.javax.rmi</groupId>
996 <artifactId>jboss-rmi-api_1.0_spec</artifactId>
997 </exclusion>
998 </exclusions>
999 </dependency>
1000 <dependency>
1001 <groupId>org.apache.cxf</groupId>
1002 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
1003 <version>${cxf.version}</version>
1004 <exclusions>
1005 <exclusion>
1006 <groupId>org.jboss.spec.javax.rmi</groupId>
1007 <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1008 </exclusion>
1009 </exclusions>
1010 </dependency>
1011 <dependency>
1012 <groupId>org.apache.cxf</groupId>
1013 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
1014 <version>${cxf.version}</version>
1015 <exclusions>
1016 <exclusion>
1017 <groupId>org.jboss.spec.javax.rmi</groupId>
1018 <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1019 </exclusion>
1020 </exclusions>
1021 </dependency>
1022 <dependency>
1023 <groupId>org.apache.cxf</groupId>
1024 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
1025 <version>${cxf.version}</version>
1026 <exclusions>
1027 <exclusion>
1028 <groupId>org.jboss.spec.javax.rmi</groupId>
1029 <artifactId>jboss-rmi-api_1.0_spec</artifactId>
1030 </exclusion>
1031 </exclusions>
1032 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04001033 </dependencies>
1034 </dependencyManagement>
1035 <profiles>
1036 <profile>
1037 <id>docker-image-build</id>
1038 <properties>
1039 <docker.skip>false</docker.skip>
1040 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04001041 </properties>
1042 </profile>
1043 <profile>
1044 <id>docker-image-build-push</id>
1045 <properties>
1046 <docker.skip>false</docker.skip>
1047 <docker.skip.build>false</docker.skip.build>
1048 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04001049 </properties>
1050 </profile>
1051 <profile>
1052 <id>format</id>
1053 <properties>
1054 <format.skipValidate>true</format.skipValidate>
1055 <format.skipExecute>false</format.skipExecute>
1056 </properties>
1057 </profile>
1058 <profile>
1059 <id>m2e</id>
1060 <activation>
1061 <property>
1062 <name>m2e.version</name>
1063 </property>
1064 </activation>
1065 <properties>
1066 <originalClassifier />
1067 </properties>
1068 </profile>
1069 </profiles>
Benjamin, Maxa5de2db2020-08-07 11:36:18 -04001070</project>