Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Nov 8, 2021
1 parent 1fad16a commit d4042e7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -133,7 +133,8 @@ public void execute() throws MojoExecutionException {
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()) {
Expand Down

0 comments on commit d4042e7

Please sign in to comment.