Dear Emmanuel, Thank you for investigating - looking more closely, the problem I was seeing was with what gets passed to DependenciesSolver:
${GEN_JAVADOC:+--generate-javadoc} ${RUN_TESTS:+--run-tests} which I think means that DependenciesSolver will always get called with the --generate-javadoc and --run-tests options if GEN_JAVADOC and RUN_TESTS have any non-empty value, even "false". So whilst tests and the javadoc package may be disabled, the dependencies for tests and generating docs are pulled in anyway. This is what my patch addresses. Christopher
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.