[maven-debian-helper] 01/07: Ignore the 'maven clean' errors when building with debhelper

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Nov 12 18:21:20 UTC 2015


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 f3089b49055f5f6d127ec8d25f69b498e9ee7d48
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Nov 12 10:14:40 2015 +0100

    Ignore the 'maven clean' errors when building with debhelper
---
 debian/changelog    | 6 ++++++
 share/perl/maven.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8c0ee6f..0c42930 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+maven-debian-helper (1.6.14) UNRELEASED; urgency=medium
+
+  * Ignore the 'maven clean' errors when building with debhelper
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 12 Nov 2015 10:10:31 +0100
+
 maven-debian-helper (1.6.13) unstable; urgency=medium
 
   * Don't install the documentation jar by default (Closes: #711852)
diff --git a/share/perl/maven.pm b/share/perl/maven.pm
index a0c4771..acd40ca 100644
--- a/share/perl/maven.pm
+++ b/share/perl/maven.pm
@@ -116,7 +116,7 @@ sub clean {
 	# don't populate the directory just to run a clean target.
 	if (-e "$this->{cwd}/debian/maven-repo")
 	{
-		$this->doit_in_builddir(@{$this->{maven_cmd}}, "clean");
+		$this->doit_in_builddir_noerror(@{$this->{maven_cmd}}, "clean");
 		doit("rm", "-r", "$this->{cwd}/debian/maven-repo");
 	}
 	$this->doit_in_sourcedir("mh_unpatchpoms", "-p$this->{package}");

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