You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/12/17 18:24:00 UTC

[jira] [Commented] (MJAVADOC-703) maven-javadoc-plugin > 3.0.1 fail on JDK 8

    [ https://issues.apache.org/jira/browse/MJAVADOC-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461607#comment-17461607 ] 

Michael Osipov commented on MJAVADOC-703:
-----------------------------------------

Provide your plugin config and run in verbose mode and provide this as well.

> maven-javadoc-plugin > 3.0.1 fail on JDK 8
> ------------------------------------------
>
>                 Key: MJAVADOC-703
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-703
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 3.3.1
>            Reporter: Thorsten Glaser
>            Priority: Major
>
> Trying to use 3.1.0 or 3.3.1 with JDK 8 results in {{--release}} being passed to the {{javadoc}} command, which does not know it in JDK 8:
> {{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:jar (attach-javadocs) on project maven-parent-lib: MavenReportException: Error while generating Javadoc: }}
> {{[ERROR] Exit code: 1 - javadoc: error - invalid flag: --release}}
> {{[ERROR]}}
> {{[ERROR] Command line was: /usr/lib/jvm/java-8-openjdk-i386/jre/../bin/javadoc @options @packages}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)