Question: what is the difference between mvn clean install and mvn install?
Answer: mvn clean install calls clean first, then install . You have to clean manually, because clean is not a standard target goal and not executed automatically on every install. clean removes the target folder - it deletes all class files, the java docs, the jars, reports and so on.