首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

施用maven下载原码包

2012-07-03 
使用maven下载原码包?使用maven在下载依赖包的同时下载其源代码包的方法:1. 使用maven命令:mvn dependency

使用maven下载原码包

?

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

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

<!--EndFragment-->

热点排行