blob: 6ee92f574d967e08b480f729f77d35d3e8c62e49 [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>
Boslet, Coryfd2aba22020-05-08 14:58:31 -040023 </organization>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040024 <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, Max5f57d092020-05-13 17:48:03 -040074 <io.fabric8.version>0.33.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>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400215 <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version>
216 <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl> <stagingProfileId>176c31dfe190a</stagingProfileId>
217 <serverId>ecomp-staging</serverId> </configuration> </plugin> -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-deploy-plugin</artifactId>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400221 <version>2.8</version>
222 <!-- This version supports the "deployAtEnd" parameter -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400223 <configuration>
224 <skip />
225 </configuration>
226 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-compiler-plugin</artifactId>
230 <version>3.6.1</version>
231 <configuration>
232 <debug>true</debug>
233 <compilerArgument>-Xlint</compilerArgument>
234 <verbose>true</verbose>
235 <showDeprecation>true</showDeprecation>
236 <showWarnings>true</showWarnings>
237 <source>1.8</source>
238 <target>1.8</target>
239 <compilerArgs>
240 <arg>-parameters</arg>
241 </compilerArgs>
242 </configuration>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-ejb-plugin</artifactId>
247 <version>2.2.1</version>
248 <configuration>
249 <ejbVersion>3.0</ejbVersion>
250 <archive>
251 <manifest>
252 <addClasspath>true</addClasspath>
253 </manifest>
254 </archive>
255 </configuration>
256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-checkstyle-plugin</artifactId>
260 <version>2.17</version>
261 <configuration>
262 <skip>true</skip>
263 <includes>**/org/openecomp/**/*.java</includes>
264 <configLocation>/google_checks.xml</configLocation>
265 </configuration>
266 </plugin>
267 <plugin>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>findbugs-maven-plugin</artifactId>
270 <version>2.5.2</version>
271 <configuration>
272 <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile>
273 <nested>true</nested>
274 <findbugsXmlOutput>true</findbugsXmlOutput>
275 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
276 <xmlOutput>true</xmlOutput>
277 </configuration>
278 </plugin>
279 <plugin>
280 <groupId>org.codehaus.mojo</groupId>
281 <artifactId>sonar-maven-plugin</artifactId>
282 <version>5.1</version>
283 </plugin>
284 <plugin>
285 <artifactId>maven-scm-plugin</artifactId>
286 <version>1.8.1</version>
287 <configuration>
288 <tag>${project.artifactId}-${project.version}</tag>
289 </configuration>
290 </plugin>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-javadoc-plugin</artifactId>
294 <version>2.9</version>
295 </plugin>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-site-plugin</artifactId>
299 <version>3.6</version>
300 <dependencies>
301 <dependency>
302 <groupId>org.apache.maven.wagon</groupId>
303 <artifactId>wagon-webdav-jackrabbit</artifactId>
304 <version>2.10</version>
305 </dependency>
306 </dependencies>
307 </plugin>
308 <plugin>
309 <groupId>org.codehaus.mojo</groupId>
310 <artifactId>cobertura-maven-plugin</artifactId>
311 <version>2.5.2</version>
312 <configuration>
313 <formats>
314 <format>xml</format>
315 </formats>
316 </configuration>
317 </plugin>
318 <plugin>
319 <groupId>org.codehaus.mojo</groupId>
320 <artifactId>versions-maven-plugin</artifactId>
321 <version>1.3.1</version>
322 </plugin>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400323
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400324 <plugin>
325 <groupId>com.fortify.ps.maven.plugin</groupId>
326 <artifactId>sca-maven-plugin</artifactId>
327 <version>4.20</version>
328 <configuration>
329 <buildId>mso-${project.version}</buildId>
330 <source>1.8</source>
331 </configuration>
332 </plugin>
333 <plugin>
tragait1ae4a562019-10-21 14:26:08 -0400334 <groupId>org.jacoco</groupId>
335 <artifactId>jacoco-maven-plugin</artifactId>
336 <version>${jacoco.version}</version>
337 <executions>
338 <execution>
339 <id>prepare-agent</id>
340 <goals>
341 <goal>prepare-agent</goal>
342 </goals>
343 </execution>
344 <execution>
345 <id>report</id>
346 <goals>
347 <goal>report</goal>
348 </goals>
349 <configuration>
350 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
351 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
352 </configuration>
353 </execution>
354 </executions>
355 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400356 <plugin>
357 <groupId>org.codehaus.mojo</groupId>
358 <artifactId>license-maven-plugin</artifactId>
359 <version>1.15</version>
360 <configuration>
361 <inceptionYear>2017</inceptionYear>
362 <projectName>ONAP - SO</projectName>
363 <licenseName>apache_v2</licenseName>
364 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
365 <emptyLineAfterHeader>true</emptyLineAfterHeader>
366 <trimHeaderLine>true</trimHeaderLine>
367 <processStartTag>============LICENSE_START=======================================================</processStartTag>
368 <sectionDelimiter>================================================================================</sectionDelimiter>
369 <processEndTag>============LICENSE_END=========================================================</processEndTag>
370 <includes>
371 <include>**/*.java</include>
372 <include>**/*.groovy</include>
373 </includes>
374 <excludes>
375 <exclude>**/com/att/**</exclude>
376 </excludes>
377 </configuration>
378 <executions>
379 <execution>
380 <id>verify-headers</id>
381 <goals>
382 <goal>check-file-header</goal>
383 </goals>
384 <configuration>
385 <failOnNotUptodateHeader>true</failOnNotUptodateHeader>
386 <failOnMissingHeader>true</failOnMissingHeader>
387 </configuration>
388 </execution>
389 </executions>
390 </plugin>
391 <plugin>
392 <groupId>org.codehaus.gmaven</groupId>
393 <artifactId>groovy-maven-plugin</artifactId>
394 <version>2.0</version>
395 <executions>
396 <!-- set absolute base path from super pom -->
397 <execution>
398 <id>find-basepath</id>
399 <phase>validate</phase>
400 <goals>
401 <goal>execute</goal>
402 </goals>
403 <configuration>
404 <source>
405 <![CDATA[
406 import java.io.File;
407 log.info('## define projects super pom absolute path through basepath_marker')
408 String p = "basepath_marker";
409 File f = null;
410 if( p != null ) {
411 def _max_child_poms = 0
412 while( _max_child_poms++ < 5 ) {
413 f = new File( p );
414 if( f.exists() ) {
415 break;
416 }
417 p = "../" + p;
418 }
419 }
420 if( f != null ) {
421 String basePath = f.getCanonicalPath();
422 basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
423 project.properties['base-path'] = basePath.replace( '\\' , '/');
424 log.info(' - used base path = ' + project.properties['base-path'] );
425 } else {
426 log.error( 'Could not find basepath_marker marker file!' );
427 System.stop( 0 );
428 }
429 ]]>
430 </source>
431 </configuration>
432 </execution>
433 </executions>
434 </plugin>
435 <plugin>
436 <groupId>net.revelc.code.formatter</groupId>
437 <artifactId>formatter-maven-plugin</artifactId>
438 <version>2.9.0</version>
439 <executions>
440 <execution>
441 <id>format-java</id>
442 <goals>
443 <goal>format</goal>
444 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530445 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400446 <configuration>
447 <skip>${format.skipExecute}</skip>
448 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
449 </configuration>
450 </execution>
451 <execution>
452 <id>format-xml</id>
453 <goals>
454 <goal>format</goal>
455 </goals>
subhash kumar singhf8750612019-04-19 12:24:00 +0530456 <phase>process-sources</phase>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400457 <configuration>
458 <skip>${format.skipExecute}</skip>
459 <sourceDirectory>${project.basedir}</sourceDirectory>
460 <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile>
461 <includes>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400462 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400463 </includes>
464 </configuration>
465 </execution>
466 <execution>
467 <id>validate-java</id>
468 <goals>
469 <goal>validate</goal>
470 </goals>
471 <configuration>
472 <skip>${format.skipValidate}</skip>
473 <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile>
474 </configuration>
475 </execution>
476 <execution>
477 <id>validate-poms</id>
478 <goals>
479 <goal>validate</goal>
480 </goals>
481 <configuration>
482 <skip>${format.skipValidate}</skip>
483 <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400484 <includes>
485 <include>pom.xml</include>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400486 </includes>
487 </configuration>
488 </execution>
489 </executions>
490 <dependencies>
491 <dependency>
492 <groupId>com.fasterxml.jackson.core</groupId>
493 <artifactId>jackson-annotations</artifactId>
494 <version>2.9.8</version>
495 </dependency>
496 </dependencies>
497 </plugin>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-enforcer-plugin</artifactId>
501 <version>3.0.0-M3</version>
502 <executions>
503 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100504 <id>enforce-property</id>
505 <configuration>
506 <skip>true</skip>
507 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500508 </execution>
509 <execution>
kjaniak48fbeba2019-12-19 13:08:05 +0100510 <id>enforce-no-snapshots</id>
511 <configuration>
512 <skip>true</skip>
513 </configuration>
Benjamin, Max7d6464b2020-01-10 10:16:16 -0500514 </execution>
515 <execution>
516 <id>enforce-banned-dependencies</id>
517 <goals>
518 <goal>enforce</goal>
519 </goals>
520 <configuration>
521 <rules>
522 <bannedDependencies>
523 <excludes>
524 <exclude>org.powermock</exclude>
525 </excludes>
526 <searchTransitive>false</searchTransitive>
527 </bannedDependencies>
528 </rules>
529 <fail>true</fail>
530 </configuration>
531 </execution>
532 </executions>
533 </plugin>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400534 </plugins>
535 <pluginManagement>
536 <plugins>
537 <plugin>
538 <groupId>io.fabric8</groupId>
Benjamin, Max5f57d092020-05-13 17:48:03 -0400539 <artifactId>docker-maven-plugin</artifactId>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400540 <version>${io.fabric8.version}</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400541 <configuration>
542 <skip>${docker.skip}</skip>
543 <skipBuild>${docker.skip.build}</skipBuild>
544 <skipPush>${docker.skip.push}</skipPush>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400545 <dockerHost>${docker.newHost}</dockerHost>
546 <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable -->
547 <certPath>${docker.host.cert.path}</certPath>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400548 <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command -->
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400549 <pushRegistry>${dockerPushRepo}</pushRegistry>
550 <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password -->
551 <pullRegistry>${dockerPullRepo}</pullRegistry>
Benjamin, Max (mb388a)1a592b92019-06-17 10:51:08 -0400552 <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username,
553 and password -->
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400554 <images>
555 <image>
556 <alias>service</alias>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100557 <name>${project.artifactId}:${project.version}</name>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400558 <build>
559 <dockerFileDir>${project.build.directory}</dockerFileDir>
560 </build>
561 </image>
562 </images>
563 </configuration>
564 <executions>
565 <execution>
566 <id>start</id>
567 <goals>
568 <goal>build</goal>
569 <goal>push</goal>
570 </goals>
571 </execution>
572 </executions>
573 </plugin>
574 <plugin>
575 <groupId>org.apache.maven.plugins</groupId>
576 <artifactId>maven-surefire-plugin</artifactId>
577 <version>2.20</version>
578 <configuration>
579 <systemPropertyVariables>
580 <so.log.level>DEBUG</so.log.level>
581 </systemPropertyVariables>
582 <rerunFailingTestsCount>2</rerunFailingTestsCount>
583 <parallel>classes</parallel>
584 <useUnlimitedThreads>false</useUnlimitedThreads>
585 <threadCount>1</threadCount>
586 </configuration>
587 </plugin>
588 <plugin>
589 <groupId>org.apache.maven.plugins</groupId>
590 <artifactId>maven-failsafe-plugin</artifactId>
591 <version>2.20</version>
592 <configuration>
593 <skip>true</skip>
594 <systemPropertyVariables>
595 <so.log.level>DEBUG</so.log.level>
596 </systemPropertyVariables>
597 <rerunFailingTestsCount>2</rerunFailingTestsCount>
598 </configuration>
599 </plugin>
600 <plugin>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-dependency-plugin</artifactId>
603 <executions>
604 <execution>
605 <id>extract-docker-file</id>
606 <goals>
607 <goal>unpack</goal>
608 </goals>
609 <configuration>
610 <artifactItems>
611 <artifactItem>
612 <groupId>org.onap.so</groupId>
613 <artifactId>deployment-configs</artifactId>
614 <version>${project.version}</version>
615 <outputDirectory>${project.build.directory}</outputDirectory>
616 <includes>*,scripts/**,certs/**, logger/*.xml</includes>
617 <excludes>Kubernetes</excludes>
618 </artifactItem>
619 </artifactItems>
620 </configuration>
621 </execution>
622 </executions>
623 </plugin>
624 <plugin>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-jar-plugin</artifactId>
627 <version>3.0.2</version>
628 <executions>
629 <execution>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400630 <id>original</id>
631 <phase>package</phase>
632 <goals>
633 <goal>jar</goal>
634 </goals>
635 <configuration>
Benjamin, Max7e372112019-11-08 10:32:10 -0500636 <skip>true</skip>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400637 <classifier>${originalClassifier}</classifier>
638 <includes>
639 <include>**</include>
640 </includes>
641 </configuration>
642 </execution>
643 </executions>
644 </plugin>
645 <plugin>
646 <groupId>org.springframework.boot</groupId>
647 <artifactId>spring-boot-maven-plugin</artifactId>
648 <version>${springboot.version}</version>
649 <executions>
650 <execution>
651 <id>build-info</id>
652 <goals>
653 <goal>build-info</goal>
654 </goals>
655 </execution>
656 </executions>
657 </plugin>
658 </plugins>
659 </pluginManagement>
660 </build>
661 <!-- *********************************************************************************************************** -->
662 <!-- Dependencies -->
663 <dependencies>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400664 <dependency>
665 <groupId>org.onap.logging-analytics</groupId>
666 <artifactId>logging-slf4j</artifactId>
Bhatt, Premaae9a2bd2019-09-17 08:08:12 -0400667 </dependency>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400668 <dependency>
669 <groupId>org.onap.logging-analytics</groupId>
670 <artifactId>logging-filter-base</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400671 </dependency>
672 <dependency>
673 <groupId>org.onap.logging-analytics</groupId>
674 <artifactId>logging-filter-spring</artifactId>
Plummer, Brittany2ede5f02019-09-10 11:29:42 -0400675 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400676 <dependency>
677 <groupId>com.fasterxml.jackson.core</groupId>
678 <artifactId>jackson-core</artifactId>
679 </dependency>
680 <dependency>
681 <groupId>com.fasterxml.jackson.module</groupId>
682 <artifactId>jackson-module-jaxb-annotations</artifactId>
683 </dependency>
684 <dependency>
685 <groupId>com.fasterxml.jackson.core</groupId>
686 <artifactId>jackson-databind</artifactId>
687 </dependency>
688 <dependency>
689 <groupId>com.fasterxml.jackson.core</groupId>
690 <artifactId>jackson-annotations</artifactId>
691 </dependency>
692 <dependency>
693 <groupId>com.fasterxml.jackson.jaxrs</groupId>
694 <artifactId>jackson-jaxrs-base</artifactId>
695 </dependency>
696 <dependency>
697 <groupId>com.fasterxml.jackson.jaxrs</groupId>
698 <artifactId>jackson-jaxrs-json-provider</artifactId>
699 </dependency>
700 <dependency>
701 <groupId>javax.ws.rs</groupId>
702 <artifactId>javax.ws.rs-api</artifactId>
703 <version>${jax.ws.rs}</version>
704 </dependency>
705 <dependency>
706 <groupId>javax.annotation</groupId>
707 <artifactId>javax.annotation-api</artifactId>
708 <version>1.3.1</version>
709 </dependency>
710 <dependency>
711 <groupId>javax.inject</groupId>
712 <artifactId>javax.inject</artifactId>
713 <version>1</version>
714 </dependency>
715 <dependency>
716 <groupId>org.mockito</groupId>
717 <artifactId>mockito-core</artifactId>
718 </dependency>
719 <dependency>
720 <groupId>org.hamcrest</groupId>
721 <artifactId>hamcrest-core</artifactId>
722 </dependency>
723 <dependency>
724 <groupId>org.hamcrest</groupId>
725 <artifactId>hamcrest-library</artifactId>
726 </dependency>
727 <dependency>
728 <groupId>junit</groupId>
729 <artifactId>junit</artifactId>
730 <scope>test</scope>
731 </dependency>
732 <dependency>
733 <groupId>xmlunit</groupId>
734 <artifactId>xmlunit</artifactId>
735 <version>1.6</version>
736 <scope>test</scope>
737 </dependency>
738 <dependency>
739 <groupId>com.github.tomakehurst</groupId>
740 <artifactId>wiremock-standalone</artifactId>
741 <version>2.13.0</version>
742 <scope>test</scope>
743 <exclusions>
744 <exclusion>
745 <groupId>org.mortbay.jetty</groupId>
746 <artifactId>jetty</artifactId>
747 </exclusion>
748 <exclusion>
749 <groupId>com.google.guava</groupId>
750 <artifactId>guava</artifactId>
751 </exclusion>
752 <exclusion>
753 <groupId>com.fasterxml.jackson.core</groupId>
754 <artifactId>jackson-core</artifactId>
755 </exclusion>
756 <exclusion>
757 <groupId>com.fasterxml.jackson.core</groupId>
758 <artifactId>jackson-annotations</artifactId>
759 </exclusion>
760 <exclusion>
761 <groupId>com.fasterxml.jackson.core</groupId>
762 <artifactId>jackson-databind</artifactId>
763 </exclusion>
764 <exclusion>
765 <groupId>org.apache.httpcomponents</groupId>
766 <artifactId>httpclient</artifactId>
767 </exclusion>
768 <exclusion>
769 <groupId>org.skyscreamer</groupId>
770 <artifactId>jsonassert</artifactId>
771 </exclusion>
772 <exclusion>
773 <groupId>xmlunit</groupId>
774 <artifactId>xmlunit</artifactId>
775 </exclusion>
776 <exclusion>
777 <groupId>com.jayway.jsonpath</groupId>
778 <artifactId>json-path</artifactId>
779 </exclusion>
780 <exclusion>
781 <groupId>net.sf.jopt-simple</groupId>
782 <artifactId>jopt-simple</artifactId>
783 </exclusion>
784 </exclusions>
785 </dependency>
786 <dependency>
787 <groupId>com.openpojo</groupId>
788 <artifactId>openpojo</artifactId>
789 <version>0.8.10</version>
790 </dependency>
791 <dependency>
792 <groupId>com.shazam</groupId>
793 <artifactId>shazamcrest</artifactId>
794 <version>0.11</version>
795 <scope>test</scope>
796 <exclusions>
797 <exclusion>
798 <groupId>com.google.guava</groupId>
799 <artifactId>guava</artifactId>
800 </exclusion>
801 <exclusion>
802 <groupId>org.apache.commons</groupId>
803 <artifactId>commons-lang3</artifactId>
804 </exclusion>
805 </exclusions>
806 </dependency>
807 <dependency>
808 <groupId>org.assertj</groupId>
809 <artifactId>assertj-core</artifactId>
810 <version>3.11.1</version>
811 <scope>test</scope>
812 </dependency>
813 <dependency>
814 <groupId>com.googlecode.junit-toolbox</groupId>
815 <artifactId>junit-toolbox</artifactId>
816 <version>2.4</version>
817 </dependency>
818 </dependencies>
819 <dependencyManagement>
820 <dependencies>
821 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
822 <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version -->
823 <dependency>
Bonkur, Venkat28a07e82020-04-14 15:49:11 -0400824 <groupId>org.onap.logging-analytics</groupId>
825 <artifactId>logging-slf4j</artifactId>
826 <version>1.6.6</version>
827 </dependency>
828 <dependency>
829 <groupId>org.onap.logging-analytics</groupId>
830 <artifactId>logging-filter-base</artifactId>
831 <version>1.6.6</version>
832 </dependency>
833 <dependency>
834 <groupId>org.onap.logging-analytics</groupId>
835 <artifactId>logging-filter-spring</artifactId>
836 <version>1.6.6</version>
837 </dependency>
838 <dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400839 <groupId>org.apache.httpcomponents</groupId>
840 <artifactId>httpcore</artifactId>
841 <version>4.4.4</version>
842 <scope>compile</scope>
843 </dependency>
844 <dependency>
845 <groupId>commons-codec</groupId>
846 <artifactId>commons-codec</artifactId>
Sangalang, Felix785fab52019-06-21 10:46:38 -0400847 <version>1.12</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400848 <scope>compile</scope>
849 </dependency>
850 <dependency>
851 <groupId>commons-io</groupId>
852 <artifactId>commons-io</artifactId>
853 <version>2.5</version>
854 <scope>compile</scope>
855 </dependency>
856 <dependency>
857 <groupId>com.sun.xml.fastinfoset</groupId>
858 <artifactId>FastInfoset</artifactId>
859 <version>1.2.13</version>
860 <scope>compile</scope>
861 </dependency>
862 <dependency>
863 <groupId>org.springframework.boot</groupId>
864 <artifactId>spring-boot-dependencies</artifactId>
865 <version>${springboot.version}</version>
866 <type>pom</type>
867 <scope>import</scope>
868 </dependency>
869 <dependency>
870 <groupId>org.yaml</groupId>
871 <artifactId>snakeyaml</artifactId>
872 <version>1.23</version>
873 </dependency>
874 <dependency>
875 <groupId>javax.interceptor</groupId>
876 <artifactId>javax.interceptor-api</artifactId>
877 <version>1.2.2</version>
878 </dependency>
879 <dependency>
880 <groupId>org.springframework.boot</groupId>
881 <artifactId>spring-boot-starter-test</artifactId>
882 <version>${springboot.version}</version>
883 <exclusions>
884 <exclusion>
885 <groupId>com.vaadin.external.google</groupId>
886 <artifactId>android-json</artifactId>
887 </exclusion>
888 </exclusions>
889 </dependency>
890 <dependency>
891 <groupId>net.javacrumbs.shedlock</groupId>
892 <artifactId>shedlock-spring</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>net.javacrumbs.shedlock</groupId>
897 <artifactId>shedlock-provider-jdbc-template</artifactId>
Smokowski, Steven2e0f12e2019-12-03 07:51:11 -0500898 <version>4.0.0</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400899 </dependency>
900 <dependency>
901 <groupId>org.flywaydb</groupId>
902 <artifactId>flyway-core</artifactId>
Sangalang, Felix5ed98132019-07-25 10:07:49 -0500903 <version>5.2.4</version>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400904 </dependency>
905 <dependency>
906 <groupId>org.json</groupId>
907 <artifactId>json</artifactId>
908 <version>20140107</version>
909 </dependency>
Boslet, Coryfd2aba22020-05-08 14:58:31 -0400910 <dependency>
911 <groupId>org.onap.aai.schema-service</groupId>
912 <artifactId>aai-schema</artifactId>
913 <version>1.7.1-SNAPSHOT</version>
914 </dependency>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400915 </dependencies>
916 </dependencyManagement>
917 <profiles>
918 <profile>
919 <id>docker-image-build</id>
920 <properties>
921 <docker.skip>false</docker.skip>
922 <docker.skip.build>false</docker.skip.build>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400923 </properties>
924 </profile>
925 <profile>
926 <id>docker-image-build-push</id>
927 <properties>
928 <docker.skip>false</docker.skip>
929 <docker.skip.build>false</docker.skip.build>
930 <docker.skip.push>false</docker.skip.push>
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -0400931 </properties>
932 </profile>
933 <profile>
934 <id>format</id>
935 <properties>
936 <format.skipValidate>true</format.skipValidate>
937 <format.skipExecute>false</format.skipExecute>
938 </properties>
939 </profile>
940 <profile>
941 <id>m2e</id>
942 <activation>
943 <property>
944 <name>m2e.version</name>
945 </property>
946 </activation>
947 <properties>
948 <originalClassifier />
949 </properties>
950 </profile>
951 </profiles>
JulienBeec92b1a2017-02-06 11:22:26 +0100952</project>