[java-sig-commits] [javapackages] maven_depmap.py: add <extension> also to local part

Michal Srb msrb at fedoraproject.org
Thu Sep 26 08:50:04 UTC 2013


commit a88b58d36754354b39e412aa199e68a2d98b6845
Author: Michal Srb <msrb at redhat.com>
Date:   Thu Sep 26 10:32:19 2013 +0200

    maven_depmap.py: add <extension> also to local part

 java-utils/maven_depmap.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/java-utils/maven_depmap.py b/java-utils/maven_depmap.py
index d62c696..1549f80 100644
--- a/java-utils/maven_depmap.py
+++ b/java-utils/maven_depmap.py
@@ -196,7 +196,7 @@ def parse_pom(pom_file, prefix, jar_file = None):
     if extension == "jar":
         extension = ''
 
-    upstream_artifact = Artifact(pom.groupId, pom.artifactId, version=pom.version)
+    upstream_artifact = Artifact(pom.groupId, pom.artifactId, extension=extension, version=pom.version)
     local_artifact = Artifact(jpp_gid, jpp_aid, extension)
     return Fragment(upstream_artifact, local_artifact)
 


More information about the java-sig-commits mailing list