mirror of https://github.com/apache/maven.git
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:
parent
b762ce620c
commit
324c1fcd1c
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue