michael-o commented on a change in pull request #6:
URL: https://github.com/apache/maven-clean-plugin/pull/6#discussion_r771501502



##########
File path: src/main/java/org/apache/maven/plugins/clean/CleanMojo.java
##########
@@ -190,7 +193,25 @@ public void execute()
             return;
         }
 
-        Cleaner cleaner = new Cleaner( session, getLog(), isVerbose(), fast ? 
fastDir : null );
+        File fastDir;
+        if ( fast && this.fastDir != null )
+        {
+            fastDir = this.fastDir;
+        }
+        else if ( fast && multiModuleProjectDirectory != null )
+        {
+            fastDir = new File( multiModuleProjectDirectory, "target/.clean" );

Review comment:
       I wonder what will happen when `build.outputDirectory` has been 
modified...




-- 
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