[maven-debian-helper] 01/05: Hide the warning displayed by copy-repo.sh when processing poms without jar

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 27 18:34:52 UTC 2017


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

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

commit a8b365d509793f4995d8f7bb9604a87fd7198b77
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 27 19:59:37 2017 +0200

    Hide the warning displayed by copy-repo.sh when processing poms without jar
---
 debian/changelog                       | 7 +++++++
 share/maven-debian-helper/copy-repo.sh | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index dd64c8e..dc06de5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+maven-debian-helper (2.2.2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Hide the warning displayed by copy-repo.sh when processing poms without jar
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 27 Jul 2017 15:18:16 +0200
+
 maven-debian-helper (2.2.1) unstable; urgency=medium
 
   * Team upload.
diff --git a/share/maven-debian-helper/copy-repo.sh b/share/maven-debian-helper/copy-repo.sh
index 3891aee..efb7fe9 100755
--- a/share/maven-debian-helper/copy-repo.sh
+++ b/share/maven-debian-helper/copy-repo.sh
@@ -131,7 +131,7 @@ EOF
   <versioning>
     <versions>
 EOF
-    find $SRC_REPO/$GROUP/$artifactId/*/*.jar | while read jar; do
+    find $SRC_REPO/$GROUP/$artifactId/*/*.jar 2>/dev/null | while read jar; do
       version=$(basename $(dirname $jar))
       cat >> $DEST_REPO/$GROUP/$artifactId/$METADATA_NAME <<EOF
       <version>$version</version>

-- 
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