[maven-debian-helper] 20/21: Fixed copy-repo.sh to build the metadata even if the prefix contains non plugin artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 13 15:05:48 UTC 2015


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

ebourg-guest pushed a commit to branch maven-debian-helper-2.0
in repository maven-debian-helper.

commit b2751240a66408c7acb930975ecc093eb2a7e210
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Nov 13 15:55:43 2015 +0100

    Fixed copy-repo.sh to build the metadata even if the prefix contains non plugin artifacts
---
 share/maven-debian-helper/copy-repo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/maven-debian-helper/copy-repo.sh b/share/maven-debian-helper/copy-repo.sh
index ee26747..b5e6cfc 100755
--- a/share/maven-debian-helper/copy-repo.sh
+++ b/share/maven-debian-helper/copy-repo.sh
@@ -30,7 +30,7 @@ find_group_artifact_ids() {
 }
 
 read_maven_plugin_xpath() {
-  unzip -q -c "$1" META-INF/maven/plugin.xml 2>/dev/null | xmllint --xpath "$2" - 2>/dev/null
+  unzip -q -c "$1" META-INF/maven/plugin.xml 2>/dev/null | xmllint --xpath "$2" - 2>/dev/null || true
 }
 
 list_fakes()

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



More information about the pkg-java-commits mailing list