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

[jira] [Created] (MJAVADOC-683) Reimplement failOnWarning

Robert Scholte created MJAVADOC-683:
---------------------------------------

             Summary: Reimplement failOnWarning
                 Key: MJAVADOC-683
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-683
             Project: Maven Javadoc Plugin
          Issue Type: Improvement
            Reporter: Robert Scholte
            Assignee: Robert Scholte


As of JDK 17 the STDERR is not just used for error output anymore.
{quote}
This is a deliberate change in policy, to match the equivalent `javac` policy.

All diagnostic and logging output is now written to stderr when javadoc is invoked from the command line, leaving stdout to be used for output specifically requested by command-line options, like `--help` etc.
{quote}

The advice is: check the tail of the output written to stderr for lines reporting the number of errors and number of warnings.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)