Bug#1129623: maven-debian-helper uses dependency pom version in Maven:* substvars
Emmanuel Bourg
ebourg at apache.org
Tue Oct 27 13:53:43 GMT 2026
Le 04/03/2026 à 05:08, Vladimir Petko a écrit :
> maven-debian-helper uses dependency pom version when generating substvars.
> This creates unsatisfiable constraints when the pom version and package
> upstream version do not match.
>
> Example is async-http-client that depends on libnetty-reactive-streams-java (>=
> 2.0.9-SNAPSHOT), where the package version of netty-reactive-streams is
> 2.0.8[1].
>
> Please consider using Debian package version of the dependency rather than POM
> version to generate version constraints in substvars.
The dependency is versioned only when the --has-package-version flag is
set. In this case netty-reactive-streams POM version doesn't match the
package version, so its --has-package-version flag is wrong and should
be removed.
Emmanuel Bourg
More information about the pkg-java-maintainers
mailing list