mv ~/.m2/repository ~/.m2/repository.bak
mvn verify
rm -rvf ~/.m2/repository
mv ~/.m2/repository.bak ~/.m2/repository

That is the easiest with least risk of throwing away and custom deps that
you have installed locally and want to ensure they are deployed to your
repo manager

On Tuesday, 21 August 2012, Barrie Treloar wrote:

> On Mon, Aug 20, 2012 at 11:16 PM, Francesco Mari
> <mari.france...@gmail.com <javascript:;>> wrote:
> > Hi,
> >
> > I would like to launch a build using a clean local repository. I have
> > already tried the following solutions:
>
> Why?
> What are you hoping to achieve?
>
> The easiest is to delete your ~/.m2/repository directory, but you
> discount that option.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-h...@maven.apache.org<javascript:;>
>
>

Reply via email to