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

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

mensinda commented on PR #192:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/192#issuecomment-2454844938

   As requested, I have added a test case.
   
   **NOTE:** The added test case will only pass once #191 is merged, or 
[MCOMPILER-538](https://issues.apache.org/jira/browse/MCOMPILER-538) is fixed 
another way.




> useIncrementalCompilation=false may add generated sources to the sources list
> -----------------------------------------------------------------------------
>
>                 Key: MCOMPILER-540
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-540
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>            Reporter: Daniel Mensinger
>            Priority: Major
>
> When using the {{maven-compiler-plugin}} with 
> {{<useIncrementalCompilation>false</useIncrementalCompilation>}}, source 
> files from the generated sources root directory may be added to the list of 
> source files. This can lead to {{javax.annotation.processing.FilerException: 
> Attempt to recreate a file for type XXXX}}  exceptions.
> To reproduce:
> Checkout the {{annotationProcessingTest}} branch of 
> [https://github.com/mensinda/quarkus-stuff/tree/annotationProcessingTest] and 
> run the {{generatedSourcesInJavacArgs.sh}} script.



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

Reply via email to