More information can be found on the Maven homepage. In particular, you might want to check out the documentation section and the plugin documentations.
Below is a list of commonly-used helpful Maven commands.
| Command | Description |
| mvn clean | Remove all the generated files |
| mvn compile | Compile the project |
| mvn test | Run the unit test. Use "-Dtest=ClassName" (not fully-qualified) to run individual tests |
| mvn site | Creates project site and reports |
| mvn package | Create the JAR file |
| mvn release | Release the artifacts to the repository |
| mvn site-deploy | Generate and deploy the site |
| mvn deploy | Deploy the JAR file to the repository |
| mvn idea:idea | Create an IntelliJ IDEA project |
| mvn idea:clean | Remove the IntelliJ IDEA project |
| mvn eclipse:eclipse | Create an Eclipse project |
| mvn eclipse:clean | Remove the Eclipse project |
| -Dmaven.test.skip=true | Do not execute the unit tests |
| -Dmaven.test.failure.ignore=true | Continue even if the unit tests have failed |
| mvn -U | Check for updates for all snapshot releases |
| mvn -up | Check for updates for the plugins |
| mvn -o | Work offline |
| mvn --help | See full llist of optional commands |