Bug#891695: "mh_linkjar" and "mh_installpoms" Do Not Support "--relocate"

Emmanuel Bourg ebourg at apache.org
Wed Feb 28 07:31:19 UTC 2018


Le 28/02/2018 à 03:46, 殷啟聰 | Kai-Chung Yan a écrit :

> If I use "jh_maven_repo_helper" and then add a "relocate" option to "<package>.poms", "mh_linkjar" shows the following error:
> 
>> Invalid option: relocate

What syntax did you use in debian/<package>.poms?


> So I move the "relocate" option to "debian/rules" as
> 
> ```make
> override_mh_installpoms:
>     mh_installpoms --relocate=org.osgi:org.osgi.compendium:debian
> ``
> 
> This time, "mh_installpoms" shows said error.

--relocate doesn't make sense with mh_installpoms, because
mh_installpoms install several poms but --relocate is only for one pom.

Emanuel Bourg



More information about the pkg-java-maintainers mailing list