This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-parent.git
The following commit(s) were added to refs/heads/master by this push: new 801b06a Remove "cobertura" profile, we use JaCoco, Cobertura is unmaintained 801b06a is described below commit 801b06a43698422b444fd7241e2f1c0f7fd89edb Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Oct 5 08:37:36 2024 -0400 Remove "cobertura" profile, we use JaCoco, Cobertura is unmaintained --- pom.xml | 7 ++----- src/test/pom.xml | 7 +------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index d60c262..b090ec5 100644 --- a/pom.xml +++ b/pom.xml @@ -56,14 +56,13 @@ Coverage tool selection ======================= - Starting with release 30, there are optional profiles for both Cobertura and JaCoCo. + There is optional profiles for JaCoCo. These can be enabled independently on the command-line: - mvn site -Pcobertura -Pjacoco + mvn site -Pjacoco Or the component can define a default coverage tool by creating either (or both) of the following files: - src/site/resources/profile.cobertura src/site/resources/profile.jacoco These can later be overridden by cancelling the profile: @@ -132,7 +131,6 @@ <commons.checkstyle-plugin.version>3.5.0</commons.checkstyle-plugin.version> <!-- Checkstyle 9.3 is the version compatible with Java 8 --> <commons.checkstyle.version>9.3</commons.checkstyle.version> - <commons.cobertura.version>2.7</commons.cobertura.version> <commons.compiler.version>3.13.0</commons.compiler.version> <commons.cyclonedx.version>2.8.2</commons.cyclonedx.version> <commons.spdx.version>0.7.4</commons.spdx.version> @@ -1761,7 +1759,6 @@ <properties> <skipTests>true</skipTests> <maven.javadoc.skip>true</maven.javadoc.skip> - <cobertura.skip>true</cobertura.skip> <spotbugs.skip>true</spotbugs.skip> <checkstyle.skip>true</checkstyle.skip> <rat.skip>true</rat.skip> <!-- from version 0.12 --> diff --git a/src/test/pom.xml b/src/test/pom.xml index e45c003..ab8e592 100644 --- a/src/test/pom.xml +++ b/src/test/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> - <version>50-SNAPSHOT</version> + <version>77-SNAPSHOT</version> <relativePath>../..</relativePath> </parent> <groupId>org.apache.commons</groupId> @@ -51,11 +51,6 @@ <artifactId>animal-sniffer-maven-plugin</artifactId> <version>${commons.animal-sniffer.version}</version> </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>${commons.cobertura.version}</version> - </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId>