You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2020/08/04 17:22:46 UTC
[maven-artifact-plugin] branch master updated: same color for diff
command as diffoscope
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new afa6b09 same color for diff command as diffoscope
afa6b09 is described below
commit afa6b0917d93df039235a523f3f2b7e5e5e54709
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Aug 4 19:22:29 2020 +0200
same color for diff command as diffoscope
---
.../org/apache/maven/plugins/artifact/buildinfo/BuildinfoMojo.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildinfoMojo.java b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildinfoMojo.java
index 5271219..8abbbce 100644
--- a/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildinfoMojo.java
+++ b/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildinfoMojo.java
@@ -295,8 +295,9 @@ public class BuildinfoMojo
getLog().warn( "Reproducible Build output summary: " + MessageUtils.buffer().success( ok + " files ok" )
+ ", " + MessageUtils.buffer().failure( ko + " different" )
+ ( ( missing == 0 ) ? "" : ( ", " + MessageUtils.buffer().warning( missing + " missing" ) ) ) );
- getLog().warn( "diff " + relative( referenceBuildinfo ) + " " + relative( buildinfoFile ) );
- }
+ getLog().warn( "see " + MessageUtils.buffer().project( "diff " + relative( referenceBuildinfo ) + " "
+ + relative( buildinfoFile ) ).toString() );
+ }
else
{
getLog().info( "Reproducible Build output summary: " + MessageUtils.buffer().strong( ok + " files ok" ) );