Submitting an RFE in JIRA for this is the right approach.
However, realize that your RFE has the best chance of actually being implemented in Maven if you do the grunt (code and test) work and then contribute it for future versions of the deploy plugin. And of course not everyone will want to use this "feature" or might want to keep varying numbers of old snapshots so you'll want to add some configuration etc. Wayne On 1/9/07, Steven E. Harris <[EMAIL PROTECTED]> wrote:
Rahul Thakur <[EMAIL PROTECTED]> writes: > I am not sure about anyway to clean up old snapshot version except > for manual purge. But note that would render the metadata.xml out of > sync. Right, but my assumption is that this purging would happen when Maven is deploying a new version, so it would have to rewrite the metadata files anyway. The process I'm after would look something like this, keeping only, say, the most recent three versions: for f in `ls -t *.pom | sed -e '1,3d; s/\.pom$//'`; do rm $f.pom{,.md5,.sha1} $f.jar{,.md5,.sha1}; done with the metadata files updated to match. Should I submit a JIRA issue as a request for enhancement? -- Steven E. Harris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]