maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph...@apache.org
Subject maven git commit: Make it possible to run unit tests from an IDE
Date Sun, 19 Mar 2017 21:55:51 GMT
Repository: maven
Updated Branches:
  refs/heads/master 163828026 -> 68e38e508


Make it possible to run unit tests from an IDE


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

Branch: refs/heads/master
Commit: 68e38e5086d0978c61391b7cdc4514fdf96e64d7
Parents: 1638280
Author: Stephen Connolly <stephen.alan.connolly@gmail.com>
Authored: Sun Mar 19 21:54:31 2017 +0000
Committer: Stephen Connolly <stephen.alan.connolly@gmail.com>
Committed: Sun Mar 19 21:55:46 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/maven/cli/CLIReportingUtils.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/68e38e50/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
----------------------------------------------------------------------
diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java b/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
index c5faef5..52f2053 100644
--- a/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
+++ b/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
@@ -28,6 +28,7 @@ import java.util.Date;
 import java.util.Locale;
 import java.util.Properties;
 
+import org.apache.commons.lang3.StringUtils;
 import org.codehaus.plexus.util.Os;
 import org.slf4j.Logger;
 
@@ -94,7 +95,7 @@ public final class CLIReportingUtils
         {
             msg += " (";
             msg += ( rev != null ? rev : "" );
-            if ( timestamp != null )
+            if ( StringUtils.isNotBlank( timestamp ) )
             {
                 String ts = formatTimestamp( Long.valueOf( timestamp ) );
                 msg += ( rev != null ? "; " : "" ) + ts;


Mime
View raw message