Your message dated Sun, 09 Jun 2013 17:50:24 +0000
with message-id <[email protected]>
and subject line Bug#710131: fixed in maven-debian-helper 1.6.3
has caused the Debian Bug report #710131,
regarding maven.pm ignores content of d/maven.properties
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 [email protected]
immediately.)
--
710131: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710131
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: maven-debian-helper
Severity: normal
Tags: patch
Hi,
in dh build, path to debian/maven.properties file in 'properties.file.manual'
should be passed to Maven as a JVM system property, but the perl script simply
appends it at the end of the command line, making it a Maven property.
Because of this misplacement, content of d/maven.properties is ignored by dh
build.
Please see attached patch.
Regards,
Jakub
>From 3f377ddcb852522438609bfcf93a729c6473b2ac Mon Sep 17 00:00:00 2001
From: Jakub Adam <[email protected]>
Date: Tue, 28 May 2013 12:52:06 +0200
Subject: [PATCH] maven.pm: pass properties.file.manual as JVM system property
Because it was passed as Maven property, content of d/maven.properties
was ignored in dh build.
---
share/perl/maven.pm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/share/perl/maven.pm b/share/perl/maven.pm
index adfaed0..00520df 100644
--- a/share/perl/maven.pm
+++ b/share/perl/maven.pm
@@ -36,16 +36,18 @@ sub new {
push(@classpath, "$java_home/lib/tools.jar");
}
+ my @jvmopts = ('-noverify', '-cp', join(':',@classpath),
+ "-Dclassworlds.conf=$classconf");
+ if (-e "$this->{cwd}/debian/maven.properties") {
+ push (@jvmopts, "-Dproperties.file.manual=$this->{cwd}/debian/maven.properties");
+ }
+
@{$this->{maven_cmd}} = ($java_home . '/bin/java',
- '-noverify', '-cp', join(':',@classpath),
- "-Dclassworlds.conf=$classconf",
+ @jvmopts,
"org.codehaus.classworlds.Launcher",
"-s/etc/maven2/settings-debian.xml",
"-Ddebian.dir=$this->{cwd}/debian",
"-Dmaven.repo.local=$this->{cwd}/debian/maven-repo");
- if (-e "$this->{cwd}/debian/maven.properties") {
- push (@{$this->{maven_cmd}}, "-Dproperties.file.manual=$this->{cwd}/debian/maven.properties");
- }
return $this;
}
--
1.7.10.4
--- End Message ---
--- Begin Message ---
Source: maven-debian-helper
Source-Version: 1.6.3
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Koch <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 09 Jun 2013 19:29:44 +0200
Source: maven-debian-helper
Binary: maven-debian-helper
Architecture: source all
Version: 1.6.3
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Thomas Koch <[email protected]>
Description:
maven-debian-helper - Helper tools for building Debian packages with Maven
Closes: 710131
Changes:
maven-debian-helper (1.6.3) unstable; urgency=low
.
[ Emmanuel Bourg ]
* Align the options vertically when asking how the version should be
transformed
.
[ Jakub Adam ]
* maven.pm: pass properties.file.manual as JVM system property
(Closes: #710131)
Checksums-Sha1:
f3c5cd3640456b92aed4ffbcee7f3c1200731e76 2097 maven-debian-helper_1.6.3.dsc
d0d686666fb552077a2cb0e10abef5e19e9debf7 109998
maven-debian-helper_1.6.3.tar.gz
03bb71a09e4832b09c00fed2ec7beca6818e3082 117756
maven-debian-helper_1.6.3_all.deb
Checksums-Sha256:
5b7e6bfde74126948bc67fc799d10b2d912fc91b55b2b4be69cd44c17857e1cb 2097
maven-debian-helper_1.6.3.dsc
4a04220758b1732ce30a5b8628f309248eafb41e91b3eb0ff937468dc4c1be7b 109998
maven-debian-helper_1.6.3.tar.gz
c16933186bfacfaf4c97b0fb70043ef12c65da236b92567b2d1e75bb576ed793 117756
maven-debian-helper_1.6.3_all.deb
Files:
0f96559a41273d09b329483acbdcddc2 2097 java optional
maven-debian-helper_1.6.3.dsc
d539132228448826bdd6046453acd7ed 109998 java optional
maven-debian-helper_1.6.3.tar.gz
f551e305349b72ee472b2fd946af7d24 117756 java optional
maven-debian-helper_1.6.3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJRtL2+AAoJEAf8SJEEK6ZaNGsQAJeZ0dkjojmN7kjMGBhDMb0c
Tkqws2QZLzaUJTjk+2Px8qZDb5w0lK5/XsXgazDrEAr5hHRWH4Tl63LoC+WyH5aY
NosxGVJGmjc6H30VSDKVl9MpOPSScPr7d06QnAJYk09BROgwY0jxQYc6mhH2M1yp
nFfrJlu0I/u0nycDFOjKtknB8nRwnY3HzAFeGIZSbXU3UYL35VsZd+aH4LXE7T8H
7DfIUA6+XCsv+S1a6I9EYEB05a0kasSo3KZmxpmk8aXhASDlbdUZXJgc+dv68+Mr
0KKdO0M8vls8fydOyiwJrKbPrZWKMgCUFS0XmuEn3c9WkVvKwzjvbBfInPPNt4uK
TZW3i2kNWTt8Z7IeBJiwJrwWQE7IazqOZkAkzKhn45nGhKzRP2gBQmAJueEZ323/
z32E89/3qjf19mnFaDq6v7z/OhbDhJJQcxBKIZOWtR2bPFAt3P7bPDjNW7LAvnWC
thVVt2f5qLXfayMsl5dXNyTHY920IwikvM/YBAfNWZ3lTXiUtS8bAMUiWai5j//u
tsy2todCvV0GqLINnWfQb6IcfZUIVKEuMYbMMfiYgP0ipTMSQxqu4HaGp8TKgpOB
7FA4pP0ISu2DAjMmeKN+pAMCpcsHVMBmA6Oc3BccM6O2+9StI+n5otGqi9USU2kP
2lbmyTy+V1crXRe/JJS5
=OFw9
-----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
[email protected] for discussions and questions.