maven-javadoc-plugin should use Java 9

Open
#14 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start with the Maven configuration for the maven-javadoc-plugin and the module-info.java error under src/main/java. Run the javadoc goal to reproduce the Java 8 source failure; done means Javadoc generation succeeds with source 9 for the modular project.

Written by the indexing model from the issue text.

Description

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
Dominant language
Java
Stars
110
Forks
20
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.