commit f329840189df3fe61647aba50fe6f160fc9dc6e0
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Feb 4 14:37:14 2015 +0100
[mvn_artifact] Be specific about unresolvable parent POM
java-utils/mvn_artifact.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/java-utils/mvn_artifact.py b/java-utils/mvn_artifact.py
index 52d6dac..df28d00 100644
--- a/java-utils/mvn_artifact.py
+++ b/java-utils/mvn_artifact.py
@@ -105,7 +105,9 @@ def get_parent_pom(pom):
extension="pom", version=pom.version)
result = XMvnResolve.process_raw_request([req])[0]
if not result:
- raise Exception("Unable to resolve parent POM")
+ raise Exception("Unable to resolve parent POM {g}:{a}:{e}:{v}"
+ .format(g=pom.groupId, a=pom.artifactId, e="pom",
+ v=pom.version))
return POM(result.artifactPath)
Show replies by date