IMLC.ME
/cheatsheets/maven cheatsheet/

maven cheatsheet

mvn install

# Install source and javadoc jar
mvn clean javadoc:jar source:jar install

Tips

Download dependency
mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get \
  -Dartifact=groupId:artifactId:version[:packaging[:classifier]] \
  -DoutputDirectory=<path-to-directory>