blob: 2e7c7cc65ad362d35b4131aea9f6873bf2e8698d [file] [log] [blame]
Gary Wu1c1fc782018-08-24 15:30:22 -07001<?xml version="1.0"?>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
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>
seshukmb9af26a2020-02-26 19:30:17 +080014 <version>1.6.0-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>
23 </organization>
24 <modules>
25 <module>deployment-configs</module>
26 <module>common</module>
27 <module>mso-catalog-db</module>
28 <module>mso-api-handlers</module>
29 <module>adapters</module>
30 <module>asdc-controller</module>
31 <module>bpmn</module>
32 <module>cloudify-client</module>
33 <module>cxf-logging</module>
34 <module>so-monitoring</module>
Mnushkin, Dmitry6514e3b2019-10-21 09:25:56 -040035 <module>so-simulator</module>
Remigiusz Janeczekb02ea7d2020-02-17 10:17:11 +010036 <module>packages</module>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040037 </modules>
38 <properties>
39 <project.mso.base.folder>.</project.mso.base.folder>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42 <sonar.language>java</sonar.language>
43 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
44 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Priyadharshini6bafbf42020-02-18 10:52:20 +000045 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040046 <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath -->
47 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
48 <sonar.projectVersion>${project.version}</sonar.projectVersion>
49 <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions>
Priyadharshini6bafbf42020-02-18 10:52:20 +000050 <jacoco.version>0.8.5</jacoco.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040051 <org.apache.maven.user-settings />
Smokowski, Steven2ba1b392020-04-04 10:47:34 -040052 <openstack.version>1.6.1-SNAPSHOT</openstack.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040053 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
54 <originalClassifier>original</originalClassifier>
55 <docker.skip>true</docker.skip>
56 <docker.skip.build>true</docker.skip.build>
57 <docker.skip.push>true</docker.skip.push>
58 <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version>
59 <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id>
60 <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository>
Benjamin, Max7d6464b2020-01-10 10:16:16 -050061 <enforcer.skip>false</enforcer.skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040062 <nexusproxy>https://nexus.onap.org</nexusproxy>
63 <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
64 <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
65 <publicNexusPath>content/repositories/public/</publicNexusPath>
66 <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath>
67 <cxf.version>3.2.6</cxf.version>
68 <jax.ws.rs>2.1</jax.ws.rs>
Sangalang, Felix5ed98132019-07-25 10:07:49 -050069 <springboot.version>2.1.5.RELEASE</springboot.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040070 <camunda.springboot.version>3.2.0</camunda.springboot.version>
71 <format.skipValidate>false</format.skipValidate>
72 <format.skipExecute>true</format.skipExecute>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -040073 <io.fabric8.version>4.1.0</io.fabric8.version>
waqas.ikram312ee1a2020-04-15 14:13:41 +010074 <appc.client.version>1.7.1</appc.client.version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040075 </properties>
76 <distributionManagement>
77 <repository>
78 <id>ecomp-releases</id>
79 <url>${nexusproxy}/${releaseNexusPath}</url>
80 </repository>
81 <snapshotRepository>
82 <id>ecomp-snapshots</id>
83 <url>${nexusproxy}/${snapshotNexusPath}</url>
84 </snapshotRepository>
85 <site>
86 <id>ecomp-site</id>
87 <url>dav:${nexusproxy}${siteNexusPath}</url>
88 </site>
89 </distributionManagement>
90 <reporting>
91 <plugins>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-javadoc-plugin</artifactId>
95 <version>2.10.4</version>
96 <configuration>
97 <failOnError>false</failOnError>
98 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
99 <docletArtifact>
100 <groupId>org.umlgraph</groupId>
101 <artifactId>umlgraph</artifactId>
102 <version>5.6</version>
103 </docletArtifact>
104 <additionalparam>-views</additionalparam>
105 <useStandardDocletOptions>true</useStandardDocletOptions>
106 </configuration>
107 </plugin>
108 </plugins>
109 </reporting>
110 <!-- configure build -->
111 <!-- *********************************************************************************************************** -->
112 <!-- Plugins and repositories -->
113 <pluginRepositories>
114 <pluginRepository>
115 <id>central</id>
116 <url>http://repo1.maven.org/maven2</url>
117 </pluginRepository>
118 <pluginRepository>
119 <id>restlet</id>
120 <url>http://maven.restlet.com</url>
121 </pluginRepository>
122 <pluginRepository>
123 <id>ecomp-public</id>
124 <url>${nexusproxy}/${publicNexusPath}</url>
125 <snapshots>
126 <enabled>false</enabled>
127 </snapshots>
128 </pluginRepository>
129 <pluginRepository>
130 <id>ecomp-release</id>
131 <url>${nexusproxy}/${releaseNexusPath}</url>
132 <snapshots>
133 <enabled>false</enabled>
134 </snapshots>
135 </pluginRepository>
136 <pluginRepository>
137 <id>ecomp-snapshots</id>
138 <url>${nexusproxy}/${snapshotNexusPath}</url>
139 <releases>
140 <enabled>false</enabled>
141 </releases>
142 </pluginRepository>
143 </pluginRepositories>
144 <repositories>
145 <repository>
146 <id>ecomp-public</id>
147 <url>https://nexus.onap.org/content/repositories/public/</url>
148 <snapshots>
149 <enabled>false</enabled>
150 </snapshots>
151 </repository>
152 <repository>
153 <id>ecomp-releases</id>
154 <url>https://nexus.onap.org/content/repositories/releases/</url>
155 <snapshots>
156 <enabled>false</enabled>
157 </snapshots>
158 </repository>
159 <repository>
160 <id>ecomp-snapshots</id>
161 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
162 <releases>
163 <enabled>false</enabled>
164 </releases>
165 </repository>
166 <repository>
167 <id>camunda-bpm</id>
168 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
169 </repository>
170 <repository>
171 <id>camunda-public</id>
172 <url>https://app.camunda.com/nexus/content/groups/public</url>
173 </repository>
174 <repository>
175 <!-- TODO: remove from ONAP environemnt -->
176 <id>onap-releases</id>
177 <url>https://nexus.onap.org/content/repositories/releases/</url>
178 <snapshots>
179 <enabled>false</enabled>
180 </snapshots>
181 </repository>
182 <repository>
183 <!-- TODO: remove from ONAP environemnt -->
184 <id>onap-snapshots</id>
185 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
186 <releases>
187 <enabled>false</enabled>
188 </releases>
189 </repository>
190 </repositories>
191 <!-- *********************************************************************************************************** -->
192 <!-- Build -->
193 <build>
194 <resources>
195 <resource>
196 <directory>src/main/resources</directory>
197 <filtering>true</filtering>
198 </resource>
199 <resource>
200 <directory>target/generated-sources/license</directory>
201 <includes>
202 <include>third-party-licenses.txt</include>
203 </includes>
204 </resource>
205 <resource>
206 <directory>target/generated-resources/licenses</directory>
207 <includes>
208 <include>*.*</include>
209 </includes>
210 <targetPath>third-party-licenses</targetPath>
211 </resource>
212 </resources>
213 <plugins>
sarada prasad sahoo294a68f2019-07-04 18:27:00 +0530214 <!-- <plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400215 <groupId>org.sonatype.plugins</groupId>
216 <artifactId>nexus-staging-maven-plugin</artifactId>
sarada prasad sahoo294a68f2019-07-04 18:27:00 +0530217 <version>1.6.7</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400218 <extensions>true</extensions>
219 <configuration>
220 <nexusUrl>${nexusproxy}</nexusUrl>
221 <stagingProfileId>176c31dfe190a</stagingProfileId>
222 <serverId>ecomp-staging</serverId>
223 </configuration>
sarada prasad sahoo294a68f2019-07-04 18:27:00 +0530224 </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>
237 <version>3.6.1</version>
238 <configuration>
239 <debug>true</debug>
240 <compilerArgument>-Xlint</compilerArgument>
241 <verbose>true</verbose>
242 <showDeprecation>true</showDeprecation>
243 <showWarnings>true</showWarnings>
244 <source>1.8</source>
245 <target>1.8</target>
246 <compilerArgs>
247 <arg>-parameters</arg>
248 </compilerArgs>
249 </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>
337 <source>1.8</source>
338 </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>
544 <plugin>
545 <groupId>io.fabric8</groupId>
546 <artifactId>fabric8-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400547 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400548 <configuration>
549 <skip>${docker.skip}</skip>
550 <skipBuild>${docker.skip.build}</skipBuild>
551 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400552 <dockerHost>${docker.newHost}</dockerHost>
553 <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable -->
554 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400555 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400556 <pushRegistry>${dockerPushRepo}</pushRegistry>
557 <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password -->
558 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400559 <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username,
560 and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400561 <images>
562 <image>
563 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100564 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400565 <build>
566 <dockerFileDir>${project.build.directory}</dockerFileDir>
567 </build>
568 </image>
569 </images>
570 </configuration>
571 <executions>
572 <execution>
573 <id>start</id>
574 <goals>
575 <goal>build</goal>
576 <goal>push</goal>
577 </goals>
578 </execution>
579 </executions>
580 </plugin>
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-surefire-plugin</artifactId>
584 <version>2.20</version>
585 <configuration>
586 <systemPropertyVariables>
587 <so.log.level>DEBUG</so.log.level>
588 </systemPropertyVariables>
589 <rerunFailingTestsCount>2</rerunFailingTestsCount>
590 <parallel>classes</parallel>
591 <useUnlimitedThreads>false</useUnlimitedThreads>
592 <threadCount>1</threadCount>
593 </configuration>
594 </plugin>
595 <plugin>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-failsafe-plugin</artifactId>
598 <version>2.20</version>
599 <configuration>
600 <skip>true</skip>
601 <systemPropertyVariables>
602 <so.log.level>DEBUG</so.log.level>
603 </systemPropertyVariables>
604 <rerunFailingTestsCount>2</rerunFailingTestsCount>
605 </configuration>
606 </plugin>
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-dependency-plugin</artifactId>
610 <executions>
611 <execution>
612 <id>extract-docker-file</id>
613 <goals>
614 <goal>unpack</goal>
615 </goals>
616 <configuration>
617 <artifactItems>
618 <artifactItem>
619 <groupId>org.onap.so</groupId>
620 <artifactId>deployment-configs</artifactId>
621 <version>${project.version}</version>
622 <outputDirectory>${project.build.directory}</outputDirectory>
623 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
624 <excludes>Kubernetes</excludes>
625 </artifactItem>
626 </artifactItems>
627 </configuration>
628 </execution>
629 </executions>
630 </plugin>
631 <plugin>
632 <groupId>org.apache.maven.plugins</groupId>
633 <artifactId>maven-jar-plugin</artifactId>
634 <version>3.0.2</version>
635 <executions>
636 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400637 <id>original</id>
638 <phase>package</phase>
639 <goals>
640 <goal>jar</goal>
641 </goals>
642 <configuration>
Benjamin, Max7e372112019-11-08 10:32:10 -0500643 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400644 <classifier>${originalClassifier}</classifier>
645 <includes>
646 <include>**</include>
647 </includes>
648 </configuration>
649 </execution>
650 </executions>
651 </plugin>
652 <plugin>
653 <groupId>org.springframework.boot</groupId>
654 <artifactId>spring-boot-maven-plugin</artifactId>
655 <version>${springboot.version}</version>
656 <executions>
657 <execution>
658 <id>build-info</id>
659 <goals>
660 <goal>build-info</goal>
661 </goals>
662 </execution>
663 </executions>
664 </plugin>
665 </plugins>
666 </pluginManagement>
667 </build>
668 <!-- *********************************************************************************************************** -->
669 <!-- Dependencies -->
670 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400671 <dependency>
672 <groupId>org.onap.logging-analytics</groupId>
673 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400674 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400675 <dependency>
676 <groupId>org.onap.logging-analytics</groupId>
677 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400678 </dependency>
679 <dependency>
680 <groupId>org.onap.logging-analytics</groupId>
681 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400682 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400683 <dependency>
684 <groupId>com.fasterxml.jackson.core</groupId>
685 <artifactId>jackson-core</artifactId>
686 </dependency>
687 <dependency>
688 <groupId>com.fasterxml.jackson.module</groupId>
689 <artifactId>jackson-module-jaxb-annotations</artifactId>
690 </dependency>
691 <dependency>
692 <groupId>com.fasterxml.jackson.core</groupId>
693 <artifactId>jackson-databind</artifactId>
694 </dependency>
695 <dependency>
696 <groupId>com.fasterxml.jackson.core</groupId>
697 <artifactId>jackson-annotations</artifactId>
698 </dependency>
699 <dependency>
700 <groupId>com.fasterxml.jackson.jaxrs</groupId>
701 <artifactId>jackson-jaxrs-base</artifactId>
702 </dependency>
703 <dependency>
704 <groupId>com.fasterxml.jackson.jaxrs</groupId>
705 <artifactId>jackson-jaxrs-json-provider</artifactId>
706 </dependency>
707 <dependency>
708 <groupId>javax.ws.rs</groupId>
709 <artifactId>javax.ws.rs-api</artifactId>
710 <version>${jax.ws.rs}</version>
711 </dependency>
712 <dependency>
713 <groupId>javax.annotation</groupId>
714 <artifactId>javax.annotation-api</artifactId>
715 <version>1.3.1</version>
716 </dependency>
717 <dependency>
718 <groupId>javax.inject</groupId>
719 <artifactId>javax.inject</artifactId>
720 <version>1</version>
721 </dependency>
722 <dependency>
723 <groupId>org.mockito</groupId>
724 <artifactId>mockito-core</artifactId>
725 </dependency>
726 <dependency>
727 <groupId>org.hamcrest</groupId>
728 <artifactId>hamcrest-core</artifactId>
729 </dependency>
730 <dependency>
731 <groupId>org.hamcrest</groupId>
732 <artifactId>hamcrest-library</artifactId>
733 </dependency>
734 <dependency>
735 <groupId>junit</groupId>
736 <artifactId>junit</artifactId>
737 <scope>test</scope>
738 </dependency>
739 <dependency>
740 <groupId>xmlunit</groupId>
741 <artifactId>xmlunit</artifactId>
742 <version>1.6</version>
743 <scope>test</scope>
744 </dependency>
745 <dependency>
746 <groupId>com.github.tomakehurst</groupId>
747 <artifactId>wiremock-standalone</artifactId>
748 <version>2.13.0</version>
749 <scope>test</scope>
750 <exclusions>
751 <exclusion>
752 <groupId>org.mortbay.jetty</groupId>
753 <artifactId>jetty</artifactId>
754 </exclusion>
755 <exclusion>
756 <groupId>com.google.guava</groupId>
757 <artifactId>guava</artifactId>
758 </exclusion>
759 <exclusion>
760 <groupId>com.fasterxml.jackson.core</groupId>
761 <artifactId>jackson-core</artifactId>
762 </exclusion>
763 <exclusion>
764 <groupId>com.fasterxml.jackson.core</groupId>
765 <artifactId>jackson-annotations</artifactId>
766 </exclusion>
767 <exclusion>
768 <groupId>com.fasterxml.jackson.core</groupId>
769 <artifactId>jackson-databind</artifactId>
770 </exclusion>
771 <exclusion>
772 <groupId>org.apache.httpcomponents</groupId>
773 <artifactId>httpclient</artifactId>
774 </exclusion>
775 <exclusion>
776 <groupId>org.skyscreamer</groupId>
777 <artifactId>jsonassert</artifactId>
778 </exclusion>
779 <exclusion>
780 <groupId>xmlunit</groupId>
781 <artifactId>xmlunit</artifactId>
782 </exclusion>
783 <exclusion>
784 <groupId>com.jayway.jsonpath</groupId>
785 <artifactId>json-path</artifactId>
786 </exclusion>
787 <exclusion>
788 <groupId>net.sf.jopt-simple</groupId>
789 <artifactId>jopt-simple</artifactId>
790 </exclusion>
791 </exclusions>
792 </dependency>
793 <dependency>
794 <groupId>com.openpojo</groupId>
795 <artifactId>openpojo</artifactId>
796 <version>0.8.10</version>
797 </dependency>
798 <dependency>
799 <groupId>com.shazam</groupId>
800 <artifactId>shazamcrest</artifactId>
801 <version>0.11</version>
802 <scope>test</scope>
803 <exclusions>
804 <exclusion>
805 <groupId>com.google.guava</groupId>
806 <artifactId>guava</artifactId>
807 </exclusion>
808 <exclusion>
809 <groupId>org.apache.commons</groupId>
810 <artifactId>commons-lang3</artifactId>
811 </exclusion>
812 </exclusions>
813 </dependency>
814 <dependency>
815 <groupId>org.assertj</groupId>
816 <artifactId>assertj-core</artifactId>
817 <version>3.11.1</version>
818 <scope>test</scope>
819 </dependency>
820 <dependency>
821 <groupId>com.googlecode.junit-toolbox</groupId>
822 <artifactId>junit-toolbox</artifactId>
823 <version>2.4</version>
824 </dependency>
825 </dependencies>
826 <dependencyManagement>
827 <dependencies>
828 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
829 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
830 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400831 <groupId>org.onap.logging-analytics</groupId>
832 <artifactId>logging-slf4j</artifactId>
833 <version>1.6.6</version>
834 </dependency>
835 <dependency>
836 <groupId>org.onap.logging-analytics</groupId>
837 <artifactId>logging-filter-base</artifactId>
838 <version>1.6.6</version>
839 </dependency>
840 <dependency>
841 <groupId>org.onap.logging-analytics</groupId>
842 <artifactId>logging-filter-spring</artifactId>
843 <version>1.6.6</version>
844 </dependency>
845 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400846 <groupId>org.apache.httpcomponents</groupId>
847 <artifactId>httpcore</artifactId>
848 <version>4.4.4</version>
849 <scope>compile</scope>
850 </dependency>
851 <dependency>
852 <groupId>commons-codec</groupId>
853 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400854 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400855 <scope>compile</scope>
856 </dependency>
857 <dependency>
858 <groupId>commons-io</groupId>
859 <artifactId>commons-io</artifactId>
860 <version>2.5</version>
861 <scope>compile</scope>
862 </dependency>
863 <dependency>
864 <groupId>com.sun.xml.fastinfoset</groupId>
865 <artifactId>FastInfoset</artifactId>
866 <version>1.2.13</version>
867 <scope>compile</scope>
868 </dependency>
869 <dependency>
870 <groupId>org.springframework.boot</groupId>
871 <artifactId>spring-boot-dependencies</artifactId>
872 <version>${springboot.version}</version>
873 <type>pom</type>
874 <scope>import</scope>
875 </dependency>
876 <dependency>
877 <groupId>org.yaml</groupId>
878 <artifactId>snakeyaml</artifactId>
879 <version>1.23</version>
880 </dependency>
881 <dependency>
882 <groupId>javax.interceptor</groupId>
883 <artifactId>javax.interceptor-api</artifactId>
884 <version>1.2.2</version>
885 </dependency>
886 <dependency>
887 <groupId>org.springframework.boot</groupId>
888 <artifactId>spring-boot-starter-test</artifactId>
889 <version>${springboot.version}</version>
890 <exclusions>
891 <exclusion>
892 <groupId>com.vaadin.external.google</groupId>
893 <artifactId>android-json</artifactId>
894 </exclusion>
895 </exclusions>
896 </dependency>
897 <dependency>
898 <groupId>net.javacrumbs.shedlock</groupId>
899 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500900 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400901 </dependency>
902 <dependency>
903 <groupId>net.javacrumbs.shedlock</groupId>
904 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500905 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400906 </dependency>
907 <dependency>
908 <groupId>org.flywaydb</groupId>
909 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500910 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400911 </dependency>
912 <dependency>
913 <groupId>org.json</groupId>
914 <artifactId>json</artifactId>
915 <version>20140107</version>
916 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400917 </dependencies>
918 </dependencyManagement>
919 <profiles>
920 <profile>
921 <id>docker-image-build</id>
922 <properties>
923 <docker.skip>false</docker.skip>
924 <docker.skip.build>false</docker.skip.build>
925 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
926 </properties>
927 </profile>
928 <profile>
929 <id>docker-image-build-push</id>
930 <properties>
931 <docker.skip>false</docker.skip>
932 <docker.skip.build>false</docker.skip.build>
933 <docker.skip.push>false</docker.skip.push>
934 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
935 </properties>
936 </profile>
937 <profile>
938 <id>format</id>
939 <properties>
940 <format.skipValidate>true</format.skipValidate>
941 <format.skipExecute>false</format.skipExecute>
942 </properties>
943 </profile>
944 <profile>
945 <id>m2e</id>
946 <activation>
947 <property>
948 <name>m2e.version</name>
949 </property>
950 </activation>
951 <properties>
952 <originalClassifier />
953 </properties>
954 </profile>
955 </profiles>
JulienBeec92b1a2017-02-06 11:22:26 +0100956</project>