You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/10/20 21:07:51 UTC

(maven-artifact-plugin) branch depr created (now aeab880)

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

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


      at aeab880  Replace deprecated method

This branch includes the following new commits:

     new aeab880  Replace deprecated method

The 1 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.



(maven-artifact-plugin) 01/01: Replace deprecated method

Posted by el...@apache.org.
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 <el...@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: "