slawekjaranowski commented on code in PR #218:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/218#discussion_r1432450761


##########
src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java:
##########
@@ -1172,6 +1172,8 @@ public void execute() throws MojoExecutionException, 
CompilationFailureException
                 try (Stream<Path> walk =
                         Files.walk(getGeneratedSourcesDirectory().toPath())) {
                     
walk.sorted(Comparator.reverseOrder()).map(Path::toFile).forEach(File::delete);
+                    // MCOMPILER-567: recreate directory
+                    
Files.createDirectories(getGeneratedSourcesDirectory().toPath());

Review Comment:
   please fix comments in line 1170



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to