Blob Blame Raw
From 7b6fb236b78dadcee14e047e52a342556f210f39 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@redhat.com>
Date: Thu, 10 Jul 2014 15:30:17 +0200
Subject: [PATCH 1/6] [maven.req] XMvn sets resolvedVersion to UNKNOWN for
 unresolvable deps

---
 depgenerators/maven.req | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/depgenerators/maven.req b/depgenerators/maven.req
index f334079..a4efdad 100755
--- a/depgenerators/maven.req
+++ b/depgenerators/maven.req
@@ -270,7 +270,7 @@ class TagBuilder(object):
 
         unknown_deps = self.check_deps(metadata)
         for dependency in metadata.get_required_artifacts():
-            if dependency.requestedVersion == "UNKNOWN":
+            if dependency.resolvedVersion == "UNKNOWN":
                 unknown_deps.append(dependency)
                 continue
             for skipped in self.skipped_artifacts:
-- 
1.9.3