`
美驴2
  • 浏览: 499 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

maven eclipse:eclipse命令生成的.classpath自动关联源码和javadoc

阅读更多

 

 方式一:

mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true

 

方式二:打开maven配置文件 setting.xml文件(.../.m2/settings.xml)   profile节点下增加properties配置:

<profile>
	<id>nexus</id>
	<properties>  
        	<downloadSources>true</downloadSources>  
        	<downloadJavadocs>true</downloadJavadocs>             
    	</properties>
</profile>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics