Hi all,

I just noticed a problem with building Wicket on JDK 14, which is not
detected by our current build setup. On JDK 13+, javadoc fails with:

[ERROR] MavenReportException: Error while generating Javadoc:
Exit code: 1 - javadoc: error - invalid flag: --no-module-directories

Command line was: /usr/lib/jvm/java-14-openjdk-amd64/bin/javadoc
-J-Xmx256m -J-Xms128m --no-module-directories @options @packages

Shouldn't our build detect such issues? At the moment we run 'mvn
clean test'. Maybe we should run 'mvn clean package' instead? I'll
submit a bug report on maven-javadoc-plugin later today. It seems the
maintainers are not yet aware of this issue.

Best regards,
Emond

Reply via email to