blob: 499410613d54f7cea349a0f5cc8b2eb955bba2fe [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>
Benjamin, Maxe6526972020-04-02 13:51:21 -0400674 <version>1.6.6</version>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400675 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400676 <dependency>
677 <groupId>org.onap.logging-analytics</groupId>
678 <artifactId>logging-filter-base</artifactId>
Benjamin, Maxe6526972020-04-02 13:51:21 -0400679 <version>1.6.6</version>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400680 </dependency>
681 <dependency>
682 <groupId>org.onap.logging-analytics</groupId>
683 <artifactId>logging-filter-spring</artifactId>
Benjamin, Maxe6526972020-04-02 13:51:21 -0400684 <version>1.6.6</version>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400685 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400686 <dependency>
687 <groupId>com.fasterxml.jackson.core</groupId>
688 <artifactId>jackson-core</artifactId>
689 </dependency>
690 <dependency>
691 <groupId>com.fasterxml.jackson.module</groupId>
692 <artifactId>jackson-module-jaxb-annotations</artifactId>
693 </dependency>
694 <dependency>
695 <groupId>com.fasterxml.jackson.core</groupId>
696 <artifactId>jackson-databind</artifactId>
697 </dependency>
698 <dependency>
699 <groupId>com.fasterxml.jackson.core</groupId>
700 <artifactId>jackson-annotations</artifactId>
701 </dependency>
702 <dependency>
703 <groupId>com.fasterxml.jackson.jaxrs</groupId>
704 <artifactId>jackson-jaxrs-base</artifactId>
705 </dependency>
706 <dependency>
707 <groupId>com.fasterxml.jackson.jaxrs</groupId>
708 <artifactId>jackson-jaxrs-json-provider</artifactId>
709 </dependency>
710 <dependency>
711 <groupId>javax.ws.rs</groupId>
712 <artifactId>javax.ws.rs-api</artifactId>
713 <version>${jax.ws.rs}</version>
714 </dependency>
715 <dependency>
716 <groupId>javax.annotation</groupId>
717 <artifactId>javax.annotation-api</artifactId>
718 <version>1.3.1</version>
719 </dependency>
720 <dependency>
721 <groupId>javax.inject</groupId>
722 <artifactId>javax.inject</artifactId>
723 <version>1</version>
724 </dependency>
725 <dependency>
726 <groupId>org.mockito</groupId>
727 <artifactId>mockito-core</artifactId>
728 </dependency>
729 <dependency>
730 <groupId>org.hamcrest</groupId>
731 <artifactId>hamcrest-core</artifactId>
732 </dependency>
733 <dependency>
734 <groupId>org.hamcrest</groupId>
735 <artifactId>hamcrest-library</artifactId>
736 </dependency>
737 <dependency>
738 <groupId>junit</groupId>
739 <artifactId>junit</artifactId>
740 <scope>test</scope>
741 </dependency>
742 <dependency>
743 <groupId>xmlunit</groupId>
744 <artifactId>xmlunit</artifactId>
745 <version>1.6</version>
746 <scope>test</scope>
747 </dependency>
748 <dependency>
749 <groupId>com.github.tomakehurst</groupId>
750 <artifactId>wiremock-standalone</artifactId>
751 <version>2.13.0</version>
752 <scope>test</scope>
753 <exclusions>
754 <exclusion>
755 <groupId>org.mortbay.jetty</groupId>
756 <artifactId>jetty</artifactId>
757 </exclusion>
758 <exclusion>
759 <groupId>com.google.guava</groupId>
760 <artifactId>guava</artifactId>
761 </exclusion>
762 <exclusion>
763 <groupId>com.fasterxml.jackson.core</groupId>
764 <artifactId>jackson-core</artifactId>
765 </exclusion>
766 <exclusion>
767 <groupId>com.fasterxml.jackson.core</groupId>
768 <artifactId>jackson-annotations</artifactId>
769 </exclusion>
770 <exclusion>
771 <groupId>com.fasterxml.jackson.core</groupId>
772 <artifactId>jackson-databind</artifactId>
773 </exclusion>
774 <exclusion>
775 <groupId>org.apache.httpcomponents</groupId>
776 <artifactId>httpclient</artifactId>
777 </exclusion>
778 <exclusion>
779 <groupId>org.skyscreamer</groupId>
780 <artifactId>jsonassert</artifactId>
781 </exclusion>
782 <exclusion>
783 <groupId>xmlunit</groupId>
784 <artifactId>xmlunit</artifactId>
785 </exclusion>
786 <exclusion>
787 <groupId>com.jayway.jsonpath</groupId>
788 <artifactId>json-path</artifactId>
789 </exclusion>
790 <exclusion>
791 <groupId>net.sf.jopt-simple</groupId>
792 <artifactId>jopt-simple</artifactId>
793 </exclusion>
794 </exclusions>
795 </dependency>
796 <dependency>
797 <groupId>com.openpojo</groupId>
798 <artifactId>openpojo</artifactId>
799 <version>0.8.10</version>
800 </dependency>
801 <dependency>
802 <groupId>com.shazam</groupId>
803 <artifactId>shazamcrest</artifactId>
804 <version>0.11</version>
805 <scope>test</scope>
806 <exclusions>
807 <exclusion>
808 <groupId>com.google.guava</groupId>
809 <artifactId>guava</artifactId>
810 </exclusion>
811 <exclusion>
812 <groupId>org.apache.commons</groupId>
813 <artifactId>commons-lang3</artifactId>
814 </exclusion>
815 </exclusions>
816 </dependency>
817 <dependency>
818 <groupId>org.assertj</groupId>
819 <artifactId>assertj-core</artifactId>
820 <version>3.11.1</version>
821 <scope>test</scope>
822 </dependency>
823 <dependency>
824 <groupId>com.googlecode.junit-toolbox</groupId>
825 <artifactId>junit-toolbox</artifactId>
826 <version>2.4</version>
827 </dependency>
828 </dependencies>
829 <dependencyManagement>
830 <dependencies>
831 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
832 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
833 <dependency>
834 <groupId>org.apache.httpcomponents</groupId>
835 <artifactId>httpcore</artifactId>
836 <version>4.4.4</version>
837 <scope>compile</scope>
838 </dependency>
839 <dependency>
840 <groupId>commons-codec</groupId>
841 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400842 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400843 <scope>compile</scope>
844 </dependency>
845 <dependency>
846 <groupId>commons-io</groupId>
847 <artifactId>commons-io</artifactId>
848 <version>2.5</version>
849 <scope>compile</scope>
850 </dependency>
851 <dependency>
852 <groupId>com.sun.xml.fastinfoset</groupId>
853 <artifactId>FastInfoset</artifactId>
854 <version>1.2.13</version>
855 <scope>compile</scope>
856 </dependency>
857 <dependency>
858 <groupId>org.springframework.boot</groupId>
859 <artifactId>spring-boot-dependencies</artifactId>
860 <version>${springboot.version}</version>
861 <type>pom</type>
862 <scope>import</scope>
863 </dependency>
864 <dependency>
865 <groupId>org.yaml</groupId>
866 <artifactId>snakeyaml</artifactId>
867 <version>1.23</version>
868 </dependency>
869 <dependency>
870 <groupId>javax.interceptor</groupId>
871 <artifactId>javax.interceptor-api</artifactId>
872 <version>1.2.2</version>
873 </dependency>
874 <dependency>
875 <groupId>org.springframework.boot</groupId>
876 <artifactId>spring-boot-starter-test</artifactId>
877 <version>${springboot.version}</version>
878 <exclusions>
879 <exclusion>
880 <groupId>com.vaadin.external.google</groupId>
881 <artifactId>android-json</artifactId>
882 </exclusion>
883 </exclusions>
884 </dependency>
885 <dependency>
886 <groupId>net.javacrumbs.shedlock</groupId>
887 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500888 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400889 </dependency>
890 <dependency>
891 <groupId>net.javacrumbs.shedlock</groupId>
892 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500893 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400894 </dependency>
895 <dependency>
896 <groupId>org.flywaydb</groupId>
897 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500898 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400899 </dependency>
900 <dependency>
901 <groupId>org.json</groupId>
902 <artifactId>json</artifactId>
903 <version>20140107</version>
904 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400905 </dependencies>
906 </dependencyManagement>
907 <profiles>
908 <profile>
909 <id>docker-image-build</id>
910 <properties>
911 <docker.skip>false</docker.skip>
912 <docker.skip.build>false</docker.skip.build>
913 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
914 </properties>
915 </profile>
916 <profile>
917 <id>docker-image-build-push</id>
918 <properties>
919 <docker.skip>false</docker.skip>
920 <docker.skip.build>false</docker.skip.build>
921 <docker.skip.push>false</docker.skip.push>
922 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
923 </properties>
924 </profile>
925 <profile>
926 <id>format</id>
927 <properties>
928 <format.skipValidate>true</format.skipValidate>
929 <format.skipExecute>false</format.skipExecute>
930 </properties>
931 </profile>
932 <profile>
933 <id>m2e</id>
934 <activation>
935 <property>
936 <name>m2e.version</name>
937 </property>
938 </activation>
939 <properties>
940 <originalClassifier />
941 </properties>
942 </profile>
943 </profiles>
JulienBeec92b1a2017-02-06 11:22:26 +0100944</project>