marquiswang opened a new pull request, #23:
URL: https://github.com/apache/maven-shared-incremental/pull/23

   The generatedSourcesDirectory (by default
   target/generated-sources/annotations) contains source code generated by 
annotation processors. These generated sources are also outputs of the 
compiler, and thus should be cleaned along with the class files in the 
outputDirectory, in order to correctly do incremental compilations.
   
   If this isn't done, then javac may not correctly compile the generated code, 
since it was there before. See
   
https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#annotation-processing
   
   See https://github.com/marquiswang/incremental-compile-dagger-test for a 
reproducing example.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to