Uploaded image for project: 'Maven Javadoc Plugin (Moved to GitHub Issues)'
  1. Maven Javadoc Plugin (Moved to GitHub Issues)
  2. MJAVADOC-721

Parse stderr output and suppress informational lines

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • javadoc
    • None

    Description

      From Java 17 the Javadoc tool prints informational output to stderr mixed with actual errors and warnings (see JDK-8268774, JDK-8270831).

      Currently the maven-javadoc-plugin logs the complete content of the tool's stderr as warning or includes it completely in the message of a MavenReportException (in case of an unsuccessful exit code of the tool). This behavior is not optimal with Java 17 onwards.

      The output can be lengthy and the informational messages very distracting. This is particularly true for larger projects.

      This improvement enables the developer/user to focus on the actual warnings or errors.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            spannjp Markus Spann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment