In MyEclipse 5.5.1, we add the m2eclipse.
In the pom.xml, we have defined a SNAPSHOT version of a jar (e.g. shac-SNAPSHOT.jar), which showup properly in the Maven Dependencies and the artifact jar is downloaded properly.
However, we want to get its source jar, we highlighted this item, and right, choose maven, click Download Sources, nothing happened. The shac-SNAPSHOT-sources.jar is not download to the .m2 folder.
In the pom.xml, we do have the following settings on repositories
<snapshots>
<enabled>true</enabled>
</snapshots>
In the repository, we do have the sources jar
-rw-r–r– 1 bhdvobj dce 40 Jan 13 16:36 shac-20090113.223618-125.pom.sha1
-rw-r–r– 1 bhdvobj dce 32 Jan 13 16:36 shac-20090113.223618-125.pom.md5
-rw-r–r– 1 bhdvobj dce 2485 Jan 13 16:36 shac-20090113.223618-125.pom
-rw-r–r– 1 bhdvobj dce 40 Jan 13 16:36 shac-20090113.223618-125.jar.sha1
-rw-r–r– 1 bhdvobj dce 32 Jan 13 16:36 shac-20090113.223618-125.jar.md5
-rw-r–r– 1 bhdvobj dce 878011 Jan 13 16:36 shac-20090113.223618-125.jar
-rw-r–r– 1 bhdvobj dce 40 Jan 13 16:36 maven-metadata.xml.sha1
-rw-r–r– 1 bhdvobj dce 32 Jan 13 16:36 maven-metadata.xml.md5
-rw-r–r– 1 bhdvobj dce 339 Jan 13 16:36 maven-metadata.xml
-rw-r–r– 1 bhdvobj dce 40 Jan 13 16:36 shac-20090113.223618-125-sources.jar.sha1
-rw-r–r– 1 bhdvobj dce 32 Jan 13 16:36 shac-20090113.223618-125-sources.jar.md5
-rw-r–r– 1 bhdvobj dce 637478 Jan 13 16:36 shac-20090113.223618-125-sources.jar
$ pwd
/approot/cc/dev1/webtier/docs/repo2/ubhsc/shac/SNAPSHOT
This happens on MyEclipse 7.0 as well,
when I highlighted the shac-SNAPSHOT.jar and right click Maven4MyEclipse –> Download Sources, nothing happened.
Please help on this issues.
Meng
[/img]