maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Fay" <>
Subject Re: Deploying to snapshot repository: controlling accretion
Date Tue, 09 Jan 2007 18:59:40 GMT
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.


On 1/9/07, Steven E. Harris <> wrote:
> Rahul Thakur <> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message