Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Intended use of ${maven:CompileDepends}

0 views
Skip to first unread message

Emmanuel Bourg

unread,
Nov 11, 2023, 5:00:04 AM11/11/23
to
Hi Sebastiaan,

Le 11/11/2023 à 09:15, Sebastiaan Couwenberg a écrit :
> What's the intended use of the ${maven:CompileDepends} substvar?
>
> It shouldn't be added to Depends nor Built-Using. The dpkg-gencontrol
> warning makes it very tempting to add it to Depends as some package in
> the archive have incorrectly done.
>
> I've resorted to stripping it from the generated substvars file before
> dh_gencontrol to get rid of the warning, but it seems better to do this
> in maven-debian-helper.

I'll have to check but I think the intended use of
${maven:CompileDepends} is for packaging parent poms, in this case you
want the plugin dependencies to appear in the Depends field of the package.

Emmanuel Bourg
0 new messages