invokebinder icon indicating copy to clipboard operation
invokebinder copied to clipboard

maven-javadoc-plugin should use Java 9

Open tambry opened this issue 4 years ago • 2 comments

module-info.java requires Java 9 so the source should be specified as 9.

Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (default-cli) on project invokebinder: MavenReportException: Error while generating Javadoc:
Exit code: 1 - /root/deb/invokebinder/src/main/java/module-info.java:1: error: modules are not supported in -source 8
module com.headius.invokebinder {
^
  (use -source 9 or higher to enable modules)

Command line was: /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc @options @packages @argfile

tambry avatar Dec 13 '21 09:12 tambry

Oh somehow I missed this! I believe this has been fixed more recently, can you try again?

headius avatar Mar 16 '23 05:03 headius

I will try to give it a go sometime soon, but the source still seems to be 8 in pom.xml.

tambry avatar Mar 16 '23 09:03 tambry