From 324c1fcd1cb7fda8f9f1d07a89a44790fa1d70e4 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Wed, 24 Oct 2007 20:06:08 +0000 Subject: [PATCH] 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 --- .../org/apache/maven/project/artifact/MavenMetadataSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java b/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java index 96c2eec9f0..8037afbd34 100644 --- a/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java +++ b/maven-project/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java @@ -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 ); } }