Bug#830204: cglib: make the ant dependency really optional

Emmanuel Bourg ebourg at apache.org
Thu Jul 7 11:09:49 UTC 2016


Source: cglib
Version: 3.2.3-2
Severity: important

The parent pom of cglib defines the dependency on ant as optional in the
dependencyManagement section, but the optional attribute in dependencyManagement
is actually ignored by Maven. So the ant dependency then defined in the cglib
pom is actually mandatory and not optional as expected. maven-debian-helper fails
to handle this subtlety and ant isn't added to the dependencies of the package.
This results in several build failures in the package depending on cglib (see
#829131, #828959, #828093, #829183, #829411, #829413, #829105 and #828930).

cglib should be patched to properly mark the dependency as optional in the pom.



More information about the pkg-java-maintainers mailing list