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 <[email protected]> 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()) {
