desruisseaux commented on code in PR #328:
URL:
https://github.com/apache/maven-clean-plugin/pull/328#discussion_r3702287897
##########
src/main/java/org/apache/maven/plugins/clean/BackgroundCleaner.java:
##########
@@ -35,27 +40,77 @@
import org.apache.maven.api.EventType;
import org.apache.maven.api.Listener;
import org.apache.maven.api.Session;
+import org.apache.maven.api.SessionData;
import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.plugin.Log;
-import org.apache.maven.api.services.PathMatcherFactory;
/**
- * A cleaner potentially executed by background threads.
+ * A session-scoped service that moves directories to a staging area and
deletes them in a background thread.
+ * A single instance is shared across all modules in a reactor build via
{@link SessionData},
Review Comment:
Do we mean "sub-projects" (instead of "modules") in Maven 4 terminology?
--
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]