Your message dated Wed, 14 Aug 2013 12:48:06 +0000
with message-id <e1v9aug-0003rx...@franck.debian.org>
and subject line Bug#711852: fixed in maven-debian-helper 1.6.4
has caused the Debian Bug report #711852,
regarding maven.pm: Don't install documentation jar into maven-repo by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
711852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711852
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven-debian-helper
Severity: wishlist
Tags: patch

Standard place where generated javadoc API documentation is installed on Debian 
system
is /usr/share/doc/<package-name>/api/. Maven dh build installs it also a JAR in 
maven-repo.
Having this duplicate file isn't necessary, so please consider not installing
the javadoc JAR by default.

Required change is implemented in attached patch.

Adding 'export MH_INSTALL_DOC=1' into d/rules overrides the setting.

Regards,

Jakub

>From 81c9f308c6a21979f8e3d7feb2a3af232ce825b7 Mon Sep 17 00:00:00 2001
From: Jakub Adam <jakub.a...@ktknet.cz>
Date: Mon, 10 Jun 2013 13:35:10 +0200
Subject: [PATCH] maven.pm: Don't install documentation jar into maven-repo by
 default

Add 'export MH_INSTALL_DOC=1' into d/rules to override the setting.
---
 share/perl/maven.pm |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/share/perl/maven.pm b/share/perl/maven.pm
index 00520df..ca94eff 100644
--- a/share/perl/maven.pm
+++ b/share/perl/maven.pm
@@ -97,9 +97,11 @@ sub install {
 	$this->doit_in_builddir("mh_resolve_dependencies", "--non-interactive",
 		"--offline", "-p$this->{package}", @resolvedep_args);
 	if ($this->{doc_package}) {
-		$this->doit_in_builddir(@{$this->{maven_cmd}},
-			"-Ddebian.package=$this->{doc_package}",
-			"org.debian.maven:debian-maven-plugin:$maven_debian_version:install-doc");
+		if ($ENV{MH_INSTALL_DOC} == 1) {
+			$this->doit_in_builddir(@{$this->{maven_cmd}},
+				"-Ddebian.package=$this->{doc_package}",
+				"org.debian.maven:debian-maven-plugin:$maven_debian_version:install-doc");
+		}
 		doit("cp","debian/$this->{package}.substvars",
 			"debian/$this->{doc_package}.substvars");
 		# clean up generated docs
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
Source: maven-debian-helper
Source-Version: 1.6.4

We believe that the bug you reported is fixed in the latest version of
maven-debian-helper, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 711...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated maven-debian-helper 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 07 Aug 2013 13:00:25 +0200
Source: maven-debian-helper
Binary: maven-debian-helper
Architecture: source all
Version: 1.6.4
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description: 
 maven-debian-helper - Helper tools for building Debian packages with Maven
Closes: 711852 714189 719487
Changes: 
 maven-debian-helper (1.6.4) unstable; urgency=low
 .
   [ Emmanuel Bourg ]
   * Don't install the documentation jar by default (Closes: #711852)
   * Generate canonical URLs for the Vcs-* fields
   * Refer to "Debian systems" instead of "Debian GNU/Linux system"
     in the generated copyright file
   * Fixed the information message displayed when resolving dependencies
     (regression in version 1.6)
   * Added l10n-maven-plugin to the list of the documentation plugins
   * Added maven-svn-wagon to the list of the ignored extensions
   * Added maven-scm-publish-plugin to the list of the ignored plugins
   * Added rat-maven-plugin to the list of the ignored plugins
   * Code clean up and minor syntax changes
 .
   [ Jakub Adam ]
   * dh build: Touch debian/stamp-poms-patched after mh_patchpoms is run
     (Closes: #714189)
 .
   [ James Page ]
   * Send options for --published-rules and --ignore-rules to POMCleaner
     during SysInstallMojo (Closes: #719487).
Checksums-Sha1: 
 f42f20da5b7e332f8512b7d1d9c9dca9aefbffc6 2097 maven-debian-helper_1.6.4.dsc
 585e1394981767666eeba7c4f44ec1fe28e4f51e 112350 
maven-debian-helper_1.6.4.tar.gz
 7d5c2197b918b8a3788e08e7e56537574b205a5e 109650 
maven-debian-helper_1.6.4_all.deb
Checksums-Sha256: 
 9cfe675bc94bc775c763d9c48ef475f2214d7fe93d05c6cfcd1076b402c6d48b 2097 
maven-debian-helper_1.6.4.dsc
 085a7c55a3b4ad3be1c5cbcb6c8eaf8ed4421dae8ce074b5db63ea559caecd24 112350 
maven-debian-helper_1.6.4.tar.gz
 5faf0046a2ef24b1c8a67b92e348da5a06f6119b2b28af59500e569d2ce627ea 109650 
maven-debian-helper_1.6.4_all.deb
Files: 
 3175426fc9445a5f76b5baa2425bd0d3 2097 java optional 
maven-debian-helper_1.6.4.dsc
 32648272ceeb3beadfe3617c0fa1fbc5 112350 java optional 
maven-debian-helper_1.6.4.tar.gz
 66aaadb982cb8958abd5c78c73b33277 109650 java optional 
maven-debian-helper_1.6.4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJSC3svAAoJEL/srsug59jDvjsP/2NQpGVTYeYTqsG/7FheoFKW
A0X4Kxn77y/Z+61y7sZiS78F+mqm5X5u50LDRtBoJfCwlc6Fag6w3BcLvbGb2QwA
V5bPYhc7uc5fDE0TNIRJSnQjwbkgAsHVS5HuAQ1wLWqqwUFGW9vD1bKVeLMFqM31
gp2F5OeftwQs7k8phiGsxvQU4UEooVxccnQ/ko3o+58dPkW1MqvBhlS3wNyjBjaI
m5ouiCTcNPwsgJN+NSCyFsy73dTk1LJ9MSi8oRCUqhEz5WvLLnPqchgerQ17xFV6
X78YXP/35qS2XJYNOhdiagTdk3TGbSe9YS97NMIOGfVyyHjVDlLxpQpIi8XgK0lM
3lfXckM1Q7mdWQpeCoOmciy9SQeP0FkglMq8wROKvcIU2H55WbFjFZCry2jcp/cK
+EDj+DSKICjL33ruJPjPJ64Ho/FcBaiYj8HMfZOiv35h9z3BABN+SL5i1AcLH9l6
HMtiMfmneLNjq/3Ooz5mQqgAzI6HdiLHCK9j6wjxoWtq0JZkTDL2+K8aA8mfGFPr
hFV9blLO2t6QSx7PQdn3mWK9fUtciiLPX+Negiy3YJFZIKKEcJUMtbNw0c6eOsSh
2Wn/GD/jihsIySItZg5buGpz2xueT8s8ZQAmvXp8uAtRLUOOPPTiNPG1CvFU/Sl6
oX3UUx116BT/HRuKaiEZ
=teol
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to