Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven-javadoc-plugin should use Java 9 #14

Open
tambry opened this issue Dec 13, 2021 · 2 comments
Open

maven-javadoc-plugin should use Java 9 #14

tambry opened this issue Dec 13, 2021 · 2 comments

Comments

@tambry
Copy link

tambry commented Dec 13, 2021

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
@headius
Copy link
Owner

headius commented Mar 16, 2023

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

@tambry
Copy link
Author

tambry commented Mar 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants