create new project
mvn archetype:generate -DartifactId=weather -DgroupId=org.liuf.weather -Dversion=1.0
build
mvn install
build jar with dependency
pom.xml
build plugins plugin
artifactId maven-assembly-plugin
configuration descriptorRefs descriptoRef jar-with-dependencies
run program
mvn exec:java -Dexec.mainClass=org.liuf.weather.App
dependency analyse
mvn dependency:tree
mvn dependency:analyze