You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Boyles (Jira)" <ji...@apache.org> on 2020/10/31 14:05:00 UTC

[jira] [Commented] (MCOMPILER-288) Annotation Processors are not automatically detected and executed

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

Michael Boyles commented on MCOMPILER-288:
------------------------------------------

Cannot reproduce. Requires sample project or should be closed

> Annotation Processors are not automatically detected and executed
> -----------------------------------------------------------------
>
>                 Key: MCOMPILER-288
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-288
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>         Environment: Window, Java8
>            Reporter: David Nouls
>            Priority: Major
>
> I created a small annotation processor and I am trying to use it in another maven project.
> The APT is properly bundled with the META-INF/services/java.annotation.processing.Processor pointing to the right classname.
> And I am including it as a scope provided dependency in the second module that tries to use it. The docs of maven-compiler-plugin states that it should auto detect and execute the APT but it does not.
> If I add a configuration forceJavaCompilerUse then the annotation processor is properly executed.



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