You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David M. Lloyd (JIRA)" <ji...@codehaus.org> on 2014/05/27 23:36:12 UTC

[jira] (MCOMPILER-66) Compiler swallows messages from annotation processors

    [ https://jira.codehaus.org/browse/MCOMPILER-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=347228#comment-347228 ] 

David M. Lloyd commented on MCOMPILER-66:
-----------------------------------------

This issue should be closed because MCOMPILER-224 supersedes it and that issue has been fixed.

> Compiler swallows messages from annotation processors
> -----------------------------------------------------
>
>                 Key: MCOMPILER-66
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-66
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2, 2.1
>            Reporter: Evan Cowden
>         Attachments: AnnotationProcessorMessagerBug.zip
>
>
> When using the annotation processor API to print messages through the javax.annotation.processing.Messager object, only messagesspecified by levels javax.tools.Diagnostic.Kind.ERROR and javax.tools.Diagnostic.Kind.MANDATORY_WARNING are displayed (and cause the build to fail).  All other messages are swallowed.
> Note that while the attached JUnit test case is necessary to help expose the problem, passing it will not imply that the bug is fixed.  The only way to confirm the fix (that I know of) is to examine console output.



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