Maven cheat sheet

Shortcuts

Useful commands

mvn dependency:tree Get dependency tree
mvn archetype:generate Generate a maven project
mvn archetype:generate -DgroupId=com.madadipouya.eris -DartifactId=eris-weather-service Generate a maven project with artifactId and groupId
mvn clean dependency:copy-dependencies package Run a goal with a phase

Notes