Uploaded image for project: 'Maven Compiler Plugin (Moved to GitHub Issues)'
  1. Maven Compiler Plugin (Moved to GitHub Issues)
  2. MCOMPILER-407

Feature request: In debug mode, print full output of javac (including stdout)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.8.1
    • None
    • None

    Description

      Certain javac annotation processors and plugins like The Checker Framework sometimes print useful diagnostics on stdout.  Currently, there is no way to see this output using the Maven Compiler Plugin, even when Maven is run with the -X option.  I suggest that when Maven is in debug mode, the plugin should show as a debug message the full stdout of javac.  This should also work if javac is forked.

      If someone points me at the relevant code, I am happy to try to submit a pull request for this change.

      Attachments

        Activity

          People

            Unassigned Unassigned
            msridhar Manu Sridharan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: