mirror of https://github.com/apache/maven.git
PR: MNG-1404
Submitted By: David Jackman Reviewed By: John Casey Did not apply this patch. The typo fix in MavenMetadataSource was already fixed, and the xpp3 parse error in the DefaultMavenProjectBuilder didn't need to be wrapped in a ModelValidationResult...Added it to the exception message instead. Still, thanks for isolating this code for reformatting, David. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345105 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8b8e02e2b
commit
524ae18b88
|
@ -1091,7 +1091,7 @@ public class DefaultMavenProjectBuilder
|
|||
}
|
||||
catch ( XmlPullParserException e )
|
||||
{
|
||||
throw new InvalidProjectModelException( projectId, pomLocation, "Parse error reading POM", e );
|
||||
throw new InvalidProjectModelException( projectId, pomLocation, "Parse error reading POM. Reason: " + e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue