Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-229

Compilation error should be reported as by javac tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.1, 3.2
    • None
    • None
    • All

    Description

      Currently for compilation error the plugin prints out the java file path, with the line number and position number in brackets, and no more details.
      This is very inconvenient, especially when doing build from command line.
      Unlike this, if you simply invoke "javac", it will print the whole line from Java file that contains the error, and under that a line with a single "^" symbol pointing to the problematic location on that line.
      It would be very useful to add this feature, at least as an option (though I believe it should be fine to just fix it so it behaves exactly like javac).

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            lilyevsky Leonid Ilyevsky
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: