This functionality is available in maven-dependency-plugin: http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html
I'm not sure what release has this mojo, so you may need to use a SNAPSHOT if it isn't available in a released version yet. Wayne On 4/9/07, R. Chase <[EMAIL PROTECTED]> wrote:
It doesn't appear that there is anything in maven 2. The only thing I could find was for maven 1.x. And that was the "repository:delete-project" goal which you could delete something from the repo by group id and what not. You could build a plugin for this or even add an ant task to your build process to handle this case. Ryan Phill Moran wrote: > You have tried mvn -clean right? > > -----Original Message----- > From: Baz [mailto:[EMAIL PROTECTED] > Sent: April 9, 2007 12:14 PM > To: Maven Users List > Subject: Cleaning up the m2 repo? > > All, > > Is there a way to code the m2 goal so that it can clean specific parts of the m2 > repo? For example, delete m2/repository/com/aaa directory? > or even clean up everything? > > Thanks. > > B. > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- 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]
