I am using Maven in Eclipse to manage the project dependencies which are resolved from a local repository (SNAPSHOT). It works fine for compiling, but when I am trying to download the sources of a package (via right-click on package and Maven -> Download Sources) it does not work.
All I am getting is this output, but no information why the plugin is not trying to download the sources:
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.
The files at the repository look like this:
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
Does anybody have any suggestions why the source download is not working?