Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.7.0
-
None
Description
With <useIncrementalCompilation>true</useIncrementalCompilation>, my build fails if I do "mvn clean compile compile". From theĀ comment in MCOMPILER-205, I understand that incremental compilation deletes the "classes" directory. But it seems that it doesn't delete the "generated-sources" directory.
When I do "mvn clean compile" and "mvn compile", the second build fails. However, if I delete the "generated-sources" directory between the 2 builds, they both succeed.
So I guess the bug here is that incremental compilation doesn't delete the "generated-sources" directory.
Attachments
Issue Links
- causes
-
MCOMPILER-589 Compilation fails due to removed generated-sources after upgrade from 3.11.0 to 3.12.0+
- Open
- relates to
-
MCOMPILER-538 Do not add target/generated-sources/annotations to the source roots
- In Progress
- links to