You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2021/11/08 10:11:29 UTC

[commons-release-plugin] branch master updated (d893b4b -> d4042e7)

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git.


    from d893b4b  Maven 3.8.3 throws an exception here because MavenProject.getAttachedArtifacts() returns an IMMUTABLE collection.
     new 1fad16a  Bump checkstyle from 9.0.1 to 9.1
     new d4042e7  Fix checkstyle

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                                | 2 +-
 src/changes/changes.xml                                                | 2 +-
 .../release/plugin/mojos/CommonsDistributionDetachmentMojo.java        | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

[commons-release-plugin] 01/02: Bump checkstyle from 9.0.1 to 9.1

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git

commit 1fad16a969117eada84940617e85dd1745b1921e
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Mon Nov 8 08:15:52 2021 +0000

    Bump checkstyle from 9.0.1 to 9.1
    
    Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.0.1 to 9.1.
    - [Release notes](https://github.com/checkstyle/checkstyle/releases)
    - [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-9.0.1...checkstyle-9.1)
    
    ---
    updated-dependencies:
    - dependency-name: com.puppycrawl.tools:checkstyle
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
---
 pom.xml                 | 2 +-
 src/changes/changes.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index b463dde..83aa304 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@
     </commons.scmPubUrl>
     <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
     <checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>
-    <checkstyle.version>9.0.1</checkstyle.version>
+    <checkstyle.version>9.1</checkstyle.version>
     <maven-scm.version>1.12.0</maven-scm.version>
     <commons.spotbugs.version>4.4.2.2</commons.spotbugs.version>
     <commons.spotbugs.impl.version>4.4.2</commons.spotbugs.impl.version>    
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a2f52f4..3d65e22 100755
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,7 +44,7 @@
       <action type="update" dev="ggregory">Update JUnit from 4.12 to 4.13.2, #23 #39.</action>
       <action type="update" dev="kinow" due-to="Gary Gregory, Dependabot">Bump maven.dependency.version from 3.6.1 to 3.8.3 #47 #76.</action>
       <action type="update" dev="ggregory">Update commons-io:commons-io from 2.6 to 2.11.0 #13 #63.</action>
-      <action type="update" dev="ggregory">Update checkstyle from 8.34 to 9.0.1 #5 #12 #14 #27 #31 #35 #40 #46 #53 #58 #64 #65 #69 #77.</action>
+      <action type="update" dev="ggregory">Update checkstyle from 8.34 to 9.1 #5 #12 #14 #27 #31 #35 #40 #46 #53 #58 #64 #65 #69 #77 #84.</action>
       <action type="update" dev="ggregory">Update actions/checkout from v2.3.1 to v2.3.5 #8, #16, #28, #78.</action>
       <action type="update" dev="ggregory">Update velocity-engine-core from 2.1 to 2.3 #4 #43.</action>
       <action type="update" dev="ggregory">Update commons-codec from 1.13 to 1.15.</action>

[commons-release-plugin] 02/02: Fix checkstyle

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git

commit d4042e7080f8f9f7bf8217097f7240837baa94cf
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Mon Nov 8 22:44:47 2021 +1300

    Fix checkstyle
---
 .../release/plugin/mojos/CommonsDistributionDetachmentMojo.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
index 75fec51..30aad8c 100755
--- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
+++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java
@@ -133,7 +133,8 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
             return;
         }
         for (final Artifact artifactToRemove : detachedArtifacts) {
-            // Maven 3.8.3 throws an exception here because MavenProject.getAttachedArtifacts() returns an IMMUTABLE collection.
+            // Maven 3.8.3 throws an exception here because MavenProject.getAttachedArtifacts()
+            // returns an IMMUTABLE collection.
             project.getAttachedArtifacts().remove(artifactToRemove);
         }
         if (!workingDirectory.exists()) {