diff --git a/BUILDING.txt b/BUILDING.txt index 733dcb09cf..cd8623a784 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -40,7 +40,7 @@ Maven build goals: * Run checkstyle : mvn compile checkstyle:checkstyle * Install JAR in M2 cache : mvn install * Deploy JAR to Maven repo : mvn deploy - * Run clover : mvn test -Pclover [-Dclover.license=${user.home}/clover.license] + * Run jacoco : mvn test -Pjacoco * Run Rat : mvn apache-rat:check * Build javadocs : mvn javadoc:javadoc * Build distribution : mvn package[-Dhadoop.version=2.7.0] @@ -49,7 +49,6 @@ Maven build goals: Build options: * Use -Dpackage.format to create distributions with a format other than .tar.gz (mvn-assembly-plugin formats). - * Use -Dclover.license to specify the path to the clover license file * Use -Dhadoop.version to specify the version of hadoop to build tez against * Use -Dprotoc.path to specify the path to protoc * Use -Dallow.root.build to root build tez-ui components diff --git a/pom.xml b/pom.xml index a4377f645e..267fcc7415 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,6 @@ 4.4 2.16.0 3.19.0 - ${user.home}/clover.license 5.9.0 3.2.0 3.8.1 @@ -143,12 +142,6 @@ - - maven2-repository.atlassian - Atlassian Maven Repository - https://maven.atlassian.com/repository/public - default - ${distMgmtSnapshotsId} ${distMgmtSnapshotsName} @@ -956,7 +949,9 @@ 900 true + @{argLine} -XX:+HeapDumpOnOutOfMemoryError + -XX:+EnableDynamicAgentLoading --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED @@ -1247,54 +1242,58 @@ - clover + jacoco false - - clover - - ${clover.license} - 3.1.11 + 0.8.14 - com.atlassian.maven.plugins - maven-clover2-plugin - ${clover.version} + org.jacoco + jacoco-maven-plugin + ${jacoco.version} - true - true - 50% - true - true **/generated/** - clover-setup - process-sources + jacoco-prepare-agent - setup + prepare-agent - clover + jacoco-report test - clover + report - site - pre-site + jacoco-check + verify - aggregate + check + + + + BUNDLE + + + INSTRUCTION + COVEREDRATIO + 0.50 + + + + +