mirror of https://github.com/apache/maven.git
Make it possible to run unit tests from an IDE
This commit is contained in:
parent
1638280261
commit
68e38e5086
|
@ -28,6 +28,7 @@ import java.util.Date;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.codehaus.plexus.util.Os;
|
import org.codehaus.plexus.util.Os;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
|
||||||
|
@ -94,7 +95,7 @@ public final class CLIReportingUtils
|
||||||
{
|
{
|
||||||
msg += " (";
|
msg += " (";
|
||||||
msg += ( rev != null ? rev : "" );
|
msg += ( rev != null ? rev : "" );
|
||||||
if ( timestamp != null )
|
if ( StringUtils.isNotBlank( timestamp ) )
|
||||||
{
|
{
|
||||||
String ts = formatTimestamp( Long.valueOf( timestamp ) );
|
String ts = formatTimestamp( Long.valueOf( timestamp ) );
|
||||||
msg += ( rev != null ? "; " : "" ) + ts;
|
msg += ( rev != null ? "; " : "" ) + ts;
|
||||||
|
|
Loading…
Reference in New Issue