[ 
https://issues.apache.org/jira/browse/MNG-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555548#comment-17555548
 ] 

Tamás Cservenák commented on MNG-4481:
--------------------------------------

This is now supported in Resolver 1.8.1 (that will be shipped with Maven 
3.9.0+), see here 
https://maven.apache.org/resolver/local-repository.html#use-cases

> store snapshots in separate local repository
> --------------------------------------------
>
>                 Key: MNG-4481
>                 URL: https://issues.apache.org/jira/browse/MNG-4481
>             Project: Maven
>          Issue Type: New Feature
>          Components: Artifacts and Repositories, Settings
>         Environment: Maven 3
>            Reporter: Petr Kozelka
>            Priority: Major
>
> This feature could be activated by an option in settings, for instance:
> {code:xml}
> <settings>
>   
> <snapshotLocalRepository>${user.home}/.m2/snapshots</snapshotLocalRepository>
>   ...
> </settings>
> {code}
> This gives developer more control over snapshots which he typically produces 
> during build.
> One simple usecase is: drop all snapshots and make clean build (no ancient 
> snapshot dependencies will bass) - useful especially after changing module 
> identification.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to