blob: 0cefebb71249d01419a824151836c03cefba0242 [file] [log] [blame]
Michal Jagiello8ac3e422020-05-28 10:49:20 +00001<?xml version="1.0" ?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04003 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
seshukm2bcad1c2019-11-02 12:54:19 +05307 <version>2.1.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04008 <relativePath />
9 </parent>
10 <groupId>org.onap.so</groupId>
11 <artifactId>so</artifactId>
12 <packaging>pom</packaging>
seshukmadbd1c42020-08-03 19:23:51 +053013 <version>1.7.1-SNAPSHOT</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040014 <name>so</name>
15 <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project.
ChrisC025301d2017-01-31 11:40:03 +010016 This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB.
17 "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL"
18 </description>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040019 <organization>
20 <name>ONAP - SO</name>
21 <url>http://www.onap.org/</url>
zm330d05adce2020-05-14 11:36:14 +080022 </organization>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040023 <modules>
24 <module>deployment-configs</module>
25 <module>common</module>
Benjamin, Max4f774ee2020-04-28 15:13:12 -040026 <module>graph-inventory</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040027 <module>mso-catalog-db</module>
28 <module>mso-api-handlers</module>
29 <module>adapters</module>
30 <module>asdc-controller</module>
Boslet, Coryb7c956f2020-07-06 09:58:17 -040031 <module>so-optimization-clients</module>
Boslet, Coryda366372020-07-07 11:46:43 -040032 <module>so-sdn-clients</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040033 <module>bpmn</module>
34 <module>cloudify-client</module>
35 <module>cxf-logging</module>
36 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040037 <module>so-simulator</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010038 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040039 </modules>
40 <properties>
41 <project.mso.base.folder>.</project.mso.base.folder>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
44 <sonar.language>java</sonar.language>
arun chapagain258be882020-08-06 15:44:12 +053045 <java.version>11</java.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040046 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
47 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000048 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040049 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
50 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
51 <sonar.projectVersion>${project.version}</sonar.projectVersion>
52 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000053 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040054 <org.apache.maven.user-settings />
arun chapagain7ac8b942020-08-10 15:28:02 +053055 <openstack.version>1.6.1</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040056 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
57 <originalClassifier>original</originalClassifier>
58 <docker.skip>true</docker.skip>
59 <docker.skip.build>true</docker.skip.build>
60 <docker.skip.push>true</docker.skip.push>
61 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
62 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
63 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050064 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040065 <nexusproxy>https://nexus.onap.org</nexusproxy>
66 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
67 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
68 <publicNexusPath>content/repositories/public/</publicNexusPath>
69 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
Benjamin, Max9868f172020-05-18 16:37:51 -040070 <cxf.version>3.3.3</cxf.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040071 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050072 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040073 <camunda.springboot.version>3.2.0</camunda.springboot.version>
74 <format.skipValidate>false</format.skipValidate>
75 <format.skipExecute>true</format.skipExecute>
Benjamin, Max5f57d092020-05-13 17:48:03 -040076 <io.fabric8.version>0.33.0</io.fabric8.version>
arun chapagain7ac8b942020-08-10 15:28:02 +053077 <appc.client.version>1.7.2</appc.client.version>
Benjamin, Max9868f172020-05-18 16:37:51 -040078 <bowman.client.version>0.8.0</bowman.client.version>
79 <aaf.cadi.version>2.1.15</aaf.cadi.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040080 </properties>
81 <distributionManagement>
82 <repository>
83 <id>ecomp-releases</id>
84 <url>${nexusproxy}/${releaseNexusPath}</url>
85 </repository>
86 <snapshotRepository>
87 <id>ecomp-snapshots</id>
88 <url>${nexusproxy}/${snapshotNexusPath}</url>
89 </snapshotRepository>
90 <site>
91 <id>ecomp-site</id>
92 <url>dav:${nexusproxy}${siteNexusPath}</url>
93 </site>
94 </distributionManagement>
95 <reporting>
96 <plugins>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-javadoc-plugin</artifactId>
100 <version>2.10.4</version>
101 <configuration>
102 <failOnError>false</failOnError>
103 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
104 <docletArtifact>
105 <groupId>org.umlgraph</groupId>
106 <artifactId>umlgraph</artifactId>
107 <version>5.6</version>
108 </docletArtifact>
109 <additionalparam>-views</additionalparam>
110 <useStandardDocletOptions>true</useStandardDocletOptions>
111 </configuration>
112 </plugin>
113 </plugins>
114 </reporting>
115 <!-- configure build -->
116 <!-- *********************************************************************************************************** -->
117 <!-- Plugins and repositories -->
118 <pluginRepositories>
119 <pluginRepository>
120 <id>central</id>
121 <url>http://repo1.maven.org/maven2</url>
122 </pluginRepository>
123 <pluginRepository>
124 <id>restlet</id>
125 <url>http://maven.restlet.com</url>
126 </pluginRepository>
127 <pluginRepository>
128 <id>ecomp-public</id>
129 <url>${nexusproxy}/${publicNexusPath}</url>
130 <snapshots>
131 <enabled>false</enabled>
132 </snapshots>
133 </pluginRepository>
134 <pluginRepository>
135 <id>ecomp-release</id>
136 <url>${nexusproxy}/${releaseNexusPath}</url>
137 <snapshots>
138 <enabled>false</enabled>
139 </snapshots>
140 </pluginRepository>
141 <pluginRepository>
142 <id>ecomp-snapshots</id>
143 <url>${nexusproxy}/${snapshotNexusPath}</url>
144 <releases>
145 <enabled>false</enabled>
146 </releases>
147 </pluginRepository>
148 </pluginRepositories>
149 <repositories>
150 <repository>
151 <id>ecomp-public</id>
152 <url>https://nexus.onap.org/content/repositories/public/</url>
153 <snapshots>
154 <enabled>false</enabled>
155 </snapshots>
156 </repository>
157 <repository>
158 <id>ecomp-releases</id>
159 <url>https://nexus.onap.org/content/repositories/releases/</url>
160 <snapshots>
161 <enabled>false</enabled>
162 </snapshots>
163 </repository>
164 <repository>
165 <id>ecomp-snapshots</id>
166 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
167 <releases>
168 <enabled>false</enabled>
169 </releases>
170 </repository>
171 <repository>
172 <id>camunda-bpm</id>
173 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
174 </repository>
175 <repository>
176 <id>camunda-public</id>
177 <url>https://app.camunda.com/nexus/content/groups/public</url>
178 </repository>
179 <repository>
180 <!-- TODO: remove from ONAP environemnt -->
181 <id>onap-releases</id>
182 <url>https://nexus.onap.org/content/repositories/releases/</url>
183 <snapshots>
184 <enabled>false</enabled>
185 </snapshots>
186 </repository>
187 <repository>
188 <!-- TODO: remove from ONAP environemnt -->
189 <id>onap-snapshots</id>
190 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
191 <releases>
192 <enabled>false</enabled>
193 </releases>
194 </repository>
195 </repositories>
196 <!-- *********************************************************************************************************** -->
197 <!-- Build -->
198 <build>
199 <resources>
200 <resource>
201 <directory>src/main/resources</directory>
202 <filtering>true</filtering>
203 </resource>
204 <resource>
205 <directory>target/generated-sources/license</directory>
206 <includes>
207 <include>third-party-licenses.txt</include>
208 </includes>
209 </resource>
210 <resource>
211 <directory>target/generated-resources/licenses</directory>
212 <includes>
213 <include>*.*</include>
214 </includes>
215 <targetPath>third-party-licenses</targetPath>
216 </resource>
217 </resources>
218 <plugins>
Benjamin, Max9868f172020-05-18 16:37:51 -0400219 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId>
220 <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl>
221 <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId>
222 </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400223 <plugin>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400226 <version>2.8</version>
227 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400228 <configuration>
229 <skip />
230 </configuration>
231 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-compiler-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400235 <version>3.8.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400236 <configuration>
237 <debug>true</debug>
238 <compilerArgument>-Xlint</compilerArgument>
239 <verbose>true</verbose>
240 <showDeprecation>true</showDeprecation>
241 <showWarnings>true</showWarnings>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400242 <compilerArgs>
243 <arg>-parameters</arg>
244 </compilerArgs>
Benjamin, Maxa5de2db2020-08-07 11:36:18 -0400245 <forceJavacCompilerUse>true</forceJavacCompilerUse>
246 <source>11</source>
247 <target>11</target>
248 <release>11</release>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400249 </configuration>
250 </plugin>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-ejb-plugin</artifactId>
254 <version>2.2.1</version>
255 <configuration>
256 <ejbVersion>3.0</ejbVersion>
257 <archive>
258 <manifest>
259 <addClasspath>true</addClasspath>
260 </manifest>
261 </archive>
262 </configuration>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-checkstyle-plugin</artifactId>
267 <version>2.17</version>
268 <configuration>
269 <skip>true</skip>
270 <includes>**/org/openecomp/**/*.java</includes>
271 <configLocation>/google_checks.xml</configLocation>
272 </configuration>
273 </plugin>
274 <plugin>
275 <groupId>org.codehaus.mojo</groupId>
276 <artifactId>findbugs-maven-plugin</artifactId>
277 <version>2.5.2</version>
278 <configuration>
279 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
280 <nested>true</nested>
281 <findbugsXmlOutput>true</findbugsXmlOutput>
282 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
283 <xmlOutput>true</xmlOutput>
284 </configuration>
285 </plugin>
286 <plugin>
287 <groupId>org.codehaus.mojo</groupId>
288 <artifactId>sonar-maven-plugin</artifactId>
289 <version>5.1</version>
290 </plugin>
291 <plugin>
292 <artifactId>maven-scm-plugin</artifactId>
293 <version>1.8.1</version>
294 <configuration>
295 <tag>${project.artifactId}-${project.version}</tag>
296 </configuration>
297 </plugin>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
301 <version>2.9</version>
302 </plugin>
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-site-plugin</artifactId>
306 <version>3.6</version>
307 <dependencies>
308 <dependency>
309 <groupId>org.apache.maven.wagon</groupId>
310 <artifactId>wagon-webdav-jackrabbit</artifactId>
311 <version>2.10</version>
312 </dependency>
313 </dependencies>
314 </plugin>
315 <plugin>
316 <groupId>org.codehaus.mojo</groupId>
317 <artifactId>cobertura-maven-plugin</artifactId>
318 <version>2.5.2</version>
319 <configuration>
320 <formats>
321 <format>xml</format>
322 </formats>
323 </configuration>
324 </plugin>
325 <plugin>
326 <groupId>org.codehaus.mojo</groupId>
327 <artifactId>versions-maven-plugin</artifactId>
328 <version>1.3.1</version>
329 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400330
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400331 <plugin>
332 <groupId>com.fortify.ps.maven.plugin</groupId>
333 <artifactId>sca-maven-plugin</artifactId>
334 <version>4.20</version>
335 <configuration>
336 <buildId>mso-${project.version}</buildId>
arun chapagain258be882020-08-06 15:44:12 +0530337 <source>${java.version}</source>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400338 </configuration>
339 </plugin>
340 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400341 <groupId>org.jacoco</groupId>
342 <artifactId>jacoco-maven-plugin</artifactId>
343 <version>${jacoco.version}</version>
344 <executions>
345 <execution>
346 <id>prepare-agent</id>
347 <goals>
348 <goal>prepare-agent</goal>
349 </goals>
350 </execution>
351 <execution>
352 <id>report</id>
353 <goals>
354 <goal>report</goal>
355 </goals>
356 <configuration>
357 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
358 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
359 </configuration>
360 </execution>
361 </executions>
362 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400363 <plugin>
364 <groupId>org.codehaus.mojo</groupId>
365 <artifactId>license-maven-plugin</artifactId>
366 <version>1.15</version>
367 <configuration>
368 <inceptionYear>2017</inceptionYear>
369 <projectName>ONAP - SO</projectName>
370 <licenseName>apache_v2</licenseName>
371 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
372 <emptyLineAfterHeader>true</emptyLineAfterHeader>
373 <trimHeaderLine>true</trimHeaderLine>
374 <processStartTag>============LICENSE_START=======================================================</processStartTag>
375 <sectionDelimiter>================================================================================</sectionDelimiter>
376 <processEndTag>============LICENSE_END=========================================================</processEndTag>
377 <includes>
378 <include>**/*.java</include>
379 <include>**/*.groovy</include>
380 </includes>
381 <excludes>
382 <exclude>**/com/att/**</exclude>
383 </excludes>
384 </configuration>
385 <executions>
386 <execution>
387 <id>verify-headers</id>
388 <goals>
389 <goal>check-file-header</goal>
390 </goals>
391 <configuration>
392 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
393 <failOnMissingHeader>true</failOnMissingHeader>
394 </configuration>
395 </execution>
396 </executions>
397 </plugin>
398 <plugin>
399 <groupId>org.codehaus.gmaven</groupId>
400 <artifactId>groovy-maven-plugin</artifactId>
401 <version>2.0</version>
402 <executions>
403 <!-- set absolute base path from super pom -->
404 <execution>
405 <id>find-basepath</id>
406 <phase>validate</phase>
407 <goals>
408 <goal>execute</goal>
409 </goals>
410 <configuration>
411 <source>
412 <![CDATA[
413 import java.io.File;
414 log.info('## define projects super pom absolute path through basepath_marker')
415 String p = "basepath_marker";
416 File f = null;
417 if( p != null ) {
418 def _max_child_poms = 0
419 while( _max_child_poms++ < 5 ) {
420 f = new File( p );
421 if( f.exists() ) {
422 break;
423 }
424 p = "../" + p;
425 }
426 }
427 if( f != null ) {
428 String basePath = f.getCanonicalPath();
429 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
430 project.properties['base-path'] = basePath.replace( '\\' , '/');
431 log.info(' - used base path = ' + project.properties['base-path'] );
432 } else {
433 log.error( 'Could not find basepath_marker marker file!' );
434 System.stop( 0 );
435 }
436 ]]>
437 </source>
438 </configuration>
439 </execution>
440 </executions>
441 </plugin>
442 <plugin>
443 <groupId>net.revelc.code.formatter</groupId>
444 <artifactId>formatter-maven-plugin</artifactId>
445 <version>2.9.0</version>
446 <executions>
447 <execution>
448 <id>format-java</id>
449 <goals>
450 <goal>format</goal>
451 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530452 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400453 <configuration>
454 <skip>${format.skipExecute}</skip>
455 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
456 </configuration>
457 </execution>
458 <execution>
459 <id>format-xml</id>
460 <goals>
461 <goal>format</goal>
462 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530463 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400464 <configuration>
465 <skip>${format.skipExecute}</skip>
466 <sourceDirectory>${project.basedir}</sourceDirectory>
467 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
468 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400469 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400470 </includes>
471 </configuration>
472 </execution>
473 <execution>
474 <id>validate-java</id>
475 <goals>
476 <goal>validate</goal>
477 </goals>
478 <configuration>
479 <skip>${format.skipValidate}</skip>
480 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
481 </configuration>
482 </execution>
483 <execution>
484 <id>validate-poms</id>
485 <goals>
486 <goal>validate</goal>
487 </goals>
488 <configuration>
489 <skip>${format.skipValidate}</skip>
490 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400491 <includes>
492 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400493 </includes>
494 </configuration>
495 </execution>
496 </executions>
497 <dependencies>
498 <dependency>
499 <groupId>com.fasterxml.jackson.core</groupId>
500 <artifactId>jackson-annotations</artifactId>
501 <version>2.9.8</version>
502 </dependency>
503 </dependencies>
504 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500505 <plugin>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-enforcer-plugin</artifactId>
508 <version>3.0.0-M3</version>
509 <executions>
510 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100511 <id>enforce-property</id>
512 <configuration>
513 <skip>true</skip>
514 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500515 </execution>
516 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100517 <id>enforce-no-snapshots</id>
518 <configuration>
519 <skip>true</skip>
520 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500521 </execution>
522 <execution>
523 <id>enforce-banned-dependencies</id>
524 <goals>
525 <goal>enforce</goal>
526 </goals>
527 <configuration>
528 <rules>
529 <bannedDependencies>
530 <excludes>
531 <exclude>org.powermock</exclude>
532 </excludes>
533 <searchTransitive>false</searchTransitive>
534 </bannedDependencies>
535 </rules>
536 <fail>true</fail>
537 </configuration>
538 </execution>
539 </executions>
540 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400541 </plugins>
542 <pluginManagement>
543 <plugins>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400544 <plugin>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400545 <groupId>org.eclipse.m2e</groupId>
546 <artifactId>lifecycle-mapping</artifactId>
547 <version>1.0.0</version>
548 <configuration>
549 <lifecycleMappingMetadata>
550 <pluginExecutions>
551 <pluginExecution>
552 <pluginExecutionFilter>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-checkstyle-plugin</artifactId>
555 <versionRange>[1.0.0,)</versionRange>
556 <goals>
557 <goal>check</goal>
558 </goals>
559 </pluginExecutionFilter>
560 <action>
561 <execute />
562 </action>
563 </pluginExecution>
Benjamin, Max71d87a32020-06-24 10:44:53 -0400564 <pluginExecution>
Boslet, Coryf5c3da82020-05-20 11:39:21 -0400565 <pluginExecutionFilter>
566 <groupId>org.codehaus.gmaven</groupId>
567 <artifactId>groovy-maven-plugin</artifactId>
568 <versionRange>[1.0.0,)</versionRange>
569 <goals>
570 <goal>execute</goal>
571 </goals>
572 </pluginExecutionFilter>
573 <action>
574 <execute />
575 </action>
576 </pluginExecution>
577 </pluginExecutions>
578 </lifecycleMappingMetadata>
579 </configuration>
580 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400581 <plugin>
582 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400583 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400584 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400585 <configuration>
586 <skip>${docker.skip}</skip>
587 <skipBuild>${docker.skip.build}</skipBuild>
588 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400589 <dockerHost>${docker.newHost}</dockerHost>
Benjamin, Max9868f172020-05-18 16:37:51 -0400590 <!-- 1. Update address to your local docker VM. 2. Add IP to
591 your NO_PROXY environment variable -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400592 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max9868f172020-05-18 16:37:51 -0400593 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
594 to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400595 <pushRegistry>${dockerPushRepo}</pushRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400596 <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
597 username, and password -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400598 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max9868f172020-05-18 16:37:51 -0400599 <!-- If docker repo is not public. Update .m2/settings.xml Add
600 server id settings.dockerRepository, username, and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400601 <images>
602 <image>
603 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100604 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400605 <build>
606 <dockerFileDir>${project.build.directory}</dockerFileDir>
607 </build>
608 </image>
609 </images>
610 </configuration>
611 <executions>
612 <execution>
613 <id>start</id>
614 <goals>
615 <goal>build</goal>
616 <goal>push</goal>
617 </goals>
618 </execution>
619 </executions>
620 </plugin>
621 <plugin>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400624 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400625 <configuration>
626 <systemPropertyVariables>
627 <so.log.level>DEBUG</so.log.level>
628 </systemPropertyVariables>
629 <rerunFailingTestsCount>2</rerunFailingTestsCount>
630 <parallel>classes</parallel>
631 <useUnlimitedThreads>false</useUnlimitedThreads>
632 <threadCount>1</threadCount>
633 </configuration>
634 </plugin>
635 <plugin>
636 <groupId>org.apache.maven.plugins</groupId>
637 <artifactId>maven-failsafe-plugin</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400638 <version>2.22.2</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400639 <configuration>
640 <skip>true</skip>
641 <systemPropertyVariables>
642 <so.log.level>DEBUG</so.log.level>
643 </systemPropertyVariables>
644 <rerunFailingTestsCount>2</rerunFailingTestsCount>
645 </configuration>
646 </plugin>
647 <plugin>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-dependency-plugin</artifactId>
650 <executions>
651 <execution>
652 <id>extract-docker-file</id>
653 <goals>
654 <goal>unpack</goal>
655 </goals>
656 <configuration>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400657 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400658 <artifactItems>
659 <artifactItem>
660 <groupId>org.onap.so</groupId>
661 <artifactId>deployment-configs</artifactId>
662 <version>${project.version}</version>
663 <outputDirectory>${project.build.directory}</outputDirectory>
664 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
665 <excludes>Kubernetes</excludes>
666 </artifactItem>
667 </artifactItems>
668 </configuration>
669 </execution>
670 </executions>
671 </plugin>
672 <plugin>
673 <groupId>org.apache.maven.plugins</groupId>
674 <artifactId>maven-jar-plugin</artifactId>
675 <version>3.0.2</version>
676 <executions>
677 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400678 <id>original</id>
Benjamin, Max2dbbd782020-06-02 23:18:13 -0400679 <phase>none</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400680 <goals>
681 <goal>jar</goal>
682 </goals>
683 <configuration>
684 <classifier>${originalClassifier}</classifier>
685 <includes>
686 <include>**</include>
687 </includes>
688 </configuration>
689 </execution>
690 </executions>
691 </plugin>
692 <plugin>
693 <groupId>org.springframework.boot</groupId>
694 <artifactId>spring-boot-maven-plugin</artifactId>
695 <version>${springboot.version}</version>
696 <executions>
697 <execution>
698 <id>build-info</id>
699 <goals>
700 <goal>build-info</goal>
701 </goals>
702 </execution>
703 </executions>
704 </plugin>
705 </plugins>
706 </pluginManagement>
707 </build>
708 <!-- *********************************************************************************************************** -->
709 <!-- Dependencies -->
710 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400711 <dependency>
712 <groupId>org.onap.logging-analytics</groupId>
713 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400714 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400715 <dependency>
716 <groupId>org.onap.logging-analytics</groupId>
717 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400718 </dependency>
719 <dependency>
720 <groupId>org.onap.logging-analytics</groupId>
721 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400722 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400723 <dependency>
724 <groupId>com.fasterxml.jackson.core</groupId>
725 <artifactId>jackson-core</artifactId>
726 </dependency>
727 <dependency>
728 <groupId>com.fasterxml.jackson.module</groupId>
729 <artifactId>jackson-module-jaxb-annotations</artifactId>
730 </dependency>
731 <dependency>
732 <groupId>com.fasterxml.jackson.core</groupId>
733 <artifactId>jackson-databind</artifactId>
734 </dependency>
735 <dependency>
736 <groupId>com.fasterxml.jackson.core</groupId>
737 <artifactId>jackson-annotations</artifactId>
738 </dependency>
739 <dependency>
740 <groupId>com.fasterxml.jackson.jaxrs</groupId>
741 <artifactId>jackson-jaxrs-base</artifactId>
742 </dependency>
743 <dependency>
744 <groupId>com.fasterxml.jackson.jaxrs</groupId>
745 <artifactId>jackson-jaxrs-json-provider</artifactId>
746 </dependency>
747 <dependency>
748 <groupId>javax.ws.rs</groupId>
749 <artifactId>javax.ws.rs-api</artifactId>
750 <version>${jax.ws.rs}</version>
751 </dependency>
752 <dependency>
753 <groupId>javax.annotation</groupId>
754 <artifactId>javax.annotation-api</artifactId>
755 <version>1.3.1</version>
756 </dependency>
757 <dependency>
758 <groupId>javax.inject</groupId>
759 <artifactId>javax.inject</artifactId>
760 <version>1</version>
761 </dependency>
762 <dependency>
763 <groupId>org.mockito</groupId>
764 <artifactId>mockito-core</artifactId>
765 </dependency>
766 <dependency>
767 <groupId>org.hamcrest</groupId>
768 <artifactId>hamcrest-core</artifactId>
769 </dependency>
770 <dependency>
771 <groupId>org.hamcrest</groupId>
772 <artifactId>hamcrest-library</artifactId>
773 </dependency>
774 <dependency>
775 <groupId>junit</groupId>
776 <artifactId>junit</artifactId>
777 <scope>test</scope>
778 </dependency>
779 <dependency>
780 <groupId>xmlunit</groupId>
781 <artifactId>xmlunit</artifactId>
782 <version>1.6</version>
783 <scope>test</scope>
784 </dependency>
785 <dependency>
786 <groupId>com.github.tomakehurst</groupId>
787 <artifactId>wiremock-standalone</artifactId>
788 <version>2.13.0</version>
789 <scope>test</scope>
790 <exclusions>
791 <exclusion>
792 <groupId>org.mortbay.jetty</groupId>
793 <artifactId>jetty</artifactId>
794 </exclusion>
795 <exclusion>
796 <groupId>com.google.guava</groupId>
797 <artifactId>guava</artifactId>
798 </exclusion>
799 <exclusion>
800 <groupId>com.fasterxml.jackson.core</groupId>
801 <artifactId>jackson-core</artifactId>
802 </exclusion>
803 <exclusion>
804 <groupId>com.fasterxml.jackson.core</groupId>
805 <artifactId>jackson-annotations</artifactId>
806 </exclusion>
807 <exclusion>
808 <groupId>com.fasterxml.jackson.core</groupId>
809 <artifactId>jackson-databind</artifactId>
810 </exclusion>
811 <exclusion>
812 <groupId>org.apache.httpcomponents</groupId>
813 <artifactId>httpclient</artifactId>
814 </exclusion>
815 <exclusion>
816 <groupId>org.skyscreamer</groupId>
817 <artifactId>jsonassert</artifactId>
818 </exclusion>
819 <exclusion>
820 <groupId>xmlunit</groupId>
821 <artifactId>xmlunit</artifactId>
822 </exclusion>
823 <exclusion>
824 <groupId>com.jayway.jsonpath</groupId>
825 <artifactId>json-path</artifactId>
826 </exclusion>
827 <exclusion>
828 <groupId>net.sf.jopt-simple</groupId>
829 <artifactId>jopt-simple</artifactId>
830 </exclusion>
831 </exclusions>
832 </dependency>
833 <dependency>
834 <groupId>com.openpojo</groupId>
835 <artifactId>openpojo</artifactId>
Benjamin, Max9868f172020-05-18 16:37:51 -0400836 <version>0.8.13</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400837 </dependency>
838 <dependency>
839 <groupId>com.shazam</groupId>
840 <artifactId>shazamcrest</artifactId>
841 <version>0.11</version>
842 <scope>test</scope>
843 <exclusions>
844 <exclusion>
845 <groupId>com.google.guava</groupId>
846 <artifactId>guava</artifactId>
847 </exclusion>
848 <exclusion>
849 <groupId>org.apache.commons</groupId>
850 <artifactId>commons-lang3</artifactId>
851 </exclusion>
852 </exclusions>
853 </dependency>
854 <dependency>
855 <groupId>org.assertj</groupId>
856 <artifactId>assertj-core</artifactId>
857 <version>3.11.1</version>
858 <scope>test</scope>
859 </dependency>
860 <dependency>
Benjamin, Max9868f172020-05-18 16:37:51 -0400861 <groupId>org.ow2.asm</groupId>
862 <artifactId>asm</artifactId>
863 <version>7.0</version>
864 <scope>test</scope>
865 </dependency>
866 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400867 <groupId>com.googlecode.junit-toolbox</groupId>
868 <artifactId>junit-toolbox</artifactId>
869 <version>2.4</version>
870 </dependency>
871 </dependencies>
872 <dependencyManagement>
873 <dependencies>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400874 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400875 <groupId>org.onap.logging-analytics</groupId>
876 <artifactId>logging-slf4j</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200877 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400878 </dependency>
879 <dependency>
880 <groupId>org.onap.logging-analytics</groupId>
881 <artifactId>logging-filter-base</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200882 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400883 </dependency>
884 <dependency>
885 <groupId>org.onap.logging-analytics</groupId>
886 <artifactId>logging-filter-spring</artifactId>
Mateusz Gołuchowski4180d542020-07-30 15:33:03 +0200887 <version>1.6.7</version>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400888 </dependency>
889 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400890 <groupId>org.apache.httpcomponents</groupId>
891 <artifactId>httpcore</artifactId>
892 <version>4.4.4</version>
893 <scope>compile</scope>
894 </dependency>
895 <dependency>
896 <groupId>commons-codec</groupId>
897 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400898 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400899 <scope>compile</scope>
900 </dependency>
901 <dependency>
902 <groupId>commons-io</groupId>
903 <artifactId>commons-io</artifactId>
904 <version>2.5</version>
905 <scope>compile</scope>
906 </dependency>
907 <dependency>
908 <groupId>com.sun.xml.fastinfoset</groupId>
909 <artifactId>FastInfoset</artifactId>
910 <version>1.2.13</version>
911 <scope>compile</scope>
912 </dependency>
913 <dependency>
914 <groupId>org.springframework.boot</groupId>
915 <artifactId>spring-boot-dependencies</artifactId>
916 <version>${springboot.version}</version>
917 <type>pom</type>
918 <scope>import</scope>
919 </dependency>
920 <dependency>
921 <groupId>org.yaml</groupId>
922 <artifactId>snakeyaml</artifactId>
deepikasatheeshf70e8de2020-07-29 22:53:54 -0700923 <version>1.26</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400924 </dependency>
925 <dependency>
926 <groupId>javax.interceptor</groupId>
927 <artifactId>javax.interceptor-api</artifactId>
928 <version>1.2.2</version>
929 </dependency>
930 <dependency>
931 <groupId>org.springframework.boot</groupId>
932 <artifactId>spring-boot-starter-test</artifactId>
933 <version>${springboot.version}</version>
934 <exclusions>
935 <exclusion>
936 <groupId>com.vaadin.external.google</groupId>
937 <artifactId>android-json</artifactId>
938 </exclusion>
939 </exclusions>
940 </dependency>
941 <dependency>
942 <groupId>net.javacrumbs.shedlock</groupId>
943 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500944 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400945 </dependency>
946 <dependency>
947 <groupId>net.javacrumbs.shedlock</groupId>
948 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500949 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400950 </dependency>
951 <dependency>
952 <groupId>org.flywaydb</groupId>
953 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500954 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400955 </dependency>
956 <dependency>
957 <groupId>org.json</groupId>
958 <artifactId>json</artifactId>
959 <version>20140107</version>
960 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400961 <dependency>
962 <groupId>org.onap.aai.schema-service</groupId>
963 <artifactId>aai-schema</artifactId>
Benjamin, Max (mb388a)959d27a2020-05-15 09:57:38 -0400964 <version>1.7.2</version>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400965 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400966 </dependencies>
967 </dependencyManagement>
968 <profiles>
969 <profile>
970 <id>docker-image-build</id>
971 <properties>
972 <docker.skip>false</docker.skip>
973 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400974 </properties>
975 </profile>
976 <profile>
977 <id>docker-image-build-push</id>
978 <properties>
979 <docker.skip>false</docker.skip>
980 <docker.skip.build>false</docker.skip.build>
981 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400982 </properties>
983 </profile>
984 <profile>
985 <id>format</id>
986 <properties>
987 <format.skipValidate>true</format.skipValidate>
988 <format.skipExecute>false</format.skipExecute>
989 </properties>
990 </profile>
991 <profile>
992 <id>m2e</id>
993 <activation>
994 <property>
995 <name>m2e.version</name>
996 </property>
997 </activation>
998 <properties>
999 <originalClassifier />
1000 </properties>
1001 </profile>
1002 </profiles>
Benjamin, Maxa5de2db2020-08-07 11:36:18 -04001003</project>