[maven-repo-helper] 01/01: Fixed the parsing of the systemPath element

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Feb 25 23:46:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-repo-helper.

commit 4e35ba8031d34a30b51c5cfedbd877d473c249fa
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Feb 26 00:46:22 2014 +0100

    Fixed the parsing of the systemPath element
---
 debian/changelog                                   | 6 ++++++
 pom.xml                                            | 2 +-
 src/main/java/org/debian/maven/repo/POMReader.java | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0329dec..a520653 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+maven-repo-helper (1.8.7) unstable; urgency=medium
+
+  * Fixed the parsing of the systemPath element (Closes: #740000)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 26 Feb 2014 00:44:34 +0100
+
 maven-repo-helper (1.8.6) unstable; urgency=medium
 
   * Internal refactoring
diff --git a/pom.xml b/pom.xml
index c1fe861..cb169f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
     <artifactId>maven-repo-helper</artifactId>
     <name>Maven Repo helper</name>
     <packaging>jar</packaging>
-    <version>1.8.6</version>
+    <version>1.8.7</version>
     <description>Provides support for managing the Maven repository in a Debian distribution.</description>
 
     <inceptionYear>2009</inceptionYear>
diff --git a/src/main/java/org/debian/maven/repo/POMReader.java b/src/main/java/org/debian/maven/repo/POMReader.java
index 44a56d2..870f013 100644
--- a/src/main/java/org/debian/maven/repo/POMReader.java
+++ b/src/main/java/org/debian/maven/repo/POMReader.java
@@ -122,7 +122,7 @@ public class POMReader {
                         } else if ("classifier".equals(element)) {
                             currentDependency.setClassifier(value);
                         } else if ("systemPath".equals(element)) {
-                            parent.setSystemPath(value);
+                            currentDependency.setSystemPath(value);
                         }
                     } else if (path.size() == 3 && "modules".equals(path.parent(1))) {
                         // we're not interested in the modules section inside a profiles section

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-repo-helper.git



More information about the pkg-java-commits mailing list