o Improved propagation of parse errors

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782243 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-06-06 12:37:34 +00:00
parent b273dab333
commit 97e57944f8
2 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -207,8 +207,8 @@ public class DefaultModelBuilder
}
catch ( ModelParseException e )
{
throw new UnparseableModelException( "Failed to parse POM " + modelSource.getLocation(), e.getLineNumber(),
e.getColumnNumber(), e );
throw new UnparseableModelException( "Failed to parse POM " + modelSource.getLocation() + ": "
+ e.getMessage(), e.getLineNumber(), e.getColumnNumber(), e );
}
catch ( IOException e )
{