Gary Wu | 1c1fc78 | 2018-08-24 15:30:22 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 2 | <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> |
| 8 | <version>1.2.1</version> |
| 9 | <relativePath /> |
| 10 | </parent> |
| 11 | <groupId>org.onap.so</groupId> |
| 12 | <artifactId>so</artifactId> |
| 13 | <packaging>pom</packaging> |
| 14 | <version>1.4.0-SNAPSHOT</version> |
| 15 | <name>so</name> |
| 16 | <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project. |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 17 | 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) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 20 | <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> |
rokenny | 1d9a4a6 | 2019-04-09 20:34:44 +0000 | [diff] [blame] | 35 | <module>vnfm-simulator</module> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 36 | <module>packages</module> |
| 37 | </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> |
| 45 | <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 46 | <!--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> |
| 50 | <jacoco.version>0.7.5.201505241946</jacoco.version> |
| 51 | <org.apache.maven.user-settings /> |
| 52 | <!-- TODO: update to version 1.4.0 for Dublin --> |
| 53 | <openstack.version>1.4.0-SNAPSHOT</openstack.version> |
| 54 | <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> |
| 62 | <enforcer.skip>true</enforcer.skip> |
| 63 | <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> |
| 70 | <springboot.version>2.0.5.RELEASE</springboot.version> |
| 71 | <camunda.springboot.version>3.2.0</camunda.springboot.version> |
| 72 | <format.skipValidate>false</format.skipValidate> |
| 73 | <format.skipExecute>true</format.skipExecute> |
| 74 | </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> |
| 213 | <plugin> |
| 214 | <groupId>org.sonatype.plugins</groupId> |
| 215 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 216 | <version>1.6.7</version> |
| 217 | <extensions>true</extensions> |
| 218 | <configuration> |
| 219 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 220 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 221 | <serverId>ecomp-staging</serverId> |
| 222 | </configuration> |
| 223 | </plugin> |
| 224 | <plugin> |
| 225 | <groupId>org.apache.maven.plugins</groupId> |
| 226 | <artifactId>maven-deploy-plugin</artifactId> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 227 | <version>2.8</version> |
| 228 | <!-- This version supports the "deployAtEnd" parameter --> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 229 | <configuration> |
| 230 | <skip /> |
| 231 | </configuration> |
| 232 | </plugin> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 233 | <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 Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 329 | |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 330 | <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> |
| 340 | <groupId>org.jacoco</groupId> |
| 341 | <artifactId>jacoco-maven-plugin</artifactId> |
| 342 | <version>${jacoco.version}</version> |
| 343 | <executions> |
| 344 | <execution> |
| 345 | <id>default-prepare-agent</id> |
| 346 | <goals> |
| 347 | <goal>prepare-agent</goal> |
| 348 | </goals> |
| 349 | </execution> |
| 350 | <execution> |
| 351 | <id>default-report</id> |
| 352 | <goals> |
| 353 | <goal>report</goal> |
| 354 | </goals> |
| 355 | </execution> |
| 356 | </executions> |
| 357 | </plugin> |
| 358 | <plugin> |
| 359 | <groupId>org.codehaus.mojo</groupId> |
| 360 | <artifactId>license-maven-plugin</artifactId> |
| 361 | <version>1.15</version> |
| 362 | <configuration> |
| 363 | <inceptionYear>2017</inceptionYear> |
| 364 | <projectName>ONAP - SO</projectName> |
| 365 | <licenseName>apache_v2</licenseName> |
| 366 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 367 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 368 | <trimHeaderLine>true</trimHeaderLine> |
| 369 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 370 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 371 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 372 | <includes> |
| 373 | <include>**/*.java</include> |
| 374 | <include>**/*.groovy</include> |
| 375 | </includes> |
| 376 | <excludes> |
| 377 | <exclude>**/com/att/**</exclude> |
| 378 | </excludes> |
| 379 | </configuration> |
| 380 | <executions> |
| 381 | <execution> |
| 382 | <id>verify-headers</id> |
| 383 | <goals> |
| 384 | <goal>check-file-header</goal> |
| 385 | </goals> |
| 386 | <configuration> |
| 387 | <failOnNotUptodateHeader>true</failOnNotUptodateHeader> |
| 388 | <failOnMissingHeader>true</failOnMissingHeader> |
| 389 | </configuration> |
| 390 | </execution> |
| 391 | </executions> |
| 392 | </plugin> |
| 393 | <plugin> |
| 394 | <groupId>org.codehaus.gmaven</groupId> |
| 395 | <artifactId>groovy-maven-plugin</artifactId> |
| 396 | <version>2.0</version> |
| 397 | <executions> |
| 398 | <!-- set absolute base path from super pom --> |
| 399 | <execution> |
| 400 | <id>find-basepath</id> |
| 401 | <phase>validate</phase> |
| 402 | <goals> |
| 403 | <goal>execute</goal> |
| 404 | </goals> |
| 405 | <configuration> |
| 406 | <source> |
| 407 | <![CDATA[ |
| 408 | import java.io.File; |
| 409 | log.info('## define projects super pom absolute path through basepath_marker') |
| 410 | String p = "basepath_marker"; |
| 411 | File f = null; |
| 412 | if( p != null ) { |
| 413 | def _max_child_poms = 0 |
| 414 | while( _max_child_poms++ < 5 ) { |
| 415 | f = new File( p ); |
| 416 | if( f.exists() ) { |
| 417 | break; |
| 418 | } |
| 419 | p = "../" + p; |
| 420 | } |
| 421 | } |
| 422 | if( f != null ) { |
| 423 | String basePath = f.getCanonicalPath(); |
| 424 | basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) ); |
| 425 | project.properties['base-path'] = basePath.replace( '\\' , '/'); |
| 426 | log.info(' - used base path = ' + project.properties['base-path'] ); |
| 427 | } else { |
| 428 | log.error( 'Could not find basepath_marker marker file!' ); |
| 429 | System.stop( 0 ); |
| 430 | } |
| 431 | ]]> |
| 432 | </source> |
| 433 | </configuration> |
| 434 | </execution> |
| 435 | </executions> |
| 436 | </plugin> |
| 437 | <plugin> |
| 438 | <groupId>net.revelc.code.formatter</groupId> |
| 439 | <artifactId>formatter-maven-plugin</artifactId> |
| 440 | <version>2.9.0</version> |
| 441 | <executions> |
| 442 | <execution> |
| 443 | <id>format-java</id> |
| 444 | <goals> |
| 445 | <goal>format</goal> |
| 446 | </goals> |
| 447 | <configuration> |
| 448 | <skip>${format.skipExecute}</skip> |
| 449 | <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile> |
| 450 | </configuration> |
| 451 | </execution> |
| 452 | <execution> |
| 453 | <id>format-xml</id> |
| 454 | <goals> |
| 455 | <goal>format</goal> |
| 456 | </goals> |
| 457 | <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) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 462 | <include>pom.xml</include> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 463 | </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) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 484 | <includes> |
| 485 | <include>pom.xml</include> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 486 | </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> |
| 498 | </plugins> |
| 499 | <pluginManagement> |
| 500 | <plugins> |
| 501 | <plugin> |
| 502 | <groupId>io.fabric8</groupId> |
| 503 | <artifactId>fabric8-maven-plugin</artifactId> |
| 504 | <version>3.5.33</version> |
| 505 | <configuration> |
| 506 | <skip>${docker.skip}</skip> |
| 507 | <skipBuild>${docker.skip.build}</skipBuild> |
| 508 | <skipPush>${docker.skip.push}</skipPush> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 509 | <dockerHost>${docker.newHost}</dockerHost> |
| 510 | <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable --> |
| 511 | <certPath>${docker.host.cert.path}</certPath> |
| 512 | <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 513 | to maven build command --> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 514 | <pushRegistry>${dockerPushRepo}</pushRegistry> |
| 515 | <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password --> |
| 516 | <pullRegistry>${dockerPullRepo}</pullRegistry> |
| 517 | <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username, and password --> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 518 | <images> |
| 519 | <image> |
| 520 | <alias>service</alias> |
| 521 | <name>${artifactId}:${project.version}</name> |
| 522 | <build> |
| 523 | <dockerFileDir>${project.build.directory}</dockerFileDir> |
| 524 | </build> |
| 525 | </image> |
| 526 | </images> |
| 527 | </configuration> |
| 528 | <executions> |
| 529 | <execution> |
| 530 | <id>start</id> |
| 531 | <goals> |
| 532 | <goal>build</goal> |
| 533 | <goal>push</goal> |
| 534 | </goals> |
| 535 | </execution> |
| 536 | </executions> |
| 537 | </plugin> |
| 538 | <plugin> |
| 539 | <groupId>org.apache.maven.plugins</groupId> |
| 540 | <artifactId>maven-surefire-plugin</artifactId> |
| 541 | <version>2.20</version> |
| 542 | <configuration> |
| 543 | <systemPropertyVariables> |
| 544 | <so.log.level>DEBUG</so.log.level> |
| 545 | </systemPropertyVariables> |
| 546 | <rerunFailingTestsCount>2</rerunFailingTestsCount> |
| 547 | <parallel>classes</parallel> |
| 548 | <useUnlimitedThreads>false</useUnlimitedThreads> |
| 549 | <threadCount>1</threadCount> |
| 550 | </configuration> |
| 551 | </plugin> |
| 552 | <plugin> |
| 553 | <groupId>org.apache.maven.plugins</groupId> |
| 554 | <artifactId>maven-failsafe-plugin</artifactId> |
| 555 | <version>2.20</version> |
| 556 | <configuration> |
| 557 | <skip>true</skip> |
| 558 | <systemPropertyVariables> |
| 559 | <so.log.level>DEBUG</so.log.level> |
| 560 | </systemPropertyVariables> |
| 561 | <rerunFailingTestsCount>2</rerunFailingTestsCount> |
| 562 | </configuration> |
| 563 | </plugin> |
| 564 | <plugin> |
| 565 | <groupId>org.apache.maven.plugins</groupId> |
| 566 | <artifactId>maven-dependency-plugin</artifactId> |
| 567 | <executions> |
| 568 | <execution> |
| 569 | <id>extract-docker-file</id> |
| 570 | <goals> |
| 571 | <goal>unpack</goal> |
| 572 | </goals> |
| 573 | <configuration> |
| 574 | <artifactItems> |
| 575 | <artifactItem> |
| 576 | <groupId>org.onap.so</groupId> |
| 577 | <artifactId>deployment-configs</artifactId> |
| 578 | <version>${project.version}</version> |
| 579 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 580 | <includes>*,scripts/**,certs/**, logger/*.xml</includes> |
| 581 | <excludes>Kubernetes</excludes> |
| 582 | </artifactItem> |
| 583 | </artifactItems> |
| 584 | </configuration> |
| 585 | </execution> |
| 586 | </executions> |
| 587 | </plugin> |
| 588 | <plugin> |
| 589 | <groupId>org.apache.maven.plugins</groupId> |
| 590 | <artifactId>maven-jar-plugin</artifactId> |
| 591 | <version>3.0.2</version> |
| 592 | <executions> |
| 593 | <execution> |
| 594 | <id>tests</id> |
| 595 | <goals> |
| 596 | <goal>test-jar</goal> |
| 597 | </goals> |
| 598 | <configuration> |
| 599 | <skip>false</skip> |
| 600 | </configuration> |
| 601 | </execution> |
| 602 | <execution> |
| 603 | <id>original</id> |
| 604 | <phase>package</phase> |
| 605 | <goals> |
| 606 | <goal>jar</goal> |
| 607 | </goals> |
| 608 | <configuration> |
| 609 | <classifier>${originalClassifier}</classifier> |
| 610 | <includes> |
| 611 | <include>**</include> |
| 612 | </includes> |
| 613 | </configuration> |
| 614 | </execution> |
| 615 | </executions> |
| 616 | </plugin> |
| 617 | <plugin> |
| 618 | <groupId>org.springframework.boot</groupId> |
| 619 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 620 | <version>${springboot.version}</version> |
| 621 | <executions> |
| 622 | <execution> |
| 623 | <id>build-info</id> |
| 624 | <goals> |
| 625 | <goal>build-info</goal> |
| 626 | </goals> |
| 627 | </execution> |
| 628 | </executions> |
| 629 | </plugin> |
| 630 | </plugins> |
| 631 | </pluginManagement> |
| 632 | </build> |
| 633 | <!-- *********************************************************************************************************** --> |
| 634 | <!-- Dependencies --> |
| 635 | <dependencies> |
| 636 | <dependency> |
| 637 | <groupId>com.fasterxml.jackson.core</groupId> |
| 638 | <artifactId>jackson-core</artifactId> |
| 639 | </dependency> |
| 640 | <dependency> |
| 641 | <groupId>com.fasterxml.jackson.module</groupId> |
| 642 | <artifactId>jackson-module-jaxb-annotations</artifactId> |
| 643 | </dependency> |
| 644 | <dependency> |
| 645 | <groupId>com.fasterxml.jackson.core</groupId> |
| 646 | <artifactId>jackson-databind</artifactId> |
| 647 | </dependency> |
| 648 | <dependency> |
| 649 | <groupId>com.fasterxml.jackson.core</groupId> |
| 650 | <artifactId>jackson-annotations</artifactId> |
| 651 | </dependency> |
| 652 | <dependency> |
| 653 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 654 | <artifactId>jackson-jaxrs-base</artifactId> |
| 655 | </dependency> |
| 656 | <dependency> |
| 657 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 658 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 659 | </dependency> |
| 660 | <dependency> |
| 661 | <groupId>javax.ws.rs</groupId> |
| 662 | <artifactId>javax.ws.rs-api</artifactId> |
| 663 | <version>${jax.ws.rs}</version> |
| 664 | </dependency> |
| 665 | <dependency> |
| 666 | <groupId>javax.annotation</groupId> |
| 667 | <artifactId>javax.annotation-api</artifactId> |
| 668 | <version>1.3.1</version> |
| 669 | </dependency> |
| 670 | <dependency> |
| 671 | <groupId>javax.inject</groupId> |
| 672 | <artifactId>javax.inject</artifactId> |
| 673 | <version>1</version> |
| 674 | </dependency> |
| 675 | <dependency> |
| 676 | <groupId>org.mockito</groupId> |
| 677 | <artifactId>mockito-core</artifactId> |
| 678 | </dependency> |
| 679 | <dependency> |
| 680 | <groupId>org.hamcrest</groupId> |
| 681 | <artifactId>hamcrest-core</artifactId> |
| 682 | </dependency> |
| 683 | <dependency> |
| 684 | <groupId>org.hamcrest</groupId> |
| 685 | <artifactId>hamcrest-library</artifactId> |
| 686 | </dependency> |
| 687 | <dependency> |
| 688 | <groupId>junit</groupId> |
| 689 | <artifactId>junit</artifactId> |
| 690 | <scope>test</scope> |
| 691 | </dependency> |
| 692 | <dependency> |
| 693 | <groupId>xmlunit</groupId> |
| 694 | <artifactId>xmlunit</artifactId> |
| 695 | <version>1.6</version> |
| 696 | <scope>test</scope> |
| 697 | </dependency> |
| 698 | <dependency> |
| 699 | <groupId>com.github.tomakehurst</groupId> |
| 700 | <artifactId>wiremock-standalone</artifactId> |
| 701 | <version>2.13.0</version> |
| 702 | <scope>test</scope> |
| 703 | <exclusions> |
| 704 | <exclusion> |
| 705 | <groupId>org.mortbay.jetty</groupId> |
| 706 | <artifactId>jetty</artifactId> |
| 707 | </exclusion> |
| 708 | <exclusion> |
| 709 | <groupId>com.google.guava</groupId> |
| 710 | <artifactId>guava</artifactId> |
| 711 | </exclusion> |
| 712 | <exclusion> |
| 713 | <groupId>com.fasterxml.jackson.core</groupId> |
| 714 | <artifactId>jackson-core</artifactId> |
| 715 | </exclusion> |
| 716 | <exclusion> |
| 717 | <groupId>com.fasterxml.jackson.core</groupId> |
| 718 | <artifactId>jackson-annotations</artifactId> |
| 719 | </exclusion> |
| 720 | <exclusion> |
| 721 | <groupId>com.fasterxml.jackson.core</groupId> |
| 722 | <artifactId>jackson-databind</artifactId> |
| 723 | </exclusion> |
| 724 | <exclusion> |
| 725 | <groupId>org.apache.httpcomponents</groupId> |
| 726 | <artifactId>httpclient</artifactId> |
| 727 | </exclusion> |
| 728 | <exclusion> |
| 729 | <groupId>org.skyscreamer</groupId> |
| 730 | <artifactId>jsonassert</artifactId> |
| 731 | </exclusion> |
| 732 | <exclusion> |
| 733 | <groupId>xmlunit</groupId> |
| 734 | <artifactId>xmlunit</artifactId> |
| 735 | </exclusion> |
| 736 | <exclusion> |
| 737 | <groupId>com.jayway.jsonpath</groupId> |
| 738 | <artifactId>json-path</artifactId> |
| 739 | </exclusion> |
| 740 | <exclusion> |
| 741 | <groupId>net.sf.jopt-simple</groupId> |
| 742 | <artifactId>jopt-simple</artifactId> |
| 743 | </exclusion> |
| 744 | </exclusions> |
| 745 | </dependency> |
| 746 | <dependency> |
| 747 | <groupId>com.openpojo</groupId> |
| 748 | <artifactId>openpojo</artifactId> |
| 749 | <version>0.8.10</version> |
| 750 | </dependency> |
| 751 | <dependency> |
| 752 | <groupId>com.shazam</groupId> |
| 753 | <artifactId>shazamcrest</artifactId> |
| 754 | <version>0.11</version> |
| 755 | <scope>test</scope> |
| 756 | <exclusions> |
| 757 | <exclusion> |
| 758 | <groupId>com.google.guava</groupId> |
| 759 | <artifactId>guava</artifactId> |
| 760 | </exclusion> |
| 761 | <exclusion> |
| 762 | <groupId>org.apache.commons</groupId> |
| 763 | <artifactId>commons-lang3</artifactId> |
| 764 | </exclusion> |
| 765 | </exclusions> |
| 766 | </dependency> |
| 767 | <dependency> |
| 768 | <groupId>org.assertj</groupId> |
| 769 | <artifactId>assertj-core</artifactId> |
| 770 | <version>3.11.1</version> |
| 771 | <scope>test</scope> |
| 772 | </dependency> |
| 773 | <dependency> |
| 774 | <groupId>com.googlecode.junit-toolbox</groupId> |
| 775 | <artifactId>junit-toolbox</artifactId> |
| 776 | <version>2.4</version> |
| 777 | </dependency> |
| 778 | </dependencies> |
| 779 | <dependencyManagement> |
| 780 | <dependencies> |
| 781 | <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> |
| 782 | <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version --> |
| 783 | <dependency> |
| 784 | <groupId>org.apache.httpcomponents</groupId> |
| 785 | <artifactId>httpcore</artifactId> |
| 786 | <version>4.4.4</version> |
| 787 | <scope>compile</scope> |
| 788 | </dependency> |
| 789 | <dependency> |
| 790 | <groupId>commons-codec</groupId> |
| 791 | <artifactId>commons-codec</artifactId> |
| 792 | <version>1.10</version> |
| 793 | <scope>compile</scope> |
| 794 | </dependency> |
| 795 | <dependency> |
| 796 | <groupId>commons-io</groupId> |
| 797 | <artifactId>commons-io</artifactId> |
| 798 | <version>2.5</version> |
| 799 | <scope>compile</scope> |
| 800 | </dependency> |
| 801 | <dependency> |
| 802 | <groupId>com.sun.xml.fastinfoset</groupId> |
| 803 | <artifactId>FastInfoset</artifactId> |
| 804 | <version>1.2.13</version> |
| 805 | <scope>compile</scope> |
| 806 | </dependency> |
| 807 | <dependency> |
| 808 | <groupId>org.springframework.boot</groupId> |
| 809 | <artifactId>spring-boot-dependencies</artifactId> |
| 810 | <version>${springboot.version}</version> |
| 811 | <type>pom</type> |
| 812 | <scope>import</scope> |
| 813 | </dependency> |
| 814 | <dependency> |
| 815 | <groupId>org.yaml</groupId> |
| 816 | <artifactId>snakeyaml</artifactId> |
| 817 | <version>1.23</version> |
| 818 | </dependency> |
| 819 | <dependency> |
| 820 | <groupId>javax.interceptor</groupId> |
| 821 | <artifactId>javax.interceptor-api</artifactId> |
| 822 | <version>1.2.2</version> |
| 823 | </dependency> |
| 824 | <dependency> |
| 825 | <groupId>org.springframework.boot</groupId> |
| 826 | <artifactId>spring-boot-starter-test</artifactId> |
| 827 | <version>${springboot.version}</version> |
| 828 | <exclusions> |
| 829 | <exclusion> |
| 830 | <groupId>com.vaadin.external.google</groupId> |
| 831 | <artifactId>android-json</artifactId> |
| 832 | </exclusion> |
| 833 | </exclusions> |
| 834 | </dependency> |
| 835 | <dependency> |
| 836 | <groupId>net.javacrumbs.shedlock</groupId> |
| 837 | <artifactId>shedlock-spring</artifactId> |
| 838 | <version>0.18.2</version> |
| 839 | </dependency> |
| 840 | <dependency> |
| 841 | <groupId>net.javacrumbs.shedlock</groupId> |
| 842 | <artifactId>shedlock-provider-jdbc-template</artifactId> |
| 843 | <version>0.18.2</version> |
| 844 | </dependency> |
| 845 | <dependency> |
| 846 | <groupId>org.flywaydb</groupId> |
| 847 | <artifactId>flyway-core</artifactId> |
| 848 | <version>5.1.4</version> |
| 849 | </dependency> |
| 850 | <dependency> |
| 851 | <groupId>org.json</groupId> |
| 852 | <artifactId>json</artifactId> |
| 853 | <version>20140107</version> |
| 854 | </dependency> |
| 855 | <dependency> |
| 856 | <groupId>org.yaml</groupId> |
| 857 | <artifactId>snakeyaml</artifactId> |
| 858 | <version>1.19</version> |
| 859 | </dependency> |
| 860 | </dependencies> |
| 861 | </dependencyManagement> |
| 862 | <profiles> |
| 863 | <profile> |
| 864 | <id>docker-image-build</id> |
| 865 | <properties> |
| 866 | <docker.skip>false</docker.skip> |
| 867 | <docker.skip.build>false</docker.skip.build> |
| 868 | <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation> |
| 869 | </properties> |
| 870 | </profile> |
| 871 | <profile> |
| 872 | <id>docker-image-build-push</id> |
| 873 | <properties> |
| 874 | <docker.skip>false</docker.skip> |
| 875 | <docker.skip.build>false</docker.skip.build> |
| 876 | <docker.skip.push>false</docker.skip.push> |
| 877 | <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation> |
| 878 | </properties> |
| 879 | </profile> |
| 880 | <profile> |
| 881 | <id>format</id> |
| 882 | <properties> |
| 883 | <format.skipValidate>true</format.skipValidate> |
| 884 | <format.skipExecute>false</format.skipExecute> |
| 885 | </properties> |
| 886 | </profile> |
| 887 | <profile> |
| 888 | <id>m2e</id> |
| 889 | <activation> |
| 890 | <property> |
| 891 | <name>m2e.version</name> |
| 892 | </property> |
| 893 | </activation> |
| 894 | <properties> |
| 895 | <originalClassifier /> |
| 896 | </properties> |
| 897 | </profile> |
| 898 | </profiles> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 899 | </project> |