You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Leonid Ilyevsky (JIRA)" <ji...@codehaus.org> on 2014/07/25 22:58:10 UTC

[jira] (MCOMPILER-229) Compilation error should be reported as by javac tool

Leonid Ilyevsky created MCOMPILER-229:
-----------------------------------------

             Summary: Compilation error should be reported as by javac tool
                 Key: MCOMPILER-229
                 URL: https://jira.codehaus.org/browse/MCOMPILER-229
             Project: Maven Compiler Plugin
          Issue Type: Improvement
    Affects Versions: 3.1, 3.2
         Environment: All
            Reporter: Leonid Ilyevsky


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).



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)