diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java index 01545078e4..bf6e637f73 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java @@ -34,6 +34,6 @@ public class BuildThreadFactory public Thread newThread( Runnable r ) { - return new Thread( r, String.format( "%s %d", PREFIX, id.getAndIncrement() ) ); + return new Thread( r, String.format( "%s-%d", PREFIX, id.getAndIncrement() ) ); } -} \ No newline at end of file +}