You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Phil Webb (JIRA)" <ji...@codehaus.org> on 2011/05/18 15:50:22 UTC

[jira] Updated: (MNG-5037) Download only snapshot artefacts in local repo and not timestamped jars

     [ http://jira.codehaus.org/browse/MNG-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Webb updated MNG-5037:
---------------------------

    Attachment: aether-nolocaltimestamps.zip

Attached is an extension that gets around this problem.  Unzip the file, build with Maven then drop target/aether-nolocaltimestamps-1.11.jar in $M2_HOME/lib/ext

The extension replaces the default EnhancedLocalRepositoryManager with a version that uses artifact.getBaseVersion() rather than artifact.getVersion().  The same change could be applied directly to EnhancedLocalRepositoryManager if it is acceptable.


> Download only snapshot artefacts in local repo and not timestamped jars
> -----------------------------------------------------------------------
>
>                 Key: MNG-5037
>                 URL: http://jira.codehaus.org/browse/MNG-5037
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0.3
>            Reporter: Yann Albou
>         Attachments: aether-nolocaltimestamps.zip
>
>
> Since Maven 3 the local repository contains timestamped jars.
> With Maven 2 because of the option uniqueVersion to false the local repo is not full of timestamped jars. The support for this option has been removed in mvn 3 which I understand for the upload in the remote repo. But for the local repo it should be possible to only download the snapshots...
> See thread: http://maven.40175.n5.nabble.com/Issue-with-mvn3-timestamp-snapshots-being-downloaded-in-local-repository-td3408008.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira