Re: Intended use of ${maven:CompileDepends}
Emmanuel Bourg <[email protected]>
| Newsgroups | gmane.linux.debian.devel.java |
|---|---|
| Message-ID | <[email protected]> |
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