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