Thank you for the log.
The build doesn't fail in Debian. The difference comes from the modified
version of xmlgraphics-commons in Ubuntu. In Debian libmockito-java is a
transitive dependency of maven2 (through libmaven2-core -> libdoxia-java
-> libfop-java -> libxmlgraphics-commons-java -> libmockito-java), but
in Ubuntu the dependency on libmockito-java has been removed from
libxmlgraphics-commons-java (and that makes sense since it's not a
The right solution is to ignore the dependency by modifying
debian/maven.ignoreRules in maven-javadoc-plugin.
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.