diff --git a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index bf6af4fb82..b87e2bfc00 100644 --- a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -312,7 +312,7 @@ public class DefaultMavenProjectBuilder } catch ( IllegalStateException collisionException ) { - throw new ProjectBuildingException( "Detected illegal plugin-execution configuration in: " + pomLocation, collisionException ); + throw new ProjectBuildingException( "Detected illegal plugin-execution configuration in: " + pomLocation + " Error output: \n\n" + collisionException.getMessage(), collisionException ); } } }