[ 
https://issues.apache.org/jira/browse/NETBEANS-6044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418946#comment-17418946
 ] 

Jaroslav Tulach commented on NETBEANS-6044:
-------------------------------------------

The fix will have to use 
[PluginPropertyUtils|https://github.com/apache/netbeans/blob/c084119009d2e0f736f225d706bc1827af283501/java/maven/src/org/netbeans/modules/maven/queries/MavenSourceLevelImpl.java#L165]
 somehow, I guess.

> Annotation processors configured for compiler plugin are not used for editor 
> parsing
> ------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-6044
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6044
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 12.5
>            Reporter: Svatopluk Dedic
>            Assignee: Svatopluk Dedic
>            Priority: Major
>
> Maven supplies "classpath/compile" ClassPath as the processor classpath. But 
> the compiler-maven-plugin supports a special processor classpath that can be 
> set in plugin configuration and should be used for discovery in addition(?) 
> to regular compile classpath.
> This technique is used in e.g. *micronaut* where the *micronaut-parent* POM 
> inherited into user projects configures annotation processors this way. 
> Errors that appear at compile time are not reported or underlined in the 
> IDE's editor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to