Bug#884182: maven-debian-helper: Support modules with the same dependency but different scopes

Emmanuel Bourg ebourg at apache.org
Tue Dec 12 12:43:59 UTC 2017


Package: maven-debian-helper
Version: 2.2.8
Severity: normal

When a multi-modules project has two modules sharing the same dependency
but with different scopes, maven-debian-helper gets confused and doesn't
use the right dependency group for the associated packaged.

For example with activemq/5.15.2-1, the commons-net dependency is optional
in the activemq-client module but mandatory in the activemq-kahadb-store
module. In this case maven-debian-helper believes the dependency is
optional and puts libcommons-net-java in ${maven:OptionalDepends} instead
of ${maven:Depends}. I haven't checked if the dependencies with the
'provided' scope are also affected by this issue.



More information about the pkg-java-maintainers mailing list