diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java index 2dc23f0dbc..3fa333b82a 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java @@ -1101,7 +1101,7 @@ public class DefaultLifecycleExecutor } catch ( PluginVersionResolutionException e ) { - throw new LifecycleExecutionException( "Error resolving plugin version: " + e.getMessage(), e ); + throw new LifecycleExecutionException( e.getMessage(), e ); } catch ( InvalidVersionSpecificationException e ) { @@ -1141,7 +1141,7 @@ public class DefaultLifecycleExecutor } catch ( PluginVersionResolutionException e ) { - throw new LifecycleExecutionException( "Error resolving plugin version: " + e.getMessage(), e ); + throw new LifecycleExecutionException( e.getMessage(), e ); } catch ( InvalidVersionSpecificationException e ) {