Question: what is the difference between mvn clean install and mvn clean package?
Answer: package will compile your code and also package it. For example, if your pom says the project is a jar, it will create a jar for you when you package it and put it somewhere in the target directory (by default). install will compile and package, but it will also put the package in your local repository.