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



##########
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:
       Nothing good, but given this is an opt-in feature, people can define the 
`fastDir` directory explicitely if needed.
   I'm writing the docs on those new properties, so I'll add some info.




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