This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch guice in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git
The following commit(s) were added to refs/heads/guice by this push: new f6dad98 fix f6dad98 is described below commit f6dad98929a5a70931d7c9c629ed408dde4033e5 Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Thu Dec 12 18:37:19 2024 -0500 fix --- .../org/apache/maven/plugins/artifact/buildinfo/CompareMojo.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/CompareMojo.java b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/CompareMojo.java index 08d64d9..b7a4277 100644 --- a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/CompareMojo.java +++ b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/CompareMojo.java @@ -18,6 +18,8 @@ */ package org.apache.maven.plugins.artifact.buildinfo; +import javax.inject.Inject; + import java.io.BufferedWriter; import java.io.File; import java.io.IOException; @@ -100,7 +102,8 @@ public class CompareMojo extends AbstractBuildinfoMojo { */ private final RepositorySystem repoSystem; - protected CompareMojo( + @Inject + public CompareMojo( ToolchainManager toolchainManager, RuntimeInformation rtInformation, MavenProject project,