What does the mvn clean command do?
It builds your project
It removes the target directory
It updates the version of the plugins defined in the POM file.
It removes unused dependencies in your project