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

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

commit d21bb8912c415c30ba4d9d259de10d1d6d393703
Author: Christopher Hoskin <[email protected]>
Date:   Tue Nov 22 20:49:18 2016 +0000

    Pass params passed to dh_auto_clean to Maven
---
 debian/changelog    | 4 ++++
 share/perl/maven.pm | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c3bc2bb..982d173 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 maven-debian-helper (2.1.3) UNRELEASED; urgency=medium
 
+  [ Emmanuel Bourg ]
   * Team upload.
   * Always ignore maven-docck-plugin
 
+  [ Christopher Hoskin ]
+  * Pass params passed to dh_auto_clean to Maven
+
  -- Emmanuel Bourg <[email protected]>  Wed, 16 Nov 2016 17:15:38 +0100
 
 maven-debian-helper (2.1.2) unstable; urgency=medium
diff --git a/share/perl/maven.pm b/share/perl/maven.pm
index 5f80658..feb8e45 100644
--- a/share/perl/maven.pm
+++ b/share/perl/maven.pm
@@ -126,7 +126,11 @@ sub clean {
        # don't populate the directory just to run a clean target.
        if (-e "$this->{cwd}/debian/maven-repo")
        {
-               $this->doit_in_builddir_noerror(@{$this->{maven_cmd}}, "clean");
+               if (!@_) {
+                       push(@_, "clean");
+               }
+
+               $this->doit_in_builddir_noerror(@{$this->{maven_cmd}}, @_);
                doit("rm", "-r", "$this->{cwd}/debian/maven-repo");
        }
        $this->doit_in_builddir('for dir in $(find . -name target -type d); do 
if [ -f $(echo $dir | sed -e s/target$/pom.xml/) ]; then rm -Rf $dir; fi done');

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to