Add an artifact field to ArtifactMetadataRetrievalException to store the artifact causing the problem

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2007-10-24 20:06:08 +00:00
parent b762ce620c
commit 324c1fcd1c
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class MavenMetadataSource
catch ( ProjectBuildingException e )
{
throw new ArtifactMetadataRetrievalException( "Unable to read the metadata file for artifact '" +
artifact.getDependencyConflictId() + "': " + e.getMessage(), e );
artifact.getDependencyConflictId() + "': " + e.getMessage(), e, artifact );
}
}