Add to purge-local-repository goal ability to clean only snapshots
------------------------------------------------------------------
Key: MDEP-331
URL: https://jira.codehaus.org/browse/MDEP-331
Project: Maven 2.x Dependency Plugin
Issue Type: New Feature
Components: purge-local-repository
Affects Versions: 2.3
Environment: win32,unix
Reporter: Hrabur Trndafilov
Assignee: Brian Fox
Attachments: snapshots-only.patch
Hi,
In order to build a pipelined build where the downstream builds use the
upstream artifacts we need to clean the SNAPSHOT versions (the downstream
depends on) from the local repository and always download them from the
internal Maven repository.
To achieve this it would be very useful to have possibility to tell
purge-local-repositiry goal to clean only the SNAPSHOT dependencies, something
like snapshotsOnly parameter.
A patch with the fix we use locally is attached.
Thanks,
Hrabur
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira