我在Eclipse中使用Maven来管理从本地存储库(SNAPSHOT)解析的项目依赖项。它编译工作正常,但是当我试图下载一个包的源代码时(通过右键单击包和Maven - >下载源)它不起作用。m2eclipse不会从本地存储库下载源码
所有我得到是这样的输出,但没有信息,为什么插件是不是要下载来源:
27.08.09 11:42:24 MESZ: [INFO] User settings file does not exist /home/my-name/.m2/settings.xml
27.08.09 11:42:24 MESZ: [DEBUG] Reading global settings from: /opt/shared/apache-maven/conf/settings.xml
27.08.09 11:42:24 MESZ: [DEBUG] Reading user settings from: null
27.08.09 11:42:24 MESZ: [DEBUG] Settings file is null. Returning null.
该文件在存储库中查找这样的:
Collection: /com/my-company/product/0.0.2-SNAPSHOT
# product-0.0.2-20090827.071202-1-sources.jar
# product-0.0.2-20090827.071202-1-sources.jar.md5
# product-0.0.2-20090827.071202-1-sources.jar.sha1
# product-0.0.2-20090827.071202-1.jar
# product-0.0.2-20090827.071202-1.jar.md5
# product-0.0.2-20090827.071202-1.jar.sha1
# product-0.0.2-20090827.071202-1.pom
# product-0.0.2-20090827.071202-1.pom.md5
# product-0.0.2-20090827.071202-1.pom.sha1
# maven-metadata.xml
# maven-metadata.xml.md5
# maven-metadata.xml.sha1
不任何人有任何建议为什么源下载不起作用?