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> |
Jessica Wagantall | 873442e | 2019-05-02 16:08:07 -0700 | [diff] [blame] | 8 | <version>2.0.0</version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 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 /> |
Marcus G K Williams | 8534e7a | 2019-06-07 13:47:04 -0700 | [diff] [blame] | 52 | <openstack.version>1.5.0-SNAPSHOT</openstack.version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 53 | <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> |
| 54 | <originalClassifier>original</originalClassifier> |
| 55 | <docker.skip>true</docker.skip> |
| 56 | <docker.skip.build>true</docker.skip.build> |
| 57 | <docker.skip.push>true</docker.skip.push> |
| 58 | <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version> |
| 59 | <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id> |
| 60 | <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository> |
| 61 | <enforcer.skip>true</enforcer.skip> |
| 62 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 63 | <releaseNexusPath>content/repositories/releases/</releaseNexusPath> |
| 64 | <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath> |
| 65 | <publicNexusPath>content/repositories/public/</publicNexusPath> |
| 66 | <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath> |
| 67 | <cxf.version>3.2.6</cxf.version> |
| 68 | <jax.ws.rs>2.1</jax.ws.rs> |
Sangalang, Felix | 5ed9813 | 2019-07-25 10:07:49 -0500 | [diff] [blame] | 69 | <springboot.version>2.1.5.RELEASE</springboot.version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 70 | <camunda.springboot.version>3.2.0</camunda.springboot.version> |
| 71 | <format.skipValidate>false</format.skipValidate> |
| 72 | <format.skipExecute>true</format.skipExecute> |
Benjamin, Max (mb388a) | 1a592b9 | 2019-06-17 10:51:08 -0400 | [diff] [blame] | 73 | <io.fabric8.version>4.1.0</io.fabric8.version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 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> |
sarada prasad sahoo | 294a68f | 2019-07-04 18:27:00 +0530 | [diff] [blame] | 213 | <!-- <plugin> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 214 | <groupId>org.sonatype.plugins</groupId> |
| 215 | <artifactId>nexus-staging-maven-plugin</artifactId> |
sarada prasad sahoo | 294a68f | 2019-07-04 18:27:00 +0530 | [diff] [blame] | 216 | <version>1.6.7</version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 217 | <extensions>true</extensions> |
| 218 | <configuration> |
| 219 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 220 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 221 | <serverId>ecomp-staging</serverId> |
| 222 | </configuration> |
sarada prasad sahoo | 294a68f | 2019-07-04 18:27:00 +0530 | [diff] [blame] | 223 | </plugin> --> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 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> |
subhash kumar singh | f875061 | 2019-04-19 12:24:00 +0530 | [diff] [blame] | 447 | <phase>process-sources</phase> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 448 | <configuration> |
| 449 | <skip>${format.skipExecute}</skip> |
| 450 | <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile> |
| 451 | </configuration> |
| 452 | </execution> |
| 453 | <execution> |
| 454 | <id>format-xml</id> |
| 455 | <goals> |
| 456 | <goal>format</goal> |
| 457 | </goals> |
subhash kumar singh | f875061 | 2019-04-19 12:24:00 +0530 | [diff] [blame] | 458 | <phase>process-sources</phase> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 459 | <configuration> |
| 460 | <skip>${format.skipExecute}</skip> |
| 461 | <sourceDirectory>${project.basedir}</sourceDirectory> |
| 462 | <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile> |
| 463 | <includes> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 464 | <include>pom.xml</include> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 465 | </includes> |
| 466 | </configuration> |
| 467 | </execution> |
| 468 | <execution> |
| 469 | <id>validate-java</id> |
| 470 | <goals> |
| 471 | <goal>validate</goal> |
| 472 | </goals> |
| 473 | <configuration> |
| 474 | <skip>${format.skipValidate}</skip> |
| 475 | <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile> |
| 476 | </configuration> |
| 477 | </execution> |
| 478 | <execution> |
| 479 | <id>validate-poms</id> |
| 480 | <goals> |
| 481 | <goal>validate</goal> |
| 482 | </goals> |
| 483 | <configuration> |
| 484 | <skip>${format.skipValidate}</skip> |
| 485 | <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 486 | <includes> |
| 487 | <include>pom.xml</include> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 488 | </includes> |
| 489 | </configuration> |
| 490 | </execution> |
| 491 | </executions> |
| 492 | <dependencies> |
| 493 | <dependency> |
| 494 | <groupId>com.fasterxml.jackson.core</groupId> |
| 495 | <artifactId>jackson-annotations</artifactId> |
| 496 | <version>2.9.8</version> |
| 497 | </dependency> |
| 498 | </dependencies> |
| 499 | </plugin> |
| 500 | </plugins> |
| 501 | <pluginManagement> |
| 502 | <plugins> |
| 503 | <plugin> |
| 504 | <groupId>io.fabric8</groupId> |
| 505 | <artifactId>fabric8-maven-plugin</artifactId> |
Benjamin, Max (mb388a) | 1a592b9 | 2019-06-17 10:51:08 -0400 | [diff] [blame] | 506 | <version>${io.fabric8.version}</version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 507 | <configuration> |
| 508 | <skip>${docker.skip}</skip> |
| 509 | <skipBuild>${docker.skip.build}</skipBuild> |
| 510 | <skipPush>${docker.skip.push}</skipPush> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 511 | <dockerHost>${docker.newHost}</dockerHost> |
| 512 | <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable --> |
| 513 | <certPath>${docker.host.cert.path}</certPath> |
Benjamin, Max (mb388a) | 1a592b9 | 2019-06-17 10:51:08 -0400 | [diff] [blame] | 514 | <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command --> |
Benjamin, Max (mb388a) | c0247ec | 2019-04-11 10:34:45 -0400 | [diff] [blame] | 515 | <pushRegistry>${dockerPushRepo}</pushRegistry> |
| 516 | <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password --> |
| 517 | <pullRegistry>${dockerPullRepo}</pullRegistry> |
Benjamin, Max (mb388a) | 1a592b9 | 2019-06-17 10:51:08 -0400 | [diff] [blame] | 518 | <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username, |
| 519 | and password --> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 520 | <images> |
| 521 | <image> |
| 522 | <alias>service</alias> |
| 523 | <name>${artifactId}:${project.version}</name> |
| 524 | <build> |
| 525 | <dockerFileDir>${project.build.directory}</dockerFileDir> |
| 526 | </build> |
| 527 | </image> |
| 528 | </images> |
| 529 | </configuration> |
| 530 | <executions> |
| 531 | <execution> |
| 532 | <id>start</id> |
| 533 | <goals> |
| 534 | <goal>build</goal> |
| 535 | <goal>push</goal> |
| 536 | </goals> |
| 537 | </execution> |
| 538 | </executions> |
| 539 | </plugin> |
| 540 | <plugin> |
| 541 | <groupId>org.apache.maven.plugins</groupId> |
| 542 | <artifactId>maven-surefire-plugin</artifactId> |
| 543 | <version>2.20</version> |
| 544 | <configuration> |
| 545 | <systemPropertyVariables> |
| 546 | <so.log.level>DEBUG</so.log.level> |
| 547 | </systemPropertyVariables> |
| 548 | <rerunFailingTestsCount>2</rerunFailingTestsCount> |
| 549 | <parallel>classes</parallel> |
| 550 | <useUnlimitedThreads>false</useUnlimitedThreads> |
| 551 | <threadCount>1</threadCount> |
| 552 | </configuration> |
| 553 | </plugin> |
| 554 | <plugin> |
| 555 | <groupId>org.apache.maven.plugins</groupId> |
| 556 | <artifactId>maven-failsafe-plugin</artifactId> |
| 557 | <version>2.20</version> |
| 558 | <configuration> |
| 559 | <skip>true</skip> |
| 560 | <systemPropertyVariables> |
| 561 | <so.log.level>DEBUG</so.log.level> |
| 562 | </systemPropertyVariables> |
| 563 | <rerunFailingTestsCount>2</rerunFailingTestsCount> |
| 564 | </configuration> |
| 565 | </plugin> |
| 566 | <plugin> |
| 567 | <groupId>org.apache.maven.plugins</groupId> |
| 568 | <artifactId>maven-dependency-plugin</artifactId> |
| 569 | <executions> |
| 570 | <execution> |
| 571 | <id>extract-docker-file</id> |
| 572 | <goals> |
| 573 | <goal>unpack</goal> |
| 574 | </goals> |
| 575 | <configuration> |
| 576 | <artifactItems> |
| 577 | <artifactItem> |
| 578 | <groupId>org.onap.so</groupId> |
| 579 | <artifactId>deployment-configs</artifactId> |
| 580 | <version>${project.version}</version> |
| 581 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 582 | <includes>*,scripts/**,certs/**, logger/*.xml</includes> |
| 583 | <excludes>Kubernetes</excludes> |
| 584 | </artifactItem> |
| 585 | </artifactItems> |
| 586 | </configuration> |
| 587 | </execution> |
| 588 | </executions> |
| 589 | </plugin> |
| 590 | <plugin> |
| 591 | <groupId>org.apache.maven.plugins</groupId> |
| 592 | <artifactId>maven-jar-plugin</artifactId> |
| 593 | <version>3.0.2</version> |
| 594 | <executions> |
| 595 | <execution> |
| 596 | <id>tests</id> |
| 597 | <goals> |
| 598 | <goal>test-jar</goal> |
| 599 | </goals> |
| 600 | <configuration> |
| 601 | <skip>false</skip> |
| 602 | </configuration> |
| 603 | </execution> |
| 604 | <execution> |
| 605 | <id>original</id> |
| 606 | <phase>package</phase> |
| 607 | <goals> |
| 608 | <goal>jar</goal> |
| 609 | </goals> |
| 610 | <configuration> |
| 611 | <classifier>${originalClassifier}</classifier> |
| 612 | <includes> |
| 613 | <include>**</include> |
| 614 | </includes> |
| 615 | </configuration> |
| 616 | </execution> |
| 617 | </executions> |
| 618 | </plugin> |
| 619 | <plugin> |
| 620 | <groupId>org.springframework.boot</groupId> |
| 621 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 622 | <version>${springboot.version}</version> |
| 623 | <executions> |
| 624 | <execution> |
| 625 | <id>build-info</id> |
| 626 | <goals> |
| 627 | <goal>build-info</goal> |
| 628 | </goals> |
| 629 | </execution> |
| 630 | </executions> |
| 631 | </plugin> |
| 632 | </plugins> |
| 633 | </pluginManagement> |
| 634 | </build> |
| 635 | <!-- *********************************************************************************************************** --> |
| 636 | <!-- Dependencies --> |
| 637 | <dependencies> |
Bhatt, Prema | ae9a2bd | 2019-09-17 08:08:12 -0400 | [diff] [blame] | 638 | <dependency> |
| 639 | <groupId>org.onap.logging-analytics</groupId> |
| 640 | <artifactId>logging-slf4j</artifactId> |
| 641 | <version>1.5.0-SNAPSHOT</version> |
| 642 | </dependency> |
Plummer, Brittany | 2ede5f0 | 2019-09-10 11:29:42 -0400 | [diff] [blame] | 643 | <dependency> |
| 644 | <groupId>org.onap.logging-analytics</groupId> |
| 645 | <artifactId>logging-filter-base</artifactId> |
| 646 | <version>1.5.0-SNAPSHOT</version> |
| 647 | </dependency> |
| 648 | <dependency> |
| 649 | <groupId>org.onap.logging-analytics</groupId> |
| 650 | <artifactId>logging-filter-spring</artifactId> |
| 651 | <version>1.5.0-SNAPSHOT</version> |
| 652 | </dependency> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 653 | <dependency> |
| 654 | <groupId>com.fasterxml.jackson.core</groupId> |
| 655 | <artifactId>jackson-core</artifactId> |
| 656 | </dependency> |
| 657 | <dependency> |
| 658 | <groupId>com.fasterxml.jackson.module</groupId> |
| 659 | <artifactId>jackson-module-jaxb-annotations</artifactId> |
| 660 | </dependency> |
| 661 | <dependency> |
| 662 | <groupId>com.fasterxml.jackson.core</groupId> |
| 663 | <artifactId>jackson-databind</artifactId> |
| 664 | </dependency> |
| 665 | <dependency> |
| 666 | <groupId>com.fasterxml.jackson.core</groupId> |
| 667 | <artifactId>jackson-annotations</artifactId> |
| 668 | </dependency> |
| 669 | <dependency> |
| 670 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 671 | <artifactId>jackson-jaxrs-base</artifactId> |
| 672 | </dependency> |
| 673 | <dependency> |
| 674 | <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 675 | <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 676 | </dependency> |
| 677 | <dependency> |
| 678 | <groupId>javax.ws.rs</groupId> |
| 679 | <artifactId>javax.ws.rs-api</artifactId> |
| 680 | <version>${jax.ws.rs}</version> |
| 681 | </dependency> |
| 682 | <dependency> |
| 683 | <groupId>javax.annotation</groupId> |
| 684 | <artifactId>javax.annotation-api</artifactId> |
| 685 | <version>1.3.1</version> |
| 686 | </dependency> |
| 687 | <dependency> |
| 688 | <groupId>javax.inject</groupId> |
| 689 | <artifactId>javax.inject</artifactId> |
| 690 | <version>1</version> |
| 691 | </dependency> |
| 692 | <dependency> |
| 693 | <groupId>org.mockito</groupId> |
| 694 | <artifactId>mockito-core</artifactId> |
| 695 | </dependency> |
| 696 | <dependency> |
| 697 | <groupId>org.hamcrest</groupId> |
| 698 | <artifactId>hamcrest-core</artifactId> |
| 699 | </dependency> |
| 700 | <dependency> |
| 701 | <groupId>org.hamcrest</groupId> |
| 702 | <artifactId>hamcrest-library</artifactId> |
| 703 | </dependency> |
| 704 | <dependency> |
| 705 | <groupId>junit</groupId> |
| 706 | <artifactId>junit</artifactId> |
| 707 | <scope>test</scope> |
| 708 | </dependency> |
| 709 | <dependency> |
| 710 | <groupId>xmlunit</groupId> |
| 711 | <artifactId>xmlunit</artifactId> |
| 712 | <version>1.6</version> |
| 713 | <scope>test</scope> |
| 714 | </dependency> |
| 715 | <dependency> |
| 716 | <groupId>com.github.tomakehurst</groupId> |
| 717 | <artifactId>wiremock-standalone</artifactId> |
| 718 | <version>2.13.0</version> |
| 719 | <scope>test</scope> |
| 720 | <exclusions> |
| 721 | <exclusion> |
| 722 | <groupId>org.mortbay.jetty</groupId> |
| 723 | <artifactId>jetty</artifactId> |
| 724 | </exclusion> |
| 725 | <exclusion> |
| 726 | <groupId>com.google.guava</groupId> |
| 727 | <artifactId>guava</artifactId> |
| 728 | </exclusion> |
| 729 | <exclusion> |
| 730 | <groupId>com.fasterxml.jackson.core</groupId> |
| 731 | <artifactId>jackson-core</artifactId> |
| 732 | </exclusion> |
| 733 | <exclusion> |
| 734 | <groupId>com.fasterxml.jackson.core</groupId> |
| 735 | <artifactId>jackson-annotations</artifactId> |
| 736 | </exclusion> |
| 737 | <exclusion> |
| 738 | <groupId>com.fasterxml.jackson.core</groupId> |
| 739 | <artifactId>jackson-databind</artifactId> |
| 740 | </exclusion> |
| 741 | <exclusion> |
| 742 | <groupId>org.apache.httpcomponents</groupId> |
| 743 | <artifactId>httpclient</artifactId> |
| 744 | </exclusion> |
| 745 | <exclusion> |
| 746 | <groupId>org.skyscreamer</groupId> |
| 747 | <artifactId>jsonassert</artifactId> |
| 748 | </exclusion> |
| 749 | <exclusion> |
| 750 | <groupId>xmlunit</groupId> |
| 751 | <artifactId>xmlunit</artifactId> |
| 752 | </exclusion> |
| 753 | <exclusion> |
| 754 | <groupId>com.jayway.jsonpath</groupId> |
| 755 | <artifactId>json-path</artifactId> |
| 756 | </exclusion> |
| 757 | <exclusion> |
| 758 | <groupId>net.sf.jopt-simple</groupId> |
| 759 | <artifactId>jopt-simple</artifactId> |
| 760 | </exclusion> |
| 761 | </exclusions> |
| 762 | </dependency> |
| 763 | <dependency> |
| 764 | <groupId>com.openpojo</groupId> |
| 765 | <artifactId>openpojo</artifactId> |
| 766 | <version>0.8.10</version> |
| 767 | </dependency> |
| 768 | <dependency> |
| 769 | <groupId>com.shazam</groupId> |
| 770 | <artifactId>shazamcrest</artifactId> |
| 771 | <version>0.11</version> |
| 772 | <scope>test</scope> |
| 773 | <exclusions> |
| 774 | <exclusion> |
| 775 | <groupId>com.google.guava</groupId> |
| 776 | <artifactId>guava</artifactId> |
| 777 | </exclusion> |
| 778 | <exclusion> |
| 779 | <groupId>org.apache.commons</groupId> |
| 780 | <artifactId>commons-lang3</artifactId> |
| 781 | </exclusion> |
| 782 | </exclusions> |
| 783 | </dependency> |
| 784 | <dependency> |
| 785 | <groupId>org.assertj</groupId> |
| 786 | <artifactId>assertj-core</artifactId> |
| 787 | <version>3.11.1</version> |
| 788 | <scope>test</scope> |
| 789 | </dependency> |
| 790 | <dependency> |
| 791 | <groupId>com.googlecode.junit-toolbox</groupId> |
| 792 | <artifactId>junit-toolbox</artifactId> |
| 793 | <version>2.4</version> |
| 794 | </dependency> |
| 795 | </dependencies> |
| 796 | <dependencyManagement> |
| 797 | <dependencies> |
| 798 | <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> |
| 799 | <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version --> |
| 800 | <dependency> |
| 801 | <groupId>org.apache.httpcomponents</groupId> |
| 802 | <artifactId>httpcore</artifactId> |
| 803 | <version>4.4.4</version> |
| 804 | <scope>compile</scope> |
| 805 | </dependency> |
| 806 | <dependency> |
| 807 | <groupId>commons-codec</groupId> |
| 808 | <artifactId>commons-codec</artifactId> |
Sangalang, Felix | 785fab5 | 2019-06-21 10:46:38 -0400 | [diff] [blame] | 809 | <version>1.12</version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 810 | <scope>compile</scope> |
| 811 | </dependency> |
| 812 | <dependency> |
| 813 | <groupId>commons-io</groupId> |
| 814 | <artifactId>commons-io</artifactId> |
| 815 | <version>2.5</version> |
| 816 | <scope>compile</scope> |
| 817 | </dependency> |
| 818 | <dependency> |
| 819 | <groupId>com.sun.xml.fastinfoset</groupId> |
| 820 | <artifactId>FastInfoset</artifactId> |
| 821 | <version>1.2.13</version> |
| 822 | <scope>compile</scope> |
| 823 | </dependency> |
| 824 | <dependency> |
| 825 | <groupId>org.springframework.boot</groupId> |
| 826 | <artifactId>spring-boot-dependencies</artifactId> |
| 827 | <version>${springboot.version}</version> |
| 828 | <type>pom</type> |
| 829 | <scope>import</scope> |
| 830 | </dependency> |
| 831 | <dependency> |
| 832 | <groupId>org.yaml</groupId> |
| 833 | <artifactId>snakeyaml</artifactId> |
| 834 | <version>1.23</version> |
| 835 | </dependency> |
| 836 | <dependency> |
| 837 | <groupId>javax.interceptor</groupId> |
| 838 | <artifactId>javax.interceptor-api</artifactId> |
| 839 | <version>1.2.2</version> |
| 840 | </dependency> |
| 841 | <dependency> |
| 842 | <groupId>org.springframework.boot</groupId> |
| 843 | <artifactId>spring-boot-starter-test</artifactId> |
| 844 | <version>${springboot.version}</version> |
| 845 | <exclusions> |
| 846 | <exclusion> |
| 847 | <groupId>com.vaadin.external.google</groupId> |
| 848 | <artifactId>android-json</artifactId> |
| 849 | </exclusion> |
| 850 | </exclusions> |
| 851 | </dependency> |
| 852 | <dependency> |
| 853 | <groupId>net.javacrumbs.shedlock</groupId> |
| 854 | <artifactId>shedlock-spring</artifactId> |
| 855 | <version>0.18.2</version> |
| 856 | </dependency> |
| 857 | <dependency> |
| 858 | <groupId>net.javacrumbs.shedlock</groupId> |
| 859 | <artifactId>shedlock-provider-jdbc-template</artifactId> |
| 860 | <version>0.18.2</version> |
| 861 | </dependency> |
| 862 | <dependency> |
| 863 | <groupId>org.flywaydb</groupId> |
| 864 | <artifactId>flyway-core</artifactId> |
Sangalang, Felix | 5ed9813 | 2019-07-25 10:07:49 -0500 | [diff] [blame] | 865 | <version>5.2.4</version> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 866 | </dependency> |
| 867 | <dependency> |
| 868 | <groupId>org.json</groupId> |
| 869 | <artifactId>json</artifactId> |
| 870 | <version>20140107</version> |
| 871 | </dependency> |
Benjamin, Max (mb388a) | f47919f | 2019-04-08 14:14:34 -0400 | [diff] [blame] | 872 | </dependencies> |
| 873 | </dependencyManagement> |
| 874 | <profiles> |
| 875 | <profile> |
| 876 | <id>docker-image-build</id> |
| 877 | <properties> |
| 878 | <docker.skip>false</docker.skip> |
| 879 | <docker.skip.build>false</docker.skip.build> |
| 880 | <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation> |
| 881 | </properties> |
| 882 | </profile> |
| 883 | <profile> |
| 884 | <id>docker-image-build-push</id> |
| 885 | <properties> |
| 886 | <docker.skip>false</docker.skip> |
| 887 | <docker.skip.build>false</docker.skip.build> |
| 888 | <docker.skip.push>false</docker.skip.push> |
| 889 | <fabric8.skipResourceValidation>true</fabric8.skipResourceValidation> |
| 890 | </properties> |
| 891 | </profile> |
| 892 | <profile> |
| 893 | <id>format</id> |
| 894 | <properties> |
| 895 | <format.skipValidate>true</format.skipValidate> |
| 896 | <format.skipExecute>false</format.skipExecute> |
| 897 | </properties> |
| 898 | </profile> |
| 899 | <profile> |
| 900 | <id>m2e</id> |
| 901 | <activation> |
| 902 | <property> |
| 903 | <name>m2e.version</name> |
| 904 | </property> |
| 905 | </activation> |
| 906 | <properties> |
| 907 | <originalClassifier /> |
| 908 | </properties> |
| 909 | </profile> |
| 910 | </profiles> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 911 | </project> |