maven使用
一 maven常用命令
查看项目所有依赖:
mvn dependency:tree
下载依赖Java Doc:
#download for all dependencies
mvn dependency:resolve -Dclassifier=javadoc
#download only you need
mvn dependency:resolve -Dclassifier=javadoc -DincludeArtifactIds=spring-web
下载依赖源码:
#download all dependencies’ resource code of the project
mvn dependency:sources
#download only you want
mvn dependency:sources -DincludeArtifactIds=spring-web