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

ASF GitHub Bot commented on MCOMPILER-548:
------------------------------------------

hgschmie opened a new pull request, #200:
URL: https://github.com/apache/maven-compiler-plugin/pull/200

   Turns out this is just a documentation issue. `full` works fine but is
   not documented.
   
   Following this checklist to help us incorporate your
   contribution quickly and easily:
   
    - [X] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/MCOMPILER) filed
          for the change (usually before you start working on it).  Trivial 
changes like typos do not
          require a JIRA issue.  Your pull request should address just this 
issue, without
          pulling in other changes.
    - [X] Each commit in the pull request should have a meaningful subject line 
and body.
    - [X] Format the pull request title like `[MCOMPILER-XXX] - Fixes bug in 
ApproximateQuantiles`,
          where you replace `MCOMPILER-XXX` with the appropriate JIRA issue. 
Best practice
          is to use the JIRA issue title in the pull request title and in the 
first line of the
          commit message.
    - [X] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
    - [X] Run `mvn clean verify` to make sure basic checks pass. A more 
thorough check will
          be performed on your pull request automatically.
    - [X] You have run the integration tests successfully (`mvn -Prun-its clean 
verify`).
   
   If your pull request is about ~20 lines of code you don't need to sign an
   [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
   please ask on the developers list.
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](http://www.apache.org/licenses/LICENSE-2.0)
   you have to acknowledge this by using the following check-box.
   
    - [X] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   




> JDK 21 throws annotations processing warning that can not be turned off
> -----------------------------------------------------------------------
>
>                 Key: MCOMPILER-548
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-548
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.11.0
>            Reporter: Henning Schmiedehausen
>            Priority: Major
>
> maven compiler plugin 3.11 on Java 21 reports
> {quote}
> [INFO] Annotation processing is enabled because one or more processors were 
> found
>   on the class path. A future release of javac may disable annotation 
> processing
>   unless at least one processor is specified by name (-processor), or a search
>   path is specified (--processor-path, --processor-module-path), or annotation
>   processing is enabled explicitly (-proc:only, -proc:full).
>   Use -Xlint:-options to suppress this message.
>   Use -proc:none to disable annotation processing.
> {quote}
> However, the {{<proc>}} option only supports "none" and "proc", not "full" 
> (which is the implicit default). 
> Adding this through a compiler option:
> {quote}
> <configuration>
>   <compilerArgs>
>     <arg>-proc:full</arg>
>   </compilerArgs>
> </configuration>
> {quote}
> fixes this warning. Adding "full" as a value for the compiler plugin would 
> fix it, too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to