Gary Wu | 1c1fc78 | 2018-08-24 15:30:22 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <parent> |
| 5 | <groupId>org.onap.oparent</groupId> |
| 6 | <artifactId>oparent</artifactId> |
Gary Wu | 21c0990 | 2018-09-20 09:35:08 -0700 | [diff] [blame] | 7 | <version>1.2.1</version> |
Gary Wu | 1c1fc78 | 2018-08-24 15:30:22 -0700 | [diff] [blame] | 8 | <relativePath/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 9 | </parent> |
| 10 | <groupId>org.onap.so</groupId> |
| 11 | <artifactId>so</artifactId> |
| 12 | <packaging>pom</packaging> |
Rob Daugherty | 325d4e2 | 2018-10-19 15:13:38 -0400 | [diff] [blame] | 13 | <version>1.4.0-SNAPSHOT</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 14 | <name>so</name> |
| 15 | <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] | 16 | This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB. |
| 17 | "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL" |
| 18 | </description> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 19 | <organization> |
| 20 | <name>ONAP - SO</name> |
| 21 | <url>http://www.onap.org/</url> |
| 22 | </organization> |
| 23 | <modules> |
| 24 | <module>deployment-configs</module> |
| 25 | <module>common</module> |
| 26 | <module>mso-catalog-db</module> |
| 27 | <module>mso-api-handlers</module> |
| 28 | <module>adapters</module> |
| 29 | <module>asdc-controller</module> |
| 30 | <module>bpmn</module> |
| 31 | <module>cloudify-client</module> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 32 | <module>cxf-logging</module> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 33 | <module>packages</module> |
| 34 | </modules> |
| 35 | <properties> |
| 36 | <project.mso.base.folder>.</project.mso.base.folder> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 39 | <sonar.language>java</sonar.language> |
| 40 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 41 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 42 | <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
seshukm | 94c0ee4 | 2018-08-07 17:54:58 +0800 | [diff] [blame] | 43 | <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath --> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 44 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 45 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 46 | <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions> |
| 47 | <jacoco.version>0.7.5.201505241946</jacoco.version> |
Gary Wu | 1c1fc78 | 2018-08-24 15:30:22 -0700 | [diff] [blame] | 48 | <org.apache.maven.user-settings/> |
Rob Daugherty | 325d4e2 | 2018-10-19 15:13:38 -0400 | [diff] [blame] | 49 | <!-- TODO: update to version 1.4.0 for Dublin --> |
Benjamin, Max (mb388a) | f49313b | 2019-01-03 22:50:11 -0500 | [diff] [blame] | 50 | <openstack.version>1.4.0-SNAPSHOT</openstack.version> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 51 | <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 52 | <originalClassifier>original</originalClassifier> |
| 53 | <docker.skip>true</docker.skip> |
| 54 | <docker.skip.build>true</docker.skip.build> |
| 55 | <docker.skip.push>true</docker.skip.push> |
| 56 | <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version> |
| 57 | <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id> |
| 58 | <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository> |
| 59 | <enforcer.skip>true</enforcer.skip> |
| 60 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 61 | <releaseNexusPath>content/repositories/releases/</releaseNexusPath> |
| 62 | <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath> |
| 63 | <publicNexusPath>content/repositories/public/</publicNexusPath> |
| 64 | <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath> |
Gary Wu | 8a1d801 | 2018-10-23 17:24:40 -0700 | [diff] [blame] | 65 | <cxf.version>3.2.6</cxf.version> |
Benjamin, Max (mb388a) | e4f7e56 | 2018-08-11 00:17:59 -0400 | [diff] [blame] | 66 | <jax.ws.rs>2.1</jax.ws.rs> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 67 | <springboot.version>2.0.5.RELEASE</springboot.version> |
| 68 | <camunda.springboot.version>3.2.0</camunda.springboot.version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 69 | </properties> |
| 70 | <distributionManagement> |
| 71 | <repository> |
| 72 | <id>ecomp-releases</id> |
| 73 | <url>${nexusproxy}/${releaseNexusPath}</url> |
| 74 | </repository> |
| 75 | <snapshotRepository> |
| 76 | <id>ecomp-snapshots</id> |
| 77 | <url>${nexusproxy}/${snapshotNexusPath}</url> |
| 78 | </snapshotRepository> |
| 79 | <site> |
| 80 | <id>ecomp-site</id> |
| 81 | <url>dav:${nexusproxy}${siteNexusPath}</url> |
| 82 | </site> |
| 83 | </distributionManagement> |
| 84 | <reporting> |
| 85 | <plugins> |
| 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
| 88 | <artifactId>maven-javadoc-plugin</artifactId> |
| 89 | <version>2.10.4</version> |
| 90 | <configuration> |
| 91 | <failOnError>false</failOnError> |
| 92 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 93 | <docletArtifact> |
| 94 | <groupId>org.umlgraph</groupId> |
| 95 | <artifactId>umlgraph</artifactId> |
| 96 | <version>5.6</version> |
| 97 | </docletArtifact> |
| 98 | <additionalparam>-views</additionalparam> |
| 99 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | </plugins> |
| 103 | </reporting> |
| 104 | <!-- configure build --> |
| 105 | <!-- *********************************************************************************************************** --> |
| 106 | <!-- Plugins and repositories --> |
| 107 | <pluginRepositories> |
| 108 | <pluginRepository> |
| 109 | <id>central</id> |
| 110 | <url>http://repo1.maven.org/maven2</url> |
| 111 | </pluginRepository> |
| 112 | <pluginRepository> |
| 113 | <id>restlet</id> |
| 114 | <url>http://maven.restlet.com</url> |
| 115 | </pluginRepository> |
| 116 | <pluginRepository> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 117 | <id>ecomp-public</id> |
| 118 | <url>${nexusproxy}/${publicNexusPath}</url> |
| 119 | <snapshots> |
| 120 | <enabled>false</enabled> |
| 121 | </snapshots> |
| 122 | </pluginRepository> |
| 123 | <pluginRepository> |
| 124 | <id>ecomp-release</id> |
| 125 | <url>${nexusproxy}/${releaseNexusPath}</url> |
| 126 | <snapshots> |
| 127 | <enabled>false</enabled> |
| 128 | </snapshots> |
| 129 | </pluginRepository> |
| 130 | <pluginRepository> |
| 131 | <id>ecomp-snapshots</id> |
| 132 | <url>${nexusproxy}/${snapshotNexusPath}</url> |
| 133 | <releases> |
| 134 | <enabled>false</enabled> |
| 135 | </releases> |
| 136 | </pluginRepository> |
| 137 | </pluginRepositories> |
| 138 | <repositories> |
| 139 | <repository> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 140 | <id>ecomp-public</id> |
| 141 | <url>https://nexus.onap.org/content/repositories/public/</url> |
| 142 | <snapshots> |
| 143 | <enabled>false</enabled> |
| 144 | </snapshots> |
| 145 | </repository> |
| 146 | <repository> |
| 147 | <id>ecomp-releases</id> |
| 148 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 149 | <snapshots> |
| 150 | <enabled>false</enabled> |
| 151 | </snapshots> |
| 152 | </repository> |
| 153 | <repository> |
| 154 | <id>ecomp-snapshots</id> |
| 155 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 156 | <releases> |
| 157 | <enabled>false</enabled> |
| 158 | </releases> |
| 159 | </repository> |
| 160 | <repository> |
| 161 | <id>camunda-bpm</id> |
| 162 | <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url> |
| 163 | </repository> |
| 164 | <repository> |
| 165 | <id>camunda-public</id> |
| 166 | <url>https://app.camunda.com/nexus/content/groups/public</url> |
| 167 | </repository> |
| 168 | <repository> |
| 169 | <!-- TODO: remove from ONAP environemnt --> |
| 170 | <id>onap-releases</id> |
| 171 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 172 | <snapshots> |
| 173 | <enabled>false</enabled> |
| 174 | </snapshots> |
| 175 | </repository> |
| 176 | <repository> |
| 177 | <!-- TODO: remove from ONAP environemnt --> |
| 178 | <id>onap-snapshots</id> |
| 179 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 180 | <releases> |
| 181 | <enabled>false</enabled> |
| 182 | </releases> |
| 183 | </repository> |
| 184 | </repositories> |
| 185 | <!-- *********************************************************************************************************** --> |
| 186 | <!-- Build --> |
| 187 | <build> |
| 188 | <resources> |
| 189 | <resource> |
| 190 | <directory>src/main/resources</directory> |
| 191 | <filtering>true</filtering> |
| 192 | </resource> |
| 193 | <resource> |
| 194 | <directory>target/generated-sources/license</directory> |
| 195 | <includes> |
| 196 | <include>third-party-licenses.txt</include> |
| 197 | </includes> |
| 198 | </resource> |
| 199 | <resource> |
| 200 | <directory>target/generated-resources/licenses</directory> |
| 201 | <includes> |
| 202 | <include>*.*</include> |
| 203 | </includes> |
| 204 | <targetPath>third-party-licenses</targetPath> |
| 205 | </resource> |
| 206 | </resources> |
| 207 | <plugins> |
| 208 | <plugin> |
| 209 | <groupId>org.sonatype.plugins</groupId> |
| 210 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 211 | <version>1.6.7</version> |
| 212 | <extensions>true</extensions> |
| 213 | <configuration> |
| 214 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 215 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 216 | <serverId>ecomp-staging</serverId> |
| 217 | </configuration> |
| 218 | </plugin> |
| 219 | <plugin> |
| 220 | <groupId>org.apache.maven.plugins</groupId> |
| 221 | <artifactId>maven-deploy-plugin</artifactId> |
| 222 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
| 223 | <configuration> |
Gary Wu | 1c1fc78 | 2018-08-24 15:30:22 -0700 | [diff] [blame] | 224 | <skip/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 225 | </configuration> |
| 226 | </plugin> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 227 | |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 228 | <plugin> |
| 229 | <groupId>org.apache.maven.plugins</groupId> |
| 230 | <artifactId>maven-compiler-plugin</artifactId> |
| 231 | <version>3.6.1</version> |
| 232 | <configuration> |
| 233 | <debug>true</debug> |
| 234 | <compilerArgument>-Xlint</compilerArgument> |
| 235 | <verbose>true</verbose> |
| 236 | <showDeprecation>true</showDeprecation> |
| 237 | <showWarnings>true</showWarnings> |
| 238 | <source>1.8</source> |
| 239 | <target>1.8</target> |
Benjamin, Max (mb388a) | 1ffe9a2 | 2018-08-28 10:23:08 -0400 | [diff] [blame] | 240 | <compilerArgs> |
| 241 | <arg>-parameters</arg> |
| 242 | </compilerArgs> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 243 | </configuration> |
| 244 | </plugin> |
| 245 | <plugin> |
| 246 | <groupId>org.apache.maven.plugins</groupId> |
| 247 | <artifactId>maven-ejb-plugin</artifactId> |
| 248 | <version>2.2.1</version> |
| 249 | <configuration> |
| 250 | <ejbVersion>3.0</ejbVersion> |
| 251 | <archive> |
| 252 | <manifest> |
| 253 | <addClasspath>true</addClasspath> |
| 254 | </manifest> |
| 255 | </archive> |
| 256 | </configuration> |
| 257 | </plugin> |
| 258 | <plugin> |
| 259 | <groupId>org.apache.maven.plugins</groupId> |
| 260 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 261 | <version>2.17</version> |
| 262 | <configuration> |
| 263 | <skip>true</skip> |
| 264 | <includes>**/org/openecomp/**/*.java</includes> |
| 265 | <configLocation>/google_checks.xml</configLocation> |
| 266 | </configuration> |
| 267 | </plugin> |
| 268 | <plugin> |
| 269 | <groupId>org.codehaus.mojo</groupId> |
| 270 | <artifactId>findbugs-maven-plugin</artifactId> |
| 271 | <version>2.5.2</version> |
| 272 | <configuration> |
| 273 | <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile> |
| 274 | <nested>true</nested> |
| 275 | <findbugsXmlOutput>true</findbugsXmlOutput> |
| 276 | <findbugsXmlWithMessages>true</findbugsXmlWithMessages> |
| 277 | <xmlOutput>true</xmlOutput> |
| 278 | </configuration> |
| 279 | </plugin> |
| 280 | <plugin> |
| 281 | <groupId>org.codehaus.mojo</groupId> |
| 282 | <artifactId>sonar-maven-plugin</artifactId> |
| 283 | <version>5.1</version> |
| 284 | </plugin> |
| 285 | <plugin> |
| 286 | <artifactId>maven-scm-plugin</artifactId> |
| 287 | <version>1.8.1</version> |
| 288 | <configuration> |
| 289 | <tag>${project.artifactId}-${project.version}</tag> |
| 290 | </configuration> |
| 291 | </plugin> |
| 292 | <plugin> |
| 293 | <groupId>org.apache.maven.plugins</groupId> |
| 294 | <artifactId>maven-javadoc-plugin</artifactId> |
| 295 | <version>2.9</version> |
| 296 | </plugin> |
| 297 | <plugin> |
| 298 | <groupId>org.apache.maven.plugins</groupId> |
| 299 | <artifactId>maven-site-plugin</artifactId> |
| 300 | <version>3.6</version> |
| 301 | <dependencies> |
| 302 | <dependency> |
| 303 | <groupId>org.apache.maven.wagon</groupId> |
| 304 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 305 | <version>2.10</version> |
| 306 | </dependency> |
| 307 | </dependencies> |
| 308 | </plugin> |
| 309 | <plugin> |
| 310 | <groupId>org.codehaus.mojo</groupId> |
| 311 | <artifactId>cobertura-maven-plugin</artifactId> |
| 312 | <version>2.5.2</version> |
| 313 | <configuration> |
| 314 | <formats> |
| 315 | <format>xml</format> |
| 316 | </formats> |
| 317 | </configuration> |
| 318 | </plugin> |
| 319 | <plugin> |
| 320 | <groupId>org.codehaus.mojo</groupId> |
| 321 | <artifactId>versions-maven-plugin</artifactId> |
| 322 | <version>1.3.1</version> |
| 323 | </plugin> |
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 324 | |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 325 | <plugin> |
| 326 | <groupId>com.fortify.ps.maven.plugin</groupId> |
| 327 | <artifactId>sca-maven-plugin</artifactId> |
| 328 | <version>4.20</version> |
| 329 | <configuration> |
| 330 | <buildId>mso-${project.version}</buildId> |
| 331 | <source>1.8</source> |
| 332 | </configuration> |
| 333 | </plugin> |
| 334 | <plugin> |
| 335 | <groupId>org.jacoco</groupId> |
| 336 | <artifactId>jacoco-maven-plugin</artifactId> |
| 337 | <version>${jacoco.version}</version> |
| 338 | <executions> |
| 339 | <execution> |
| 340 | <id>default-prepare-agent</id> |
| 341 | <goals> |
| 342 | <goal>prepare-agent</goal> |
| 343 | </goals> |
| 344 | </execution> |
| 345 | <execution> |
| 346 | <id>default-report</id> |
| 347 | <goals> |
| 348 | <goal>report</goal> |
| 349 | </goals> |
| 350 | </execution> |
| 351 | </executions> |
| 352 | </plugin> |
| 353 | <plugin> |
| 354 | <groupId>org.codehaus.mojo</groupId> |
| 355 | <artifactId>license-maven-plugin</artifactId> |
| 356 | <version>1.15</version> |
| 357 | <configuration> |
| 358 | <inceptionYear>2017</inceptionYear> |
| 359 | <projectName>ONAP - SO</projectName> |
| 360 | <licenseName>apache_v2</licenseName> |
| 361 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 362 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 363 | <trimHeaderLine>true</trimHeaderLine> |
| 364 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 365 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 366 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 367 | <includes> |
| 368 | <include>**/*.java</include> |
| 369 | <include>**/*.groovy</include> |
| 370 | </includes> |
| 371 | <excludes> |
| 372 | <exclude>**/com/att/**</exclude> |
| 373 | </excludes> |
| 374 | </configuration> |
| 375 | <executions> |
| 376 | <execution> |
| 377 | <id>verify-headers</id> |
| 378 | <goals> |
| 379 | <goal>check-file-header</goal> |
| 380 | </goals> |
| 381 | <configuration> |
| 382 | <failOnNotUptodateHeader>true</failOnNotUptodateHeader> |
| 383 | <failOnMissingHeader>true</failOnMissingHeader> |
| 384 | </configuration> |
| 385 | </execution> |
| 386 | </executions> |
| 387 | </plugin> |
| 388 | </plugins> |
| 389 | <pluginManagement> |
| 390 | <plugins> |
| 391 | <plugin> |
| 392 | <groupId>io.fabric8</groupId> |
| 393 | <artifactId>fabric8-maven-plugin</artifactId> |
| 394 | <version>3.5.33</version> |
| 395 | <configuration> |
| 396 | <skip>${docker.skip}</skip> |
| 397 | <skipBuild>${docker.skip.build}</skipBuild> |
| 398 | <skipPush>${docker.skip.push}</skipPush> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 399 | <dockerHost>${docker.newHost}</dockerHost> <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 400 | environment variable --> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 401 | <certPath>${docker.host.cert.path}</certPath><!-- Add -Ddocker.host.cert.pat="path |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 402 | to your local certs directory" to maven build command --> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 403 | <pushRegistry>${dockerPushRepo}</pushRegistry> <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 404 | and password --> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 405 | <pullRegistry>${dockerPullRepo}</pullRegistry> <!-- If docker repo is not public. Update .m2/settings.xml Add server id |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 406 | settings.dockerRepository, username, and password --> |
| 407 | <images> |
| 408 | <image> |
| 409 | <alias>service</alias> |
| 410 | <name>${artifactId}:${project.version}</name> |
| 411 | <build> |
| 412 | <dockerFileDir>${project.build.directory}</dockerFileDir> |
| 413 | </build> |
| 414 | </image> |
| 415 | </images> |
| 416 | </configuration> |
| 417 | <executions> |
| 418 | <execution> |
| 419 | <id>start</id> |
| 420 | <goals> |
| 421 | <goal>build</goal> |
| 422 | <goal>push</goal> |
| 423 | </goals> |
| 424 | </execution> |
| 425 | </executions> |
| 426 | </plugin> |
| 427 | <plugin> |
| 428 | <groupId>org.apache.maven.plugins</groupId> |
| 429 | <artifactId>maven-surefire-plugin</artifactId> |
| 430 | <version>2.20</version> |
| 431 | <configuration> |
| 432 | <systemPropertyVariables> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 433 | <so.log.level>DEBUG</so.log.level> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 434 | </systemPropertyVariables> |
| 435 | <rerunFailingTestsCount>2</rerunFailingTestsCount> |
| 436 | </configuration> |
| 437 | </plugin> |
| 438 | <plugin> |
| 439 | <groupId>org.apache.maven.plugins</groupId> |
| 440 | <artifactId>maven-failsafe-plugin</artifactId> |
| 441 | <version>2.20</version> |
| 442 | <configuration> |
| 443 | <skip>true</skip> |
| 444 | <systemPropertyVariables> |
Smokowski, Steve (ss835w) | e2c7749 | 2018-09-04 15:31:38 -0400 | [diff] [blame] | 445 | <so.log.level>DEBUG</so.log.level> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 446 | </systemPropertyVariables> |
| 447 | <rerunFailingTestsCount>2</rerunFailingTestsCount> |
| 448 | </configuration> |
| 449 | </plugin> |
| 450 | <plugin> |
| 451 | <groupId>org.apache.maven.plugins</groupId> |
| 452 | <artifactId>maven-dependency-plugin</artifactId> |
| 453 | <executions> |
| 454 | <execution> |
| 455 | <id>extract-docker-file</id> |
| 456 | <goals> |
| 457 | <goal>unpack</goal> |
| 458 | </goals> |
| 459 | <configuration> |
| 460 | <artifactItems> |
| 461 | <artifactItem> |
| 462 | <groupId>org.onap.so</groupId> |
| 463 | <artifactId>deployment-configs</artifactId> |
| 464 | <version>${project.version}</version> |
| 465 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 466 | <includes>*,scripts/**,certs/**, logger/*.xml</includes> |
| 467 | <excludes>Kubernetes</excludes> |
| 468 | </artifactItem> |
| 469 | </artifactItems> |
| 470 | </configuration> |
| 471 | </execution> |
| 472 | </executions> |
| 473 | </plugin> |
| 474 | <plugin> |
| 475 | <groupId>org.apache.maven.plugins</groupId> |
| 476 | <artifactId>maven-jar-plugin</artifactId> |
| 477 | <version>3.0.2</version> |
| 478 | <executions> |
| 479 | <execution> |
| 480 | <id>tests</id> |
| 481 | <goals> |
| 482 | <goal>test-jar</goal> |
| 483 | </goals> |
| 484 | <configuration> |
| 485 | <skip>false</skip> |
| 486 | </configuration> |
| 487 | </execution> |
| 488 | <execution> |
| 489 | <id>original</id> |
| 490 | <phase>package</phase> |
| 491 | <goals> |
| 492 | <goal>jar</goal> |
| 493 | </goals> |
| 494 | <configuration> |
| 495 | <classifier>${originalClassifier}</classifier> |
| 496 | <includes> |
| 497 | <include>**</include> |
| 498 | </includes> |
| 499 | </configuration> |
| 500 | </execution> |
| 501 | </executions> |
| 502 | </plugin> |
Benjamin, Max (mb388a) | 9612207 | 2019-02-01 18:38:16 -0500 | [diff] [blame] | 503 | <plugin> |
| 504 | <groupId>org.springframework.boot</groupId> |
| 505 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 506 | <version>${springboot.version}</version> |
| 507 | <executions> |
| 508 | <execution> |
| 509 | <id>build-info</id> |
| 510 | <goals> |
| 511 | <goal>build-info</goal> |
| 512 | </goals> |
| 513 | </execution> |
| 514 | </executions> |
| 515 | </plugin> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 516 | </plugins> |
| 517 | </pluginManagement> |
| 518 | </build> |
| 519 | <!-- *********************************************************************************************************** --> |
| 520 | <!-- Dependencies --> |
| 521 | <dependencies> |
| 522 | <dependency> |
| 523 | <groupId>com.fasterxml.jackson.core</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 524 | <artifactId>jackson-core</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 525 | </dependency> |
| 526 | <dependency> |
| 527 | <groupId>com.fasterxml.jackson.module</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 528 | <artifactId>jackson-module-jaxb-annotations</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 529 | </dependency> |
| 530 | <dependency> |
| 531 | <groupId>com.fasterxml.jackson.core</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 532 | <artifactId>jackson-databind</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 533 | </dependency> |
| 534 | <dependency> |
| 535 | <groupId>com.fasterxml.jackson.core</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 536 | <artifactId>jackson-annotations</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 537 | </dependency> |
| 538 | <dependency> |
| 539 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 540 | <artifactId>jackson-jaxrs-base</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 541 | </dependency> |
| 542 | <dependency> |
| 543 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 544 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 545 | </dependency> |
| 546 | <dependency> |
| 547 | <groupId>javax.ws.rs</groupId> |
| 548 | <artifactId>javax.ws.rs-api</artifactId> |
Benjamin, Max (mb388a) | e4f7e56 | 2018-08-11 00:17:59 -0400 | [diff] [blame] | 549 | <version>${jax.ws.rs}</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 550 | </dependency> |
| 551 | <dependency> |
| 552 | <groupId>javax.annotation</groupId> |
| 553 | <artifactId>javax.annotation-api</artifactId> |
| 554 | <version>1.3.1</version> |
| 555 | </dependency> |
| 556 | <dependency> |
| 557 | <groupId>javax.inject</groupId> |
| 558 | <artifactId>javax.inject</artifactId> |
| 559 | <version>1</version> |
| 560 | </dependency> |
| 561 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 562 | <groupId>org.mockito</groupId> |
| 563 | <artifactId>mockito-core</artifactId> |
| 564 | </dependency> |
| 565 | <dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 566 | <groupId>org.hamcrest</groupId> |
| 567 | <artifactId>hamcrest-core</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 568 | </dependency> |
| 569 | <dependency> |
| 570 | <groupId>org.hamcrest</groupId> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 571 | <artifactId>hamcrest-library</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 572 | </dependency> |
| 573 | <dependency> |
| 574 | <groupId>junit</groupId> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 575 | <artifactId>junit</artifactId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 576 | <scope>test</scope> |
| 577 | </dependency> |
| 578 | <dependency> |
| 579 | <groupId>xmlunit</groupId> |
| 580 | <artifactId>xmlunit</artifactId> |
| 581 | <version>1.6</version> |
| 582 | <scope>test</scope> |
| 583 | </dependency> |
| 584 | <dependency> |
| 585 | <groupId>com.github.tomakehurst</groupId> |
| 586 | <artifactId>wiremock-standalone</artifactId> |
| 587 | <version>2.13.0</version> |
| 588 | <scope>test</scope> |
| 589 | <exclusions> |
| 590 | <exclusion> |
| 591 | <groupId>org.mortbay.jetty</groupId> |
| 592 | <artifactId>jetty</artifactId> |
| 593 | </exclusion> |
| 594 | <exclusion> |
| 595 | <groupId>com.google.guava</groupId> |
| 596 | <artifactId>guava</artifactId> |
| 597 | </exclusion> |
| 598 | <exclusion> |
| 599 | <groupId>com.fasterxml.jackson.core</groupId> |
| 600 | <artifactId>jackson-core</artifactId> |
| 601 | </exclusion> |
| 602 | <exclusion> |
| 603 | <groupId>com.fasterxml.jackson.core</groupId> |
| 604 | <artifactId>jackson-annotations</artifactId> |
| 605 | </exclusion> |
| 606 | <exclusion> |
| 607 | <groupId>com.fasterxml.jackson.core</groupId> |
| 608 | <artifactId>jackson-databind</artifactId> |
| 609 | </exclusion> |
| 610 | <exclusion> |
| 611 | <groupId>org.apache.httpcomponents</groupId> |
| 612 | <artifactId>httpclient</artifactId> |
| 613 | </exclusion> |
| 614 | <exclusion> |
| 615 | <groupId>org.skyscreamer</groupId> |
| 616 | <artifactId>jsonassert</artifactId> |
| 617 | </exclusion> |
| 618 | <exclusion> |
| 619 | <groupId>xmlunit</groupId> |
| 620 | <artifactId>xmlunit</artifactId> |
| 621 | </exclusion> |
| 622 | <exclusion> |
| 623 | <groupId>com.jayway.jsonpath</groupId> |
| 624 | <artifactId>json-path</artifactId> |
| 625 | </exclusion> |
| 626 | <exclusion> |
| 627 | <groupId>net.sf.jopt-simple</groupId> |
| 628 | <artifactId>jopt-simple</artifactId> |
| 629 | </exclusion> |
| 630 | </exclusions> |
| 631 | </dependency> |
| 632 | <dependency> |
| 633 | <groupId>com.openpojo</groupId> |
| 634 | <artifactId>openpojo</artifactId> |
| 635 | <version>0.8.10</version> |
| 636 | </dependency> |
| 637 | <dependency> |
| 638 | <groupId>com.shazam</groupId> |
| 639 | <artifactId>shazamcrest</artifactId> |
| 640 | <version>0.11</version> |
| 641 | <scope>test</scope> |
| 642 | <exclusions> |
| 643 | <exclusion> |
| 644 | <groupId>com.google.guava</groupId> |
| 645 | <artifactId>guava</artifactId> |
| 646 | </exclusion> |
| 647 | <exclusion> |
| 648 | <groupId>org.apache.commons</groupId> |
| 649 | <artifactId>commons-lang3</artifactId> |
| 650 | </exclusion> |
| 651 | </exclusions> |
| 652 | </dependency> |
| 653 | <dependency> |
| 654 | <groupId>org.assertj</groupId> |
| 655 | <artifactId>assertj-core</artifactId> |
Michal Kabaj | 7d6e1ae | 2018-11-15 13:48:36 +0100 | [diff] [blame] | 656 | <version>3.11.1</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 657 | <scope>test</scope> |
| 658 | </dependency> |
| 659 | <dependency> |
| 660 | <groupId>com.googlecode.junit-toolbox</groupId> |
| 661 | <artifactId>junit-toolbox</artifactId> |
| 662 | <version>2.4</version> |
| 663 | </dependency> |
| 664 | </dependencies> |
| 665 | <dependencyManagement> |
| 666 | <dependencies> |
| 667 | <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 668 | <!-- force use of version 4.5 everywhere in transient deps, aligned on |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 669 | WildFly 10 version --> |
| 670 | <dependency> |
| 671 | <groupId>org.apache.httpcomponents</groupId> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 672 | <artifactId>httpcore</artifactId> |
| 673 | <version>4.4.4</version> |
| 674 | <scope>compile</scope> |
| 675 | </dependency> |
| 676 | <dependency> |
| 677 | <groupId>commons-codec</groupId> |
| 678 | <artifactId>commons-codec</artifactId> |
| 679 | <version>1.10</version> |
| 680 | <scope>compile</scope> |
| 681 | </dependency> |
| 682 | <dependency> |
| 683 | <groupId>commons-io</groupId> |
| 684 | <artifactId>commons-io</artifactId> |
| 685 | <version>2.5</version> |
| 686 | <scope>compile</scope> |
Benjamin, Max (mb388a) | 5442c27 | 2019-02-14 19:52:29 -0500 | [diff] [blame] | 687 | </dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 688 | <dependency> |
| 689 | <groupId>com.sun.xml.fastinfoset</groupId> |
| 690 | <artifactId>FastInfoset</artifactId> |
| 691 | <version>1.2.13</version> |
| 692 | <scope>compile</scope> |
| 693 | </dependency> |
| 694 | <dependency> |
| 695 | <groupId>org.springframework.boot</groupId> |
| 696 | <artifactId>spring-boot-dependencies</artifactId> |
| 697 | <version>${springboot.version}</version> |
| 698 | <type>pom</type> |
| 699 | <scope>import</scope> |
| 700 | </dependency> |
| 701 | <dependency> |
| 702 | <groupId>org.yaml</groupId> |
| 703 | <artifactId>snakeyaml</artifactId> |
Benjamin, Max (mb388a) | a9696cd | 2018-09-19 09:56:15 -0400 | [diff] [blame] | 704 | <version>1.23</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 705 | </dependency> |
| 706 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 707 | <groupId>javax.interceptor</groupId> |
| 708 | <artifactId>javax.interceptor-api</artifactId> |
| 709 | <version>1.2.2</version> |
| 710 | </dependency> |
| 711 | <dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 712 | <groupId>org.springframework.boot</groupId> |
| 713 | <artifactId>spring-boot-starter-test</artifactId> |
| 714 | <version>${springboot.version}</version> |
| 715 | <exclusions> |
| 716 | <exclusion> |
| 717 | <groupId>com.vaadin.external.google</groupId> |
| 718 | <artifactId>android-json</artifactId> |
| 719 | </exclusion> |
| 720 | </exclusions> |
| 721 | </dependency> |
| 722 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 723 | <groupId>net.javacrumbs.shedlock</groupId> |
| 724 | <artifactId>shedlock-spring</artifactId> |
| 725 | <version>0.18.2</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 726 | </dependency> |
| 727 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 728 | <groupId>net.javacrumbs.shedlock</groupId> |
| 729 | <artifactId>shedlock-provider-jdbc-template</artifactId> |
| 730 | <version>0.18.2</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 731 | </dependency> |
| 732 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 733 | <groupId>org.flywaydb</groupId> |
| 734 | <artifactId>flyway-core</artifactId> |
| 735 | <version>5.1.4</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 736 | </dependency> |
| 737 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 738 | <groupId>org.json</groupId> |
| 739 | <artifactId>json</artifactId> |
| 740 | <version>20140107</version> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 741 | </dependency> |
Siva.ye | f46404c | 2018-09-20 03:28:20 +0000 | [diff] [blame] | 742 | <dependency> |
Benjamin, Max (mb388a) | 6fa3d2b | 2018-09-29 10:41:54 -0400 | [diff] [blame] | 743 | <groupId>org.yaml</groupId> |
| 744 | <artifactId>snakeyaml</artifactId> |
| 745 | <version>1.19</version> |
Siva.ye | f46404c | 2018-09-20 03:28:20 +0000 | [diff] [blame] | 746 | </dependency> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 747 | </dependencies> |
| 748 | </dependencyManagement> |
| 749 | <profiles> |
| 750 | <profile> |
| 751 | <id>docker-image-build</id> |
| 752 | <properties> |
| 753 | <docker.skip>false</docker.skip> |
| 754 | <docker.skip.build>false</docker.skip.build> |
| 755 | <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation> |
| 756 | </properties> |
| 757 | </profile> |
| 758 | <profile> |
| 759 | <id>docker-image-build-push</id> |
| 760 | <properties> |
| 761 | <docker.skip>false</docker.skip> |
| 762 | <docker.skip.build>false</docker.skip.build> |
| 763 | <docker.skip.push>false</docker.skip.push> |
| 764 | <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation> |
| 765 | </properties> |
| 766 | </profile> |
| 767 | <profile> |
| 768 | <id>m2e</id> |
| 769 | <activation> |
| 770 | <property> |
| 771 | <name>m2e.version</name> |
| 772 | </property> |
| 773 | </activation> |
| 774 | <properties> |
Gary Wu | 1c1fc78 | 2018-08-24 15:30:22 -0700 | [diff] [blame] | 775 | <originalClassifier/> |
Benjamin, Max (mb388a) | 5a6a6de | 2018-07-30 15:56:09 -0400 | [diff] [blame] | 776 | </properties> |
| 777 | </profile> |
| 778 | </profiles> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 779 | </project> |