[ 
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

        

Reply via email to