blob: f1cf46952d4e41428cd0b41d9c55abfe99b5a0b4 [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>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040074 </properties>
75 <distributionManagement>
76 <repository>
77 <id>ecomp-releases</id>
78 <url>${nexusproxy}/${releaseNexusPath}</url>
79 </repository>
80 <snapshotRepository>
81 <id>ecomp-snapshots</id>
82 <url>${nexusproxy}/${snapshotNexusPath}</url>
83 </snapshotRepository>
84 <site>
85 <id>ecomp-site</id>
86 <url>dav:${nexusproxy}${siteNexusPath}</url>
87 </site>
88 </distributionManagement>
89 <reporting>
90 <plugins>
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-javadoc-plugin</artifactId>
94 <version>2.10.4</version>
95 <configuration>
96 <failOnError>false</failOnError>
97 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
98 <docletArtifact>
99 <groupId>org.umlgraph</groupId>
100 <artifactId>umlgraph</artifactId>
101 <version>5.6</version>
102 </docletArtifact>
103 <additionalparam>-views</additionalparam>
104 <useStandardDocletOptions>true</useStandardDocletOptions>
105 </configuration>
106 </plugin>
107 </plugins>
108 </reporting>
109 <!-- configure build -->
110 <!-- *********************************************************************************************************** -->
111 <!-- Plugins and repositories -->
112 <pluginRepositories>
113 <pluginRepository>
114 <id>central</id>
115 <url>http://repo1.maven.org/maven2</url>
116 </pluginRepository>
117 <pluginRepository>
118 <id>restlet</id>
119 <url>http://maven.restlet.com</url>
120 </pluginRepository>
121 <pluginRepository>
122 <id>ecomp-public</id>
123 <url>${nexusproxy}/${publicNexusPath}</url>
124 <snapshots>
125 <enabled>false</enabled>
126 </snapshots>
127 </pluginRepository>
128 <pluginRepository>
129 <id>ecomp-release</id>
130 <url>${nexusproxy}/${releaseNexusPath}</url>
131 <snapshots>
132 <enabled>false</enabled>
133 </snapshots>
134 </pluginRepository>
135 <pluginRepository>
136 <id>ecomp-snapshots</id>
137 <url>${nexusproxy}/${snapshotNexusPath}</url>
138 <releases>
139 <enabled>false</enabled>
140 </releases>
141 </pluginRepository>
142 </pluginRepositories>
143 <repositories>
144 <repository>
145 <id>ecomp-public</id>
146 <url>https://nexus.onap.org/content/repositories/public/</url>
147 <snapshots>
148 <enabled>false</enabled>
149 </snapshots>
150 </repository>
151 <repository>
152 <id>ecomp-releases</id>
153 <url>https://nexus.onap.org/content/repositories/releases/</url>
154 <snapshots>
155 <enabled>false</enabled>
156 </snapshots>
157 </repository>
158 <repository>
159 <id>ecomp-snapshots</id>
160 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
161 <releases>
162 <enabled>false</enabled>
163 </releases>
164 </repository>
165 <repository>
166 <id>camunda-bpm</id>
167 <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url>
168 </repository>
169 <repository>
170 <id>camunda-public</id>
171 <url>https://app.camunda.com/nexus/content/groups/public</url>
172 </repository>
173 <repository>
174 <!-- TODO: remove from ONAP environemnt -->
175 <id>onap-releases</id>
176 <url>https://nexus.onap.org/content/repositories/releases/</url>
177 <snapshots>
178 <enabled>false</enabled>
179 </snapshots>
180 </repository>
181 <repository>
182 <!-- TODO: remove from ONAP environemnt -->
183 <id>onap-snapshots</id>
184 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
185 <releases>
186 <enabled>false</enabled>
187 </releases>
188 </repository>
189 </repositories>
190 <!-- *********************************************************************************************************** -->
191 <!-- Build -->
192 <build>
193 <resources>
194 <resource>
195 <directory>src/main/resources</directory>
196 <filtering>true</filtering>
197 </resource>
198 <resource>
199 <directory>target/generated-sources/license</directory>
200 <includes>
201 <include>third-party-licenses.txt</include>
202 </includes>
203 </resource>
204 <resource>
205 <directory>target/generated-resources/licenses</directory>
206 <includes>
207 <include>*.*</include>
208 </includes>
209 <targetPath>third-party-licenses</targetPath>
210 </resource>
211 </resources>
212 <plugins>
sarada prasad sahoo294a68f2019-07-04 18:27:00 +0530213 <!-- <plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400214 <groupId>org.sonatype.plugins</groupId>
215 <artifactId>nexus-staging-maven-plugin</artifactId>
sarada prasad sahoo294a68f2019-07-04 18:27:00 +0530216 <version>1.6.7</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400217 <extensions>true</extensions>
218 <configuration>
219 <nexusUrl>${nexusproxy}</nexusUrl>
220 <stagingProfileId>176c31dfe190a</stagingProfileId>
221 <serverId>ecomp-staging</serverId>
222 </configuration>
sarada prasad sahoo294a68f2019-07-04 18:27:00 +0530223 </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400227 <version>2.8</version>
228 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400229 <configuration>
230 <skip />
231 </configuration>
232 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400233 <plugin>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-compiler-plugin</artifactId>
236 <version>3.6.1</version>
237 <configuration>
238 <debug>true</debug>
239 <compilerArgument>-Xlint</compilerArgument>
240 <verbose>true</verbose>
241 <showDeprecation>true</showDeprecation>
242 <showWarnings>true</showWarnings>
243 <source>1.8</source>
244 <target>1.8</target>
245 <compilerArgs>
246 <arg>-parameters</arg>
247 </compilerArgs>
248 </configuration>
249 </plugin>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-ejb-plugin</artifactId>
253 <version>2.2.1</version>
254 <configuration>
255 <ejbVersion>3.0</ejbVersion>
256 <archive>
257 <manifest>
258 <addClasspath>true</addClasspath>
259 </manifest>
260 </archive>
261 </configuration>
262 </plugin>
263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-checkstyle-plugin</artifactId>
266 <version>2.17</version>
267 <configuration>
268 <skip>true</skip>
269 <includes>**/org/openecomp/**/*.java</includes>
270 <configLocation>/google_checks.xml</configLocation>
271 </configuration>
272 </plugin>
273 <plugin>
274 <groupId>org.codehaus.mojo</groupId>
275 <artifactId>findbugs-maven-plugin</artifactId>
276 <version>2.5.2</version>
277 <configuration>
278 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
279 <nested>true</nested>
280 <findbugsXmlOutput>true</findbugsXmlOutput>
281 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
282 <xmlOutput>true</xmlOutput>
283 </configuration>
284 </plugin>
285 <plugin>
286 <groupId>org.codehaus.mojo</groupId>
287 <artifactId>sonar-maven-plugin</artifactId>
288 <version>5.1</version>
289 </plugin>
290 <plugin>
291 <artifactId>maven-scm-plugin</artifactId>
292 <version>1.8.1</version>
293 <configuration>
294 <tag>${project.artifactId}-${project.version}</tag>
295 </configuration>
296 </plugin>
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-javadoc-plugin</artifactId>
300 <version>2.9</version>
301 </plugin>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-site-plugin</artifactId>
305 <version>3.6</version>
306 <dependencies>
307 <dependency>
308 <groupId>org.apache.maven.wagon</groupId>
309 <artifactId>wagon-webdav-jackrabbit</artifactId>
310 <version>2.10</version>
311 </dependency>
312 </dependencies>
313 </plugin>
314 <plugin>
315 <groupId>org.codehaus.mojo</groupId>
316 <artifactId>cobertura-maven-plugin</artifactId>
317 <version>2.5.2</version>
318 <configuration>
319 <formats>
320 <format>xml</format>
321 </formats>
322 </configuration>
323 </plugin>
324 <plugin>
325 <groupId>org.codehaus.mojo</groupId>
326 <artifactId>versions-maven-plugin</artifactId>
327 <version>1.3.1</version>
328 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400329
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400330 <plugin>
331 <groupId>com.fortify.ps.maven.plugin</groupId>
332 <artifactId>sca-maven-plugin</artifactId>
333 <version>4.20</version>
334 <configuration>
335 <buildId>mso-${project.version}</buildId>
336 <source>1.8</source>
337 </configuration>
338 </plugin>
339 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400340 <groupId>org.jacoco</groupId>
341 <artifactId>jacoco-maven-plugin</artifactId>
342 <version>${jacoco.version}</version>
343 <executions>
344 <execution>
345 <id>prepare-agent</id>
346 <goals>
347 <goal>prepare-agent</goal>
348 </goals>
349 </execution>
350 <execution>
351 <id>report</id>
352 <goals>
353 <goal>report</goal>
354 </goals>
355 <configuration>
356 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
357 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
358 </configuration>
359 </execution>
360 </executions>
361 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400362 <plugin>
363 <groupId>org.codehaus.mojo</groupId>
364 <artifactId>license-maven-plugin</artifactId>
365 <version>1.15</version>
366 <configuration>
367 <inceptionYear>2017</inceptionYear>
368 <projectName>ONAP - SO</projectName>
369 <licenseName>apache_v2</licenseName>
370 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
371 <emptyLineAfterHeader>true</emptyLineAfterHeader>
372 <trimHeaderLine>true</trimHeaderLine>
373 <processStartTag>============LICENSE_START=======================================================</processStartTag>
374 <sectionDelimiter>================================================================================</sectionDelimiter>
375 <processEndTag>============LICENSE_END=========================================================</processEndTag>
376 <includes>
377 <include>**/*.java</include>
378 <include>**/*.groovy</include>
379 </includes>
380 <excludes>
381 <exclude>**/com/att/**</exclude>
382 </excludes>
383 </configuration>
384 <executions>
385 <execution>
386 <id>verify-headers</id>
387 <goals>
388 <goal>check-file-header</goal>
389 </goals>
390 <configuration>
391 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
392 <failOnMissingHeader>true</failOnMissingHeader>
393 </configuration>
394 </execution>
395 </executions>
396 </plugin>
397 <plugin>
398 <groupId>org.codehaus.gmaven</groupId>
399 <artifactId>groovy-maven-plugin</artifactId>
400 <version>2.0</version>
401 <executions>
402 <!-- set absolute base path from super pom -->
403 <execution>
404 <id>find-basepath</id>
405 <phase>validate</phase>
406 <goals>
407 <goal>execute</goal>
408 </goals>
409 <configuration>
410 <source>
411 <![CDATA[
412 import java.io.File;
413 log.info('## define projects super pom absolute path through basepath_marker')
414 String p = "basepath_marker";
415 File f = null;
416 if( p != null ) {
417 def _max_child_poms = 0
418 while( _max_child_poms++ < 5 ) {
419 f = new File( p );
420 if( f.exists() ) {
421 break;
422 }
423 p = "../" + p;
424 }
425 }
426 if( f != null ) {
427 String basePath = f.getCanonicalPath();
428 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
429 project.properties['base-path'] = basePath.replace( '\\' , '/');
430 log.info(' - used base path = ' + project.properties['base-path'] );
431 } else {
432 log.error( 'Could not find basepath_marker marker file!' );
433 System.stop( 0 );
434 }
435 ]]>
436 </source>
437 </configuration>
438 </execution>
439 </executions>
440 </plugin>
441 <plugin>
442 <groupId>net.revelc.code.formatter</groupId>
443 <artifactId>formatter-maven-plugin</artifactId>
444 <version>2.9.0</version>
445 <executions>
446 <execution>
447 <id>format-java</id>
448 <goals>
449 <goal>format</goal>
450 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530451 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400452 <configuration>
453 <skip>${format.skipExecute}</skip>
454 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
455 </configuration>
456 </execution>
457 <execution>
458 <id>format-xml</id>
459 <goals>
460 <goal>format</goal>
461 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530462 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400463 <configuration>
464 <skip>${format.skipExecute}</skip>
465 <sourceDirectory>${project.basedir}</sourceDirectory>
466 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
467 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400468 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400469 </includes>
470 </configuration>
471 </execution>
472 <execution>
473 <id>validate-java</id>
474 <goals>
475 <goal>validate</goal>
476 </goals>
477 <configuration>
478 <skip>${format.skipValidate}</skip>
479 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
480 </configuration>
481 </execution>
482 <execution>
483 <id>validate-poms</id>
484 <goals>
485 <goal>validate</goal>
486 </goals>
487 <configuration>
488 <skip>${format.skipValidate}</skip>
489 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400490 <includes>
491 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400492 </includes>
493 </configuration>
494 </execution>
495 </executions>
496 <dependencies>
497 <dependency>
498 <groupId>com.fasterxml.jackson.core</groupId>
499 <artifactId>jackson-annotations</artifactId>
500 <version>2.9.8</version>
501 </dependency>
502 </dependencies>
503 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500504 <plugin>
505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-enforcer-plugin</artifactId>
507 <version>3.0.0-M3</version>
508 <executions>
509 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100510 <id>enforce-property</id>
511 <configuration>
512 <skip>true</skip>
513 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500514 </execution>
515 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100516 <id>enforce-no-snapshots</id>
517 <configuration>
518 <skip>true</skip>
519 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500520 </execution>
521 <execution>
522 <id>enforce-banned-dependencies</id>
523 <goals>
524 <goal>enforce</goal>
525 </goals>
526 <configuration>
527 <rules>
528 <bannedDependencies>
529 <excludes>
530 <exclude>org.powermock</exclude>
531 </excludes>
532 <searchTransitive>false</searchTransitive>
533 </bannedDependencies>
534 </rules>
535 <fail>true</fail>
536 </configuration>
537 </execution>
538 </executions>
539 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400540 </plugins>
541 <pluginManagement>
542 <plugins>
543 <plugin>
544 <groupId>io.fabric8</groupId>
545 <artifactId>fabric8-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400546 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400547 <configuration>
548 <skip>${docker.skip}</skip>
549 <skipBuild>${docker.skip.build}</skipBuild>
550 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400551 <dockerHost>${docker.newHost}</dockerHost>
552 <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable -->
553 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400554 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400555 <pushRegistry>${dockerPushRepo}</pushRegistry>
556 <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password -->
557 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400558 <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username,
559 and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400560 <images>
561 <image>
562 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100563 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400564 <build>
565 <dockerFileDir>${project.build.directory}</dockerFileDir>
566 </build>
567 </image>
568 </images>
569 </configuration>
570 <executions>
571 <execution>
572 <id>start</id>
573 <goals>
574 <goal>build</goal>
575 <goal>push</goal>
576 </goals>
577 </execution>
578 </executions>
579 </plugin>
580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-surefire-plugin</artifactId>
583 <version>2.20</version>
584 <configuration>
585 <systemPropertyVariables>
586 <so.log.level>DEBUG</so.log.level>
587 </systemPropertyVariables>
588 <rerunFailingTestsCount>2</rerunFailingTestsCount>
589 <parallel>classes</parallel>
590 <useUnlimitedThreads>false</useUnlimitedThreads>
591 <threadCount>1</threadCount>
592 </configuration>
593 </plugin>
594 <plugin>
595 <groupId>org.apache.maven.plugins</groupId>
596 <artifactId>maven-failsafe-plugin</artifactId>
597 <version>2.20</version>
598 <configuration>
599 <skip>true</skip>
600 <systemPropertyVariables>
601 <so.log.level>DEBUG</so.log.level>
602 </systemPropertyVariables>
603 <rerunFailingTestsCount>2</rerunFailingTestsCount>
604 </configuration>
605 </plugin>
606 <plugin>
607 <groupId>org.apache.maven.plugins</groupId>
608 <artifactId>maven-dependency-plugin</artifactId>
609 <executions>
610 <execution>
611 <id>extract-docker-file</id>
612 <goals>
613 <goal>unpack</goal>
614 </goals>
615 <configuration>
616 <artifactItems>
617 <artifactItem>
618 <groupId>org.onap.so</groupId>
619 <artifactId>deployment-configs</artifactId>
620 <version>${project.version}</version>
621 <outputDirectory>${project.build.directory}</outputDirectory>
622 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
623 <excludes>Kubernetes</excludes>
624 </artifactItem>
625 </artifactItems>
626 </configuration>
627 </execution>
628 </executions>
629 </plugin>
630 <plugin>
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-jar-plugin</artifactId>
633 <version>3.0.2</version>
634 <executions>
635 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400636 <id>original</id>
637 <phase>package</phase>
638 <goals>
639 <goal>jar</goal>
640 </goals>
641 <configuration>
Benjamin, Max7e372112019-11-08 10:32:10 -0500642 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400643 <classifier>${originalClassifier}</classifier>
644 <includes>
645 <include>**</include>
646 </includes>
647 </configuration>
648 </execution>
649 </executions>
650 </plugin>
651 <plugin>
652 <groupId>org.springframework.boot</groupId>
653 <artifactId>spring-boot-maven-plugin</artifactId>
654 <version>${springboot.version}</version>
655 <executions>
656 <execution>
657 <id>build-info</id>
658 <goals>
659 <goal>build-info</goal>
660 </goals>
661 </execution>
662 </executions>
663 </plugin>
664 </plugins>
665 </pluginManagement>
666 </build>
667 <!-- *********************************************************************************************************** -->
668 <!-- Dependencies -->
669 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400670 <dependency>
671 <groupId>org.onap.logging-analytics</groupId>
672 <artifactId>logging-slf4j</artifactId>
Benjamin, Maxe6526972020-04-02 13:51:21 -0400673 <version>1.6.6</version>
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>
Benjamin, Maxe6526972020-04-02 13:51:21 -0400678 <version>1.6.6</version>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400679 </dependency>
680 <dependency>
681 <groupId>org.onap.logging-analytics</groupId>
682 <artifactId>logging-filter-spring</artifactId>
Benjamin, Maxe6526972020-04-02 13:51:21 -0400683 <version>1.6.6</version>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400684 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400685 <dependency>
686 <groupId>com.fasterxml.jackson.core</groupId>
687 <artifactId>jackson-core</artifactId>
688 </dependency>
689 <dependency>
690 <groupId>com.fasterxml.jackson.module</groupId>
691 <artifactId>jackson-module-jaxb-annotations</artifactId>
692 </dependency>
693 <dependency>
694 <groupId>com.fasterxml.jackson.core</groupId>
695 <artifactId>jackson-databind</artifactId>
696 </dependency>
697 <dependency>
698 <groupId>com.fasterxml.jackson.core</groupId>
699 <artifactId>jackson-annotations</artifactId>
700 </dependency>
701 <dependency>
702 <groupId>com.fasterxml.jackson.jaxrs</groupId>
703 <artifactId>jackson-jaxrs-base</artifactId>
704 </dependency>
705 <dependency>
706 <groupId>com.fasterxml.jackson.jaxrs</groupId>
707 <artifactId>jackson-jaxrs-json-provider</artifactId>
708 </dependency>
709 <dependency>
710 <groupId>javax.ws.rs</groupId>
711 <artifactId>javax.ws.rs-api</artifactId>
712 <version>${jax.ws.rs}</version>
713 </dependency>
714 <dependency>
715 <groupId>javax.annotation</groupId>
716 <artifactId>javax.annotation-api</artifactId>
717 <version>1.3.1</version>
718 </dependency>
719 <dependency>
720 <groupId>javax.inject</groupId>
721 <artifactId>javax.inject</artifactId>
722 <version>1</version>
723 </dependency>
724 <dependency>
725 <groupId>org.mockito</groupId>
726 <artifactId>mockito-core</artifactId>
727 </dependency>
728 <dependency>
729 <groupId>org.hamcrest</groupId>
730 <artifactId>hamcrest-core</artifactId>
731 </dependency>
732 <dependency>
733 <groupId>org.hamcrest</groupId>
734 <artifactId>hamcrest-library</artifactId>
735 </dependency>
736 <dependency>
737 <groupId>junit</groupId>
738 <artifactId>junit</artifactId>
739 <scope>test</scope>
740 </dependency>
741 <dependency>
742 <groupId>xmlunit</groupId>
743 <artifactId>xmlunit</artifactId>
744 <version>1.6</version>
745 <scope>test</scope>
746 </dependency>
747 <dependency>
748 <groupId>com.github.tomakehurst</groupId>
749 <artifactId>wiremock-standalone</artifactId>
750 <version>2.13.0</version>
751 <scope>test</scope>
752 <exclusions>
753 <exclusion>
754 <groupId>org.mortbay.jetty</groupId>
755 <artifactId>jetty</artifactId>
756 </exclusion>
757 <exclusion>
758 <groupId>com.google.guava</groupId>
759 <artifactId>guava</artifactId>
760 </exclusion>
761 <exclusion>
762 <groupId>com.fasterxml.jackson.core</groupId>
763 <artifactId>jackson-core</artifactId>
764 </exclusion>
765 <exclusion>
766 <groupId>com.fasterxml.jackson.core</groupId>
767 <artifactId>jackson-annotations</artifactId>
768 </exclusion>
769 <exclusion>
770 <groupId>com.fasterxml.jackson.core</groupId>
771 <artifactId>jackson-databind</artifactId>
772 </exclusion>
773 <exclusion>
774 <groupId>org.apache.httpcomponents</groupId>
775 <artifactId>httpclient</artifactId>
776 </exclusion>
777 <exclusion>
778 <groupId>org.skyscreamer</groupId>
779 <artifactId>jsonassert</artifactId>
780 </exclusion>
781 <exclusion>
782 <groupId>xmlunit</groupId>
783 <artifactId>xmlunit</artifactId>
784 </exclusion>
785 <exclusion>
786 <groupId>com.jayway.jsonpath</groupId>
787 <artifactId>json-path</artifactId>
788 </exclusion>
789 <exclusion>
790 <groupId>net.sf.jopt-simple</groupId>
791 <artifactId>jopt-simple</artifactId>
792 </exclusion>
793 </exclusions>
794 </dependency>
795 <dependency>
796 <groupId>com.openpojo</groupId>
797 <artifactId>openpojo</artifactId>
798 <version>0.8.10</version>
799 </dependency>
800 <dependency>
801 <groupId>com.shazam</groupId>
802 <artifactId>shazamcrest</artifactId>
803 <version>0.11</version>
804 <scope>test</scope>
805 <exclusions>
806 <exclusion>
807 <groupId>com.google.guava</groupId>
808 <artifactId>guava</artifactId>
809 </exclusion>
810 <exclusion>
811 <groupId>org.apache.commons</groupId>
812 <artifactId>commons-lang3</artifactId>
813 </exclusion>
814 </exclusions>
815 </dependency>
816 <dependency>
817 <groupId>org.assertj</groupId>
818 <artifactId>assertj-core</artifactId>
819 <version>3.11.1</version>
820 <scope>test</scope>
821 </dependency>
822 <dependency>
823 <groupId>com.googlecode.junit-toolbox</groupId>
824 <artifactId>junit-toolbox</artifactId>
825 <version>2.4</version>
826 </dependency>
827 </dependencies>
828 <dependencyManagement>
829 <dependencies>
830 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
831 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
832 <dependency>
833 <groupId>org.apache.httpcomponents</groupId>
834 <artifactId>httpcore</artifactId>
835 <version>4.4.4</version>
836 <scope>compile</scope>
837 </dependency>
838 <dependency>
839 <groupId>commons-codec</groupId>
840 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400841 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400842 <scope>compile</scope>
843 </dependency>
844 <dependency>
845 <groupId>commons-io</groupId>
846 <artifactId>commons-io</artifactId>
847 <version>2.5</version>
848 <scope>compile</scope>
849 </dependency>
850 <dependency>
851 <groupId>com.sun.xml.fastinfoset</groupId>
852 <artifactId>FastInfoset</artifactId>
853 <version>1.2.13</version>
854 <scope>compile</scope>
855 </dependency>
856 <dependency>
857 <groupId>org.springframework.boot</groupId>
858 <artifactId>spring-boot-dependencies</artifactId>
859 <version>${springboot.version}</version>
860 <type>pom</type>
861 <scope>import</scope>
862 </dependency>
863 <dependency>
864 <groupId>org.yaml</groupId>
865 <artifactId>snakeyaml</artifactId>
866 <version>1.23</version>
867 </dependency>
868 <dependency>
869 <groupId>javax.interceptor</groupId>
870 <artifactId>javax.interceptor-api</artifactId>
871 <version>1.2.2</version>
872 </dependency>
873 <dependency>
874 <groupId>org.springframework.boot</groupId>
875 <artifactId>spring-boot-starter-test</artifactId>
876 <version>${springboot.version}</version>
877 <exclusions>
878 <exclusion>
879 <groupId>com.vaadin.external.google</groupId>
880 <artifactId>android-json</artifactId>
881 </exclusion>
882 </exclusions>
883 </dependency>
884 <dependency>
885 <groupId>net.javacrumbs.shedlock</groupId>
886 <artifactId>shedlock-spring</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500887 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400888 </dependency>
889 <dependency>
890 <groupId>net.javacrumbs.shedlock</groupId>
891 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500892 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400893 </dependency>
894 <dependency>
895 <groupId>org.flywaydb</groupId>
896 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500897 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400898 </dependency>
899 <dependency>
900 <groupId>org.json</groupId>
901 <artifactId>json</artifactId>
902 <version>20140107</version>
903 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400904 </dependencies>
905 </dependencyManagement>
906 <profiles>
907 <profile>
908 <id>docker-image-build</id>
909 <properties>
910 <docker.skip>false</docker.skip>
911 <docker.skip.build>false</docker.skip.build>
912 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
913 </properties>
914 </profile>
915 <profile>
916 <id>docker-image-build-push</id>
917 <properties>
918 <docker.skip>false</docker.skip>
919 <docker.skip.build>false</docker.skip.build>
920 <docker.skip.push>false</docker.skip.push>
921 <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation>
922 </properties>
923 </profile>
924 <profile>
925 <id>format</id>
926 <properties>
927 <format.skipValidate>true</format.skipValidate>
928 <format.skipExecute>false</format.skipExecute>
929 </properties>
930 </profile>
931 <profile>
932 <id>m2e</id>
933 <activation>
934 <property>
935 <name>m2e.version</name>
936 </property>
937 </activation>
938 <properties>
939 <originalClassifier />
940 </properties>
941 </profile>
942 </profiles>
JulienBeec92b1a2017-02-06 11:22:26 +0100943</project>