Daniel Mensinger created MCOMPILER-540:
------------------------------------------

             Summary: 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


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