ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <groupId>org.openecomp</groupId> |
| 5 | <artifactId>mso</artifactId> |
| 6 | <packaging>pom</packaging> |
| 7 | <version>0.0.4-SNAPSHOT</version> |
| 8 | <name>MSO main project</name> |
| 9 | |
| 10 | <description>This Maven project is responsible to build and package all child projects - contributions in the MSO project. |
| 11 | This build can be configured to run Functional tests and to start/stop a jboss server + Mysql DB. |
| 12 | "mvn clean install -P with-integration-tests -Dintegration-tests-user=root -Dintegration-tests-group=root -Dintegration-tests-db-type=MYSQL" |
| 13 | </description> |
| 14 | |
| 15 | <organization> |
| 16 | <name>OPENECOMP - MSO</name> |
| 17 | <url>http://www.openecomp.org/</url> |
| 18 | </organization> |
| 19 | <modules> |
| 20 | <module>common</module> |
| 21 | <module>mso-api-handlers</module> |
| 22 | <module>mso-catalog-db</module> |
| 23 | <module>adapters</module> |
| 24 | <module>asdc-controller</module> |
| 25 | <module>status-control</module> |
| 26 | <module>bpmn</module> |
| 27 | <module>packages</module> |
| 28 | </modules> |
| 29 | |
| 30 | <properties> |
| 31 | <project.mso.base.folder>.</project.mso.base.folder> |
| 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 33 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 34 | <sonar.language>java</sonar.language> |
| 35 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 36 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 37 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 38 | <sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 39 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 40 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 41 | <org.apache.maven.user-settings></org.apache.maven.user-settings> |
| 42 | <!-- this is used for Chef mso-code cookbook --> |
| 43 | <swm.version>2.19.3-1</swm.version> |
| 44 | <evosuiteVersion>1.0.4-alpha2</evosuiteVersion> |
| 45 | </properties> |
| 46 | |
| 47 | <distributionManagement> |
| 48 | <repository> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 49 | <id>ecomp-releases</id> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 50 | <name>MSO Release Repository</name> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 51 | <url>https://nexus.openecomp.org/content/repositories/releases/</url> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 52 | </repository> |
| 53 | <snapshotRepository> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 54 | <id>ecomp-snapshots</id> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 55 | <name>MSO Snapshot Repository</name> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 56 | <url>https://nexus.openecomp.org/content/repositories/snapshots/</url> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 57 | </snapshotRepository> |
| 58 | <site> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 59 | <id>ecomp-javadoc</id> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 60 | <url>dav:https://ecomp-nexus:8443/repository/mso-javadoc/${project.version}</url> |
| 61 | </site> |
| 62 | </distributionManagement> |
| 63 | |
| 64 | <reporting> |
| 65 | <plugins> |
| 66 | <plugin> |
| 67 | <groupId>org.apache.maven.plugins</groupId> |
| 68 | <artifactId>maven-javadoc-plugin</artifactId> |
| 69 | <version>2.10.4</version> |
| 70 | <configuration> |
| 71 | <failOnError>false</failOnError> |
| 72 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 73 | <docletArtifact> |
| 74 | <groupId>org.umlgraph</groupId> |
| 75 | <artifactId>umlgraph</artifactId> |
| 76 | <version>5.6</version> |
| 77 | </docletArtifact> |
| 78 | <additionalparam>-views</additionalparam> |
| 79 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 80 | </configuration> |
| 81 | </plugin> |
| 82 | </plugins> |
| 83 | </reporting> |
| 84 | |
| 85 | <!-- configure build --> |
| 86 | |
| 87 | <!-- *********************************************************************************************************** --> |
| 88 | <!-- Plugins and repositories --> |
| 89 | <pluginRepositories> |
| 90 | <pluginRepository> |
| 91 | <id>central</id> |
| 92 | <url>http://repo1.maven.org/maven2</url> |
| 93 | </pluginRepository> |
| 94 | |
| 95 | <pluginRepository> |
| 96 | <id>EvoSuite</id> |
| 97 | <name>EvoSuite Repository</name> |
| 98 | <url>http://www.evosuite.org/m2</url> |
| 99 | </pluginRepository> |
| 100 | </pluginRepositories> |
| 101 | |
| 102 | <repositories> |
| 103 | <repository> |
| 104 | <id>central</id> |
| 105 | <name>Maven 2 repository 2</name> |
| 106 | <url>http://repo2.maven.org/maven2/</url> |
| 107 | </repository> |
| 108 | <repository> |
| 109 | <id>JBOSS</id> |
| 110 | <name>JBoss Repository</name> |
| 111 | <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url> |
| 112 | </repository> |
| 113 | <repository> |
| 114 | <id>jboss-deprecated-repository</id> |
| 115 | <name>JBoss Deprecated Maven Repository</name> |
| 116 | <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url> |
| 117 | </repository> |
| 118 | <repository> |
JulienBe | 4d74e80 | 2017-02-06 06:11:09 -0800 | [diff] [blame^] | 119 | <id>ecomp-releases</id> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 120 | <name>MSO Release Repository</name> |
JulienBe | 4d74e80 | 2017-02-06 06:11:09 -0800 | [diff] [blame^] | 121 | <url>https://nexus.openecomp.org/content/repositories/releases/</url> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 122 | </repository> |
| 123 | |
| 124 | <!-- Camunda Web Repository --> |
| 125 | <repository> |
| 126 | <id>CamundaWebRepo</id> |
| 127 | <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url> |
| 128 | <name>Camunda Web Repository</name> |
| 129 | </repository> |
| 130 | <repository> |
| 131 | <id>CamundaPublicRepo</id> |
| 132 | <url>https://app.camunda.com/nexus/content/groups/public</url> |
| 133 | <name>Camunda Public repository</name> |
| 134 | </repository> |
JulienBe | 4d74e80 | 2017-02-06 06:11:09 -0800 | [diff] [blame^] | 135 | |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 136 | <repository> |
| 137 | <id>soapUI</id> |
| 138 | <url>http://www.soapui.org/repository/maven2/</url> |
| 139 | <name>SoapUI plugin</name> |
| 140 | </repository> |
| 141 | |
| 142 | </repositories> |
| 143 | <!-- *********************************************************************************************************** --> |
| 144 | <!-- Build --> |
| 145 | <build> |
| 146 | <resources> |
| 147 | <resource> |
| 148 | <directory>src/main/resources</directory> |
| 149 | <filtering>true</filtering> |
| 150 | </resource> |
| 151 | <resource> |
| 152 | <directory>target/generated-sources/license</directory> |
| 153 | <includes> |
| 154 | <include>third-party-licenses.txt</include> |
| 155 | </includes> |
| 156 | </resource> |
| 157 | <resource> |
| 158 | <directory>target/generated-resources/licenses</directory> |
| 159 | <includes> |
| 160 | <include>*.*</include> |
| 161 | </includes> |
| 162 | <targetPath>third-party-licenses</targetPath> |
| 163 | </resource> |
| 164 | </resources> |
| 165 | <plugins> |
| 166 | <plugin> |
| 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-deploy-plugin</artifactId> |
| 169 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
| 170 | </plugin> |
| 171 | <plugin> |
| 172 | <groupId>org.apache.maven.plugins</groupId> |
| 173 | <artifactId>maven-surefire-plugin</artifactId> |
| 174 | <version>2.17</version> |
| 175 | <configuration> |
| 176 | <!-- <forkCount>2C</forkCount> |
| 177 | <reuseForks>true</reuseForks> --> |
| 178 | <properties> |
| 179 | <property> |
| 180 | <name>listener</name> |
| 181 | <value>org.evosuite.runtime.InitializingListener</value> |
| 182 | </property> |
| 183 | </properties> |
| 184 | </configuration> |
| 185 | </plugin> |
| 186 | <plugin> |
| 187 | <groupId>org.apache.maven.plugins</groupId> |
| 188 | <artifactId>maven-compiler-plugin</artifactId> |
| 189 | <version>2.3.2</version> |
| 190 | <configuration> |
| 191 | <debug>true</debug> |
| 192 | <compilerArgument>-Xlint</compilerArgument> |
| 193 | <verbose>true</verbose> |
| 194 | <showDeprecation>true</showDeprecation> |
| 195 | <showWarnings>true</showWarnings> |
| 196 | <source>1.8</source> |
| 197 | <target>1.8</target> |
| 198 | </configuration> |
| 199 | </plugin> |
| 200 | <!-- <plugin> --> |
| 201 | <!-- <groupId>org.codehaus.mojo</groupId> --> |
| 202 | <!-- <artifactId>sonar-maven-plugin</artifactId> --> |
| 203 | <!-- <version>2.1</version> --> |
| 204 | <!-- </plugin> --> |
| 205 | <plugin> |
| 206 | <groupId>org.apache.maven.plugins</groupId> |
| 207 | <artifactId>maven-ejb-plugin</artifactId> |
| 208 | <version>2.2.1</version> |
| 209 | <configuration> |
| 210 | <ejbVersion>3.0</ejbVersion> |
| 211 | <archive> |
| 212 | <manifest> |
| 213 | <addClasspath>true</addClasspath> |
| 214 | </manifest> |
| 215 | </archive> |
| 216 | </configuration> |
| 217 | </plugin> |
| 218 | <plugin> |
| 219 | <groupId>org.apache.maven.plugins</groupId> |
| 220 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 221 | <version>2.17</version> |
| 222 | <configuration> |
| 223 | <includes>**/org/openecomp/**/*.java</includes> |
| 224 | <configLocation>/google_checks.xml</configLocation> |
| 225 | </configuration> |
| 226 | </plugin> |
| 227 | <plugin> |
| 228 | <groupId>org.codehaus.mojo</groupId> |
| 229 | <artifactId>findbugs-maven-plugin</artifactId> |
| 230 | <version>2.5.2</version> |
| 231 | <configuration> |
| 232 | <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile> |
| 233 | <nested>true</nested> |
| 234 | <findbugsXmlOutput>true</findbugsXmlOutput> |
| 235 | <findbugsXmlWithMessages>true</findbugsXmlWithMessages> |
| 236 | <xmlOutput>true</xmlOutput> |
| 237 | </configuration> |
| 238 | </plugin> |
| 239 | |
| 240 | <plugin> |
| 241 | <groupId>org.codehaus.mojo</groupId> |
| 242 | <artifactId>sonar-maven-plugin</artifactId> |
| 243 | <version>3.2</version> |
| 244 | </plugin> |
| 245 | |
| 246 | <plugin> |
| 247 | <artifactId>maven-scm-plugin</artifactId> |
| 248 | <version>1.8.1</version> |
| 249 | <configuration> |
| 250 | <tag>${project.artifactId}-${project.version}</tag> |
| 251 | </configuration> |
| 252 | </plugin> |
| 253 | <plugin> |
| 254 | <groupId>org.apache.maven.plugins</groupId> |
| 255 | <artifactId>maven-javadoc-plugin</artifactId> |
| 256 | <version>2.9</version> |
| 257 | </plugin> |
| 258 | <plugin> |
| 259 | <groupId>org.apache.maven.plugins</groupId> |
| 260 | <artifactId>maven-site-plugin</artifactId> |
| 261 | <version>3.6</version> |
| 262 | <dependencies> |
| 263 | <dependency> |
| 264 | <groupId>org.apache.maven.wagon</groupId> |
| 265 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 266 | <version>2.10</version> |
| 267 | </dependency> |
| 268 | </dependencies> |
| 269 | </plugin> |
| 270 | <plugin> |
| 271 | <groupId>org.codehaus.mojo</groupId> |
| 272 | <artifactId>cobertura-maven-plugin</artifactId> |
| 273 | <version>2.5.2</version> |
| 274 | <configuration> |
| 275 | <formats> |
| 276 | <format>xml</format> |
| 277 | </formats> |
| 278 | </configuration> |
| 279 | </plugin> |
| 280 | <plugin> |
| 281 | <groupId>org.codehaus.mojo</groupId> |
| 282 | <artifactId>versions-maven-plugin</artifactId> |
| 283 | <version>1.3.1</version> |
| 284 | </plugin> |
| 285 | <plugin> |
| 286 | <groupId>org.codehaus.mojo</groupId> |
| 287 | <artifactId>jboss-packaging-maven-plugin</artifactId> |
| 288 | <version>2.2</version> |
| 289 | <!-- <configuration> <archive> <manifest> <addClasspath>true</addClasspath> |
| 290 | </manifest> </archive> </configuration> Enable 'jboss-sar', etc., as a recoginized |
| 291 | maven packaging type --> |
| 292 | <extensions>true</extensions> |
| 293 | </plugin> |
| 294 | |
| 295 | <plugin> |
| 296 | <groupId>org.jacoco</groupId> |
| 297 | <artifactId>jacoco-maven-plugin</artifactId> |
| 298 | <version>0.7.7.201606060606</version> |
| 299 | <configuration> |
| 300 | <dumpOnExit>true</dumpOnExit> |
| 301 | <includes> |
| 302 | <include>org.openecomp.*</include> |
| 303 | </includes> |
| 304 | |
| 305 | |
| 306 | </configuration> |
| 307 | |
| 308 | <executions> |
| 309 | <execution> |
| 310 | <id>jacoco-initialize-unit-tests</id> |
| 311 | <goals> |
| 312 | <goal>prepare-agent</goal> |
| 313 | </goals> |
| 314 | <configuration> |
| 315 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 316 | <!-- <append>true</append> --> |
| 317 | |
| 318 | |
| 319 | </configuration> |
| 320 | </execution> |
| 321 | </executions> |
| 322 | </plugin> |
| 323 | <plugin> |
| 324 | <groupId>com.fortify.ps.maven.plugin</groupId> |
| 325 | <artifactId>sca-maven-plugin</artifactId> |
| 326 | <version>4.20</version> |
| 327 | <configuration> |
| 328 | <buildId>mso-${project.version}</buildId> |
| 329 | <source>1.7</source> |
| 330 | </configuration> |
| 331 | </plugin> |
| 332 | |
| 333 | <!-- license plugin --> |
| 334 | <plugin> |
| 335 | <groupId>org.codehaus.mojo</groupId> |
| 336 | <artifactId>license-maven-plugin</artifactId> |
| 337 | <version>1.10</version> |
| 338 | <configuration> |
| 339 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 340 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 341 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 342 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 343 | <licenseName>apache_v2</licenseName> |
| 344 | <inceptionYear>2017</inceptionYear> |
| 345 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 346 | <projectName>ECOMP MSO</projectName> |
| 347 | <canUpdateCopyright>true</canUpdateCopyright> |
| 348 | <canUpdateDescription>true</canUpdateDescription> |
| 349 | <canUpdateLicense>true</canUpdateLicense> |
| 350 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 351 | </configuration> |
| 352 | <executions> |
| 353 | <execution> |
| 354 | <id>first</id> |
| 355 | <goals> |
| 356 | <goal>update-file-header</goal> |
| 357 | </goals> |
| 358 | <phase>process-sources</phase> |
| 359 | <configuration> |
| 360 | <licenseName>apache_v2</licenseName> |
| 361 | <includes> |
| 362 | <include>*.java</include> |
| 363 | <include>*.groovy</include> |
| 364 | </includes> |
| 365 | <excludes> |
| 366 | <exclude>*.json</exclude> |
| 367 | </excludes> |
| 368 | </configuration> |
| 369 | </execution> |
| 370 | </executions> |
| 371 | </plugin> |
| 372 | |
| 373 | </plugins> |
| 374 | <pluginManagement> |
| 375 | <plugins> |
| 376 | |
| 377 | <plugin> |
| 378 | <groupId>org.evosuite.plugins</groupId> |
| 379 | <artifactId>evosuite-maven-plugin</artifactId> |
| 380 | <version>${evosuiteVersion}</version> |
| 381 | <executions> |
| 382 | <execution> |
| 383 | <goals> |
| 384 | <goal>prepare</goal> |
| 385 | </goals> |
| 386 | <phase>process-test-classes</phase> |
| 387 | </execution> |
| 388 | </executions> |
| 389 | </plugin> |
| 390 | </plugins> |
| 391 | </pluginManagement> |
| 392 | </build> |
| 393 | |
| 394 | <!-- *********************************************************************************************************** --> |
| 395 | <!-- Dependencies --> |
| 396 | <dependencies> |
| 397 | <dependency> |
| 398 | <groupId>junit</groupId> |
| 399 | <artifactId>junit</artifactId> |
| 400 | <version>4.11</version> |
| 401 | <scope>test</scope> |
| 402 | </dependency> |
| 403 | <dependency> |
| 404 | <groupId>org.evosuite</groupId> |
| 405 | <artifactId>evosuite-standalone-runtime</artifactId> |
| 406 | <version>${evosuiteVersion}</version> |
| 407 | <scope>test</scope> |
| 408 | </dependency> |
| 409 | </dependencies> |
| 410 | <dependencyManagement> |
| 411 | <dependencies> |
| 412 | |
| 413 | |
| 414 | <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> |
| 415 | <!-- force use of version 4.5 everywhere in transient deps, aligned on WildFly 10 version --> |
| 416 | <dependency> |
| 417 | <groupId>org.apache.httpcomponents</groupId> |
| 418 | <artifactId>httpclient</artifactId> |
| 419 | <version>4.5</version> |
| 420 | <scope>compile</scope> |
| 421 | </dependency> |
| 422 | <dependency> |
| 423 | <groupId>org.apache.httpcomponents</groupId> |
| 424 | <artifactId>httpcore</artifactId> |
| 425 | <version>4.4.1</version> |
| 426 | <scope>compile</scope> |
| 427 | </dependency> |
| 428 | <dependency> |
| 429 | <groupId>commons-codec</groupId> |
| 430 | <artifactId>commons-codec</artifactId> |
| 431 | <version>1.10</version> |
| 432 | <scope>compile</scope> |
| 433 | </dependency> |
| 434 | <dependency> |
| 435 | <groupId>commons-io</groupId> |
| 436 | <artifactId>commons-io</artifactId> |
| 437 | <version>2.5</version> |
| 438 | <scope>compile</scope> |
| 439 | </dependency> |
| 440 | <dependency> |
| 441 | <groupId>org.hamcrest</groupId> |
| 442 | <artifactId>hamcrest-core</artifactId> |
| 443 | <version>1.3</version> |
| 444 | <scope>test</scope> |
| 445 | </dependency> |
| 446 | <dependency> |
| 447 | <groupId>log4j</groupId> |
| 448 | <artifactId>log4j</artifactId> |
| 449 | <version>1.2.17</version> |
| 450 | <scope>compile</scope> |
| 451 | </dependency> |
| 452 | <dependency> |
| 453 | <groupId>org.slf4j</groupId> |
| 454 | <artifactId>slf4j-api</artifactId> |
| 455 | <version>1.7.10</version> |
| 456 | <scope>compile</scope> |
| 457 | </dependency> |
| 458 | <dependency> |
| 459 | <groupId>com.sun.xml.fastinfoset</groupId> |
| 460 | <artifactId>FastInfoset</artifactId> |
| 461 | <version>1.2.13</version> |
| 462 | <scope>compile</scope> |
| 463 | </dependency> |
| 464 | </dependencies> |
| 465 | </dependencyManagement> |
JulienBe | ec92b1a | 2017-02-06 11:22:26 +0100 | [diff] [blame] | 466 | </project> |