[maven-debian-helper] 02/04: Prevent artifact installation during dh build

Wolodja Wentland babilen-guest at alioth.debian.org
Sat Aug 17 16:18:26 UTC 2013


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

babilen-guest pushed a commit to branch dev/cdbs_differences
in repository maven-debian-helper.

commit 644ab396750a2f757c07f74a548075b05cacb232
Author: Wolodja Wentland <debian at babilen5.org>
Date:   Sat Aug 17 17:33:54 2013 +0200

    Prevent artifact installation during dh build
    
    The dh build system was using the "install" maven target as opposed to
    the "package" one used by CDBS. This patch ensures that dh and CDBS defaults
    are identical.
---
 debian/changelog    |    2 ++
 share/perl/maven.pm |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d2b8a3b..ad37213 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 maven-debian-helper (1.6.5) UNRELEASED; urgency=low
 
   * Add Wolodja Wentland to uploaders
+  * Prevent artifact installation during dh build (switch maven target from
+    "install" to "package")
 
  -- Wolodja Wentland <debian at babilen5.org>  Sat, 17 Aug 2013 15:24:16 +0000
 
diff --git a/share/perl/maven.pm b/share/perl/maven.pm
index ec9ac19..886ca8e 100644
--- a/share/perl/maven.pm
+++ b/share/perl/maven.pm
@@ -69,7 +69,7 @@ sub build {
  	my $this=shift;
 
 	if (!@_) {
-		push(@_, "install");
+		push(@_, "package");
 		if ($this->{doc_package}) {
 			push(@_, "javadoc:javadoc", "javadoc:aggregate");
 		}

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