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

elharo pushed a commit to branch depr
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git

commit aeab88072fedaa3032f2c54603d08e6cea42f3c2
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Sun Oct 20 17:07:40 2024 -0400

    Replace deprecated method
---
 .../java/org/apache/maven/plugins/artifact/buildinfo/CompareMojo.java   | 2 +-
 1 file changed, 1 insertion(+), 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 72c3e9d..9cfd262 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
@@ -189,7 +189,7 @@ public class CompareMojo extends AbstractBuildinfoMojo {
             getLog().error("see "
                     + MessageUtils.buffer()
                             .project("diff " + relative(referenceBuildinfo) + 
" " + relative(buildinfoFile))
-                            .toString());
+                            .build());
             getLog().error("see also 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html";);
         } else {
             getLog().info("Reproducible Build output summary: "

Reply via email to