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
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.
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.