Repository: maven
Updated Branches:
  refs/heads/MNG-6352-print-version 6fe22404a -> 8f5b00f02 (forced update)


[MNG-6352] - Printout version information at the end of the build


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/8f5b00f0
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/8f5b00f0
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/8f5b00f0

Branch: refs/heads/MNG-6352-print-version
Commit: 8f5b00f02f1ce011acc5821cb58ce0895ccab50a
Parents: 99e6622
Author: Karl Heinz Marbaise <khmarba...@apache.org>
Authored: Thu Feb 8 20:47:25 2018 +0100
Committer: Karl Heinz Marbaise <khmarba...@apache.org>
Committed: Fri Feb 9 20:30:14 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/maven/cli/event/ExecutionEventLogger.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/8f5b00f0/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
----------------------------------------------------------------------
diff --git 
a/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
 
b/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
index d4171f7..22a6291 100644
--- 
a/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
+++ 
b/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
@@ -138,6 +138,7 @@ public class ExecutionEventLogger
             logStats( event.getSession() );
 
             infoLine( '-' );
+
         }
     }
 
@@ -157,6 +158,8 @@ public class ExecutionEventLogger
 
             buffer.append( project.getName() );
             buffer.append( ' ' );
+            buffer.append( project.getVersion() );
+            buffer.append( ' ' );
 
             if ( buffer.length() <= MAX_PROJECT_NAME_LENGTH )
             {

Reply via email to