Skip to content

maven-javadoc-plugin should use Java 9 #14

@tambry

Description

@tambry

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions