You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "olamy (via GitHub)" <gi...@apache.org> on 2023/11/25 04:05:42 UTC
Re: [PR] [MCOMPILER-381] - Refactor incremental detection [maven-compiler-plugin]
olamy commented on code in PR #181:
URL: https://github.com/apache/maven-compiler-plugin/pull/181#discussion_r1404714195
##########
src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java:
##########
@@ -1156,6 +1151,16 @@ public void execute() throws MojoExecutionException, CompilationFailureException
incrementalBuildHelper.beforeRebuildExecution(incrementalBuildHelperRequest);
+ // Cleanup the generated sources directory
+ if (getGeneratedSourcesDirectory() != null) {
Review Comment:
Why cleaning this directory? I don't understand the reason. Can you please explain?
reading the change as it it looks this will remove the generated-sources added via the phase `generate-sources` or any phase before compile.
Maybe I read the change in a wrong way?
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org