Question: what is the functionality of mvn clean command?
Answer: Maven clean goal (clean:clean) is bound to the clean phase in the clean lifecycle. Its clean:cleangoal deletes the output of a build by deleting the build directory. Thus, when mvn clean command executes, Maven deletes the build directory. ... Maven will start processing and displaying all the phases of clean life cycle.