facebook

Download SNAPSHOT version source jar is not working

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #293521 Reply

    mengmvn
    Member

    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]

    #293551 Reply

    Loyal Water
    Member

    Meng,
    I have asked the dev team to look into this issue. They will get back to you with an answer asap.

    #293741 Reply

    mengmvn
    Member

    any updates on this issue ?

    #293813 Reply

    Riyad Kalla
    Member

    Meng,

    This really looks to be a repository-configuration question. In MyEclipse anytime the “Download Sources” or “Download Javadoc” operations fail silently, it means the resource requested could not be resolved and downloaded. That could possibly be what is happening here.

    I don’t know if that’s an app server configuration problem, a Maven repository issue or maybe even a POM issue… sorry I can’t be more helpful, but on the MyEclipse side, atleast I can tell you that it cannot resolve the resource reference, that is why it’s failing.

    As a quick check, you can run Maven from the command line and see if it pulls down the sources there?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Download SNAPSHOT version source jar is not working

You must be logged in to post in the forum log in