This is a page which is written as a page where there are commands which can be used in maven build tool. Consider this page as a maven cheat sheet command page.
Compile Program, Build the Program and Store it into Local Repository
mvn package
Clean Files and Folders generated by Maven Build Process
mvn clean
Compile all Files and Folders in the source folder of the project
mvn compile
Combination with the Wildfly Java Application Server Plugin
Deploy the current project to Wilfly Java Application Server
mvn wildfy:deploy
Remove the current deployment of the project from Wildfly Java Application Server
mvn wildfly:undeploy
Start Wildfly Java Application Server and Run the project on it
mvn wildfly:run