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]