diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 291 |
1 files changed, 4 insertions, 287 deletions
@@ -45,38 +45,6 @@ </license> </licenses> - <pluginRepositories> - <!-- Black Duck plugin dependencies --> - <pluginRepository> - <id>JCenter</id> - <name>JCenter Repository</name> - <url>http://jcenter.bintray.com</url> - </pluginRepository> - - <pluginRepository> - <id>Restlet</id> - <name>Restlet Repository</name> - <url>http://maven.restlet.com</url> - </pluginRepository> - </pluginRepositories> - - <distributionManagement> - <repository> - <id>ecomp-releases</id> - <name>OpenECOMP Release Repository</name> - <url>${nexusproxy}/content/repositories/releases</url> - </repository> - <snapshotRepository> - <id>ecomp-snapshots</id> - <name>OpenECOMP Snapshot Repository</name> - <url>${nexusproxy}/content/repositories/snapshots</url> - </snapshotRepository> - <site> - <id>ecomp-site</id> - <url>dav:${nexusproxy}/content/sites/site/org/onap/dcaegen2/analytics/tca/${project.artifactId}/${project.version}/</url> - </site> - </distributionManagement> - <properties> <!-- PROJECT SETTINGS--> @@ -88,7 +56,7 @@ <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> <!-- PROJECT DEPENDENCIES --> - <cdap.version>4.0.0</cdap.version> + <cdap.version>4.1.2</cdap.version> <cask.common.version>0.7.1</cask.common.version> <hadoop.version>2.3.0</hadoop.version> <spark.version>1.6.1</spark.version> @@ -121,28 +89,21 @@ <!-- PLUGINS VERSIONS --> <compiler.plugin.version>3.3</compiler.plugin.version> <surefire.plugin.version>2.19.1</surefire.plugin.version> - <failsafe.plugin.version>2.19.1</failsafe.plugin.version> <bundle.plugin.version>2.5.4</bundle.plugin.version> <autorun.plugin.version>1.7</autorun.plugin.version> <eclipe.plugin.version>2.10</eclipe.plugin.version> <findbugs.plugin.version>3.0.2</findbugs.plugin.version> - <cobertura.plugin.version>2.7</cobertura.plugin.version> <pmd.plugin.version>3.5</pmd.plugin.version> <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version> - <checkstyle.plugin.version>2.16</checkstyle.plugin.version> <javadoc.plugin.version>2.10.4</javadoc.plugin.version> <source.plugin.version>2.4</source.plugin.version> <jar.plugin.version>2.4</jar.plugin.version> <deploy.plugin.version>2.8</deploy.plugin.version> - <jacoco.plugin.version>0.7.7.201606060606</jacoco.plugin.version> <lombok.plugin.version>1.16.10.0</lombok.plugin.version> <jgitflow.plugin.version>1.0-m5.1</jgitflow.plugin.version> <maven.site.plugin>3.5.1</maven.site.plugin> <jxr.plugin.version>2.5</jxr.plugin.version> <project.info.reports.plugin.version>2.7</project.info.reports.plugin.version> - <blackduck.hub.version>2.0.0</blackduck.hub.version> - <sonar.plugin.version>3.2</sonar.plugin.version> - <license.plugin.version>1.12</license.plugin.version> <!--PLUGIN SETTINGS --> <compiler.source.version>1.7</compiler.source.version> @@ -153,16 +114,11 @@ <skip.integration.tests>true</skip.integration.tests> <pmd.violation.buildfail>true</pmd.violation.buildfail> <findbugs.failOnError>true</findbugs.failOnError> - <checkstyle.failOnViolation>true</checkstyle.failOnViolation> - <checkstyle.file.name>checkstyle.xml</checkstyle.file.name> - <checkstyle.suppression.file.name>suppressions.xml</checkstyle.suppression.file.name> - <jacoco.it.execution.data.file>${project.build.directory}/coverage-reports/jacoco-it.exec - </jacoco.it.execution.data.file> - <jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec - </jacoco.ut.execution.data.file> <dependency.locations.enabled>false</dependency.locations.enabled> <nexusproxy>https://nexus.onap.org</nexusproxy> - + <snapshots.path>content/repositories/snapshots/</snapshots.path> + <releases.path>content/repositories/releases/</releases.path> + <site.path>content/sites/site/org/onap/dcaegen2/analytics/tca/${project.artifactId}/${project.version}</site.path> </properties> <dependencyManagement> @@ -678,84 +634,6 @@ <version>${autorun.plugin.version}</version> </plugin> - <!-- JACOCO CODE COVERAGE PLUGIN --> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco.plugin.version}</version> - <configuration> - <excludes> - <!-- Exclude all test classes for code coverage reports --> - <exclude>**/test/**</exclude> - <!-- Exclude all domain classes as they should only contain domain objects, no logic --> - <exclude>**/domain/**</exclude> - <!-- Exclude all facade classes as they should only contain facade objects, no logic --> - <exclude>**/facade/**</exclude> - <!-- Exclude mixin class for code coverage as they are just for json parsing hints --> - <exclude>**/mixin/**</exclude> - <!-- Exclude classes ending with "Constants" as they should only store static constants --> - <exclude>**/*Constants.*</exclude> - <!-- Exclude classes ending with "Module" as they are used for wiring beans by guice --> - <exclude>**/*Module.*</exclude> - <!-- Exclude classes ending with "Exception" as they are mostly wrapper over java - exceptions --> - <exclude>**/*Exception.*</exclude> - <!-- Exclude classes ending with "Entity" as they should not contain any logic --> - <exclude>**/*Entity.*</exclude> - </excludes> - </configuration> - <executions> - <!-- prepare jacoco agent before unit tests --> - <execution> - <id>pre-unit-test</id> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <destFile>${jacoco.ut.execution.data.file}</destFile> - <propertyName>surefireArgLine</propertyName> - </configuration> - </execution> - <!-- generate unit test coverage report --> - <execution> - <id>post-unit-test</id> - <phase>test</phase> - <goals> - <goal>report</goal> - </goals> - <configuration> - <dataFile>${jacoco.ut.execution.data.file}</dataFile> - <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> - </configuration> - </execution> - <!-- prepare jacoco agent before integration tests --> - <execution> - <id>pre-integration-test</id> - <phase>pre-integration-test</phase> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <destFile>${jacoco.it.execution.data.file}</destFile> - <propertyName>failsafeArgLine</propertyName> - </configuration> - </execution> - <!-- generate integration test coverage report --> - <execution> - <id>post-integration-test</id> - <phase>post-integration-test</phase> - <goals> - <goal>report</goal> - </goals> - <configuration> - <dataFile>${jacoco.it.execution.data.file}</dataFile> - <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <!-- SUREFIRE TEST PLUGIN --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -798,29 +676,6 @@ </dependencies> </plugin> - <!-- FAIL SAFE PLUGIN FOR INTEGRATION TEST --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - <version>${failsafe.plugin.version}</version> - <executions> - <execution> - <id>integration-tests</id> - <goals> - <goal>integration-test</goal> - <goal>verify</goal> - </goals> - <configuration> - <skipTests>${skip.integration.tests}</skipTests> - <!-- Sets the VM argument line used when integration tests are run. --> - <!--suppress MavenModelInspection --> - <argLine>${failsafeArgLine}</argLine> - </configuration> - </execution> - </executions> - </plugin> - - <!-- FIND BUGS (STATIC CODE ANALYSIS) PLUGIN --> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -889,40 +744,6 @@ </executions> </plugin> - - <!-- CHECKSTYLE PLUGIN --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>${checkstyle.plugin.version}</version> - <executions> - <execution> - <id>validate</id> - <phase>validate</phase> - <configuration> - <configLocation>${checkstyle.file.name}</configLocation> - <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation> - <encoding>UTF-8</encoding> - <consoleOutput>true</consoleOutput> - <!-- BUILD FAIL ON CHECKSTYLE VIOLATION --> - <failOnViolation>${checkstyle.failOnViolation}</failOnViolation> - <includeTestSourceDirectory>true</includeTestSourceDirectory> - <outputFile>${project.reporting.outputDirectory}/checkstyle</outputFile> - </configuration> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>com.puppycrawl.tools</groupId> - <artifactId>checkstyle</artifactId> - <version>6.19</version> - </dependency> - </dependencies> - </plugin> - <!-- ECLIPSE PLUGIN --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -1010,70 +831,6 @@ </configuration> </plugin> - - <!-- BLACK DUCK LICENSE SCANNER --> - <!-- - <plugin> - <groupId>com.blackducksoftware.integration</groupId> - <artifactId>hub-maven-plugin</artifactId> - <version>${blackduck.hub.version}</version> - <inherited>false</inherited> - <configuration> - <hubProjectName>${project.name}</hubProjectName> - <outputDirectory>${project.basedir}</outputDirectory> - <deployHubBdio>false</deployHubBdio> - </configuration> - <executions> - <execution> - <id>create-bdio-file</id> - <phase>package</phase> - <goals> - <goal>build-bom</goal> - </goals> - </execution> - </executions> - </plugin> - --> - - <!-- LICENSE PLUGIN --> - <!-- - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>license-maven-plugin</artifactId> - <version>${license.plugin.version}</version> - <configuration> - <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> - <processStartTag>============LICENSE_START=======================================================</processStartTag> - <processEndTag>============LICENSE_END=========================================================</processEndTag> - <sectionDelimiter>================================================================================</sectionDelimiter> - <licenseName>apache_v2</licenseName> - <inceptionYear>2017</inceptionYear> - <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> - <projectName>dcae-analytics</projectName> - <canUpdateCopyright>true</canUpdateCopyright> - <canUpdateDescription>true</canUpdateDescription> - <canUpdateLicense>true</canUpdateLicense> - <emptyLineAfterHeader>true</emptyLineAfterHeader> - </configuration> - <executions> - <execution> - <id>first</id> - <goals> - <goal>update-file-header</goal> - </goals> - <phase>process-sources</phase> - </execution> - </executions> - </plugin> - --> - - <!-- SONAR PLUGIN --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>sonar-maven-plugin</artifactId> - <version>${sonar.plugin.version}</version> - </plugin> - <!-- DEPLOY PLUGIN --> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -1087,7 +844,6 @@ <version>${maven.site.plugin}</version> </plugin> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> @@ -1136,16 +892,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-failsafe-plugin</artifactId> - </plugin> - - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> </plugin> @@ -1171,22 +917,10 @@ </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - </plugin> - - <plugin> <groupId>external.atlassian.jgitflow</groupId> <artifactId>jgitflow-maven-plugin</artifactId> </plugin> - <!-- - <plugin> - <groupId>com.blackducksoftware.integration</groupId> - <artifactId>hub-maven-plugin</artifactId> - </plugin> - --> - </plugins> </build> @@ -1199,23 +933,6 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>${checkstyle.file.name}</configLocation> - <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation> - </configuration> - </plugin> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco.plugin.version}</version> - <configuration> - <dataFile>${jacoco.ut.execution.data.file}</dataFile> - <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> |