`

Maven下载依赖包同时下载源码包方法

 
阅读更多

使maven2在下载依赖包的同时下载其源代码包的方法:

1. 使用maven命令:mvn dependency:sources 下载依赖包的源代码。

2. 使用参数: -DdownloadSources=true 下载源代码jar。 -DdownloadJavadocs=true
下载javadoc包。

mvn dependency:sources -DdownloadSources=true -DdownloadJavadocs=true


Eclipse

mvn -DdownloadSources=true -DdownloadJavadocs=true
-DoutputDirectory=target/eclipse-classes eclipse:eclipse

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics