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:
John Dennis Casey 2005-11-16 20:28:53 +00:00
parent b8b8e02e2b
commit 524ae18b88
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
}