gnodet opened a new pull request, #364: URL: https://github.com/apache/maven-clean-plugin/pull/364
## Summary When `session.getRootDirectory()` throws `IllegalStateException` (embedded/standalone usage without a root directory), log a debug message before falling back to the system temp directory. Also initialises `rootDir` to `null` explicitly for clarity. Note: in a standard Maven 4 CLI build, `getRootDirectory()` never throws — the root directory is always resolved before mojo execution. This fallback path is only reachable from embedded usage. Addresses review feedback from @desruisseaux on #362. -- 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]
