You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Mensinger (Jira)" <ji...@apache.org> on 2023/06/16 12:21:00 UTC
[jira] [Created] (MCOMPILER-540) useIncrementalCompilation=false may add generated sources to the sources list
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)