reassign 709446 maven-repo-helper
kthxbye

On Thu, May 23, 2013 at 12:27 +0100, Wolodja Wentland wrote:

> Specifically I am building a package [0] that uses maven-repo-helper to
> install a jar into a local maven repository at /usr/share/maven-repo/ . The
> relevant sequence is 
> /usr/share/perl5/Debian/Debhelper/Sequence/jh_maven_repo_helper.pm
> and contains:
> 
> --- snip ---
> insert_after("jh_depends", "mh_installpoms");
> insert_after("mh_installpoms", "mh_linkjars --skip-clean-poms");
> insert_before("dh_clean", "mh_clean");
> --- snip ---

After investigating the issue further it became apparent that the bug is in
maven-repo-helper that ships a broken debhelper sequence addon. After I change
/usr/share/perl5/Debian/Debhelper/Sequence/jh_maven_repo_helper.pm to:

--- snip ---
#!/usr/bin/perl

use warnings;
use strict;
use Debian::Debhelper::Dh_Lib;

# To use with javahelper
# dh $@ --with javahelper --with jh_mavenrepohelper

insert_after("jh_depends", "mh_installpoms");
insert_after("mh_installpoms", "mh_linkjars");
add_command_options("mh_linkjars", "--skip-clean-poms");
insert_before("dh_clean", "mh_clean");


1;
--- snip ---

mh_linkjars --skip-clean-poms is called as expected.
-- 
Wolodja <[email protected]>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC

Attachment: signature.asc
Description: Digital signature

Reply via email to