Bug#740347: mh_installpoms -n should output what it would have done, not just exit
Matthew Vernon
mcv21 at cam.ac.uk
Fri Feb 28 13:16:23 UTC 2014
Package: maven-repo-helper
Version: 1.8.7
Severity: important
Hi,
mh_installpoms has an -n argument, documented thus:
-n --no-act: don't actually do anything, just print the results
But in fact, if you use -n, it does nothing at all and prints nothing
- line 96's check:
if [ -z "$NOACT" ]; then
means that mh_installpoms does nothing and prints nothing. I think in
fact that this check should just be removed - then the enclosed code
would call mh_installpom -n which is what you wanted in this case.
Thanks,
Matthew
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven-repo-helper depends on:
ii default-jre-headless [java2-runtime-headless] 1:1.6-47
ii libstax-java 1.2.0-3
ii openjdk-6-jre-headless [java2-runtime-headless] 6b27-1.12.6-1~deb7u1
Versions of packages maven-repo-helper recommends:
ii debhelper 9.20120909
Versions of packages maven-repo-helper suggests:
ii maven-debian-helper 1.6.7
-- no debconf information
More information about the pkg-java-maintainers
mailing list