jira-importer commented on issue #190: URL: https://github.com/apache/maven-clean-plugin/issues/190#issuecomment-2690265039
**[Robert Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)** commented IMHO you should avoid using `clean` because, as you say, it removes everything, which is often too much. For some reason a lot call `mvn clean install` where I highly prefer `mvn verify`. Plugins should be aware if the task of their goals should be executed or not. e.g. the maven-compiler-plugin verifies nowadays if there are source changes after the latest build. If not, no need to compile. In other words: it is the plugin responsibiliy to do cleanups when required. The clean goal is just a last solution if plugins don't do their jobs good enough. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org