HADOOP-17777. Update clover-maven-plugin version from 3.3.0 to 4.4.1 (#3152)
This commit is contained in:
parent
95454d821c
commit
c005195b78
|
@ -143,7 +143,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 [-DcloverLicenseLocation=${user.name}/.clover.license]
|
||||
* Run clover : mvn test -Pclover
|
||||
* Run Rat : mvn apache-rat:check
|
||||
* Build javadocs : mvn javadoc:javadoc
|
||||
* Build distribution : mvn package [-Pdist][-Pdocs][-Psrc][-Pnative][-Dtar][-Preleasedocs][-Pyarn-ui]
|
||||
|
|
|
@ -126,8 +126,8 @@
|
|||
classes during plugin execution when running a build with Clover enabled.
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>com.atlassian.maven.plugins</groupId>
|
||||
<artifactId>maven-clover2-plugin</artifactId>
|
||||
<groupId>org.openclover</groupId>
|
||||
<artifactId>clover-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
|
|
14
pom.xml
14
pom.xml
|
@ -108,7 +108,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
|
|||
<maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
|
||||
<apache-rat-plugin.version>0.12</apache-rat-plugin.version>
|
||||
<wagon-ssh.version>2.4</wagon-ssh.version>
|
||||
<maven-clover2-plugin.version>3.3.0</maven-clover2-plugin.version>
|
||||
<clover-maven-plugin.version>4.4.1</clover-maven-plugin.version>
|
||||
<maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
|
||||
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
|
||||
<maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version>
|
||||
|
@ -350,9 +350,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
|
|||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.atlassian.maven.plugins</groupId>
|
||||
<artifactId>maven-clover2-plugin</artifactId>
|
||||
<version>${maven-clover2-plugin.version}</version>
|
||||
<groupId>org.openclover</groupId>
|
||||
<artifactId>clover-maven-plugin</artifactId>
|
||||
<version>${clover-maven-plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
|
@ -679,7 +679,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
|
|||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<cloverLicenseLocation>${user.home}/.clover.license</cloverLicenseLocation>
|
||||
<cloverDatabase>${project.build.directory}/clover/hadoop-coverage.db</cloverDatabase>
|
||||
<!-- NB: This additional parametrization is made in order
|
||||
to be able to re-define these properties with "-Dk=v" maven options.
|
||||
|
@ -697,12 +696,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
|
|||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.atlassian.maven.plugins</groupId>
|
||||
<artifactId>maven-clover2-plugin</artifactId>
|
||||
<groupId>org.openclover</groupId>
|
||||
<artifactId>clover-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<includesAllSourceRoots>false</includesAllSourceRoots>
|
||||
<includesTestSourceRoots>true</includesTestSourceRoots>
|
||||
<licenseLocation>${cloverLicenseLocation}</licenseLocation>
|
||||
<cloverDatabase>${cloverDatabase}</cloverDatabase>
|
||||
<targetPercentage>50%</targetPercentage>
|
||||
<outputDirectory>${project.build.directory}/clover</outputDirectory>
|
||||
|
|
Loading…
Reference in New Issue