mvn (maven)
Maven is a software project management and comprehension tool to help automate and configure java software projects.
LifeCycle
validate | |
compile | |
test | Unit Tests |
package | |
verify | Integration tests |
install | |
deploy |
Redownload all dependencies
mvn dependency:resolve -U
# Hardcore Version:
rm -rf ~/.m2 && mvn dependency:resolve -U
Offline Tests
mvn clean test -o
- Spring Boot Run
mvn clean spring-boot:run
- Skip Tests
# Short Version
mvn <target-phase> -DskipTests
# Long Version
mvn <target> -Dmaven.test.skip=true