Back to Home
Maven Helper
Categories
Select a category to view commands
Lifecycle
Click on any command to copy it to clipboard
Clean Build
Clean previous build artifacts
mvn clean
Example: mvn clean compile
Compile Source
Compile main source code
mvn compile
Example: mvn clean compile
Run Tests
Run unit tests
mvn test
Example: mvn clean test
Package Project
Create JAR/WAR file
mvn package
Example: mvn clean package
Install to Local Repository
Install artifact to local repository
mvn install
Example: mvn clean install
Deploy to Remote Repository
Deploy artifact to remote repository
mvn deploy
Example: mvn clean deploy