2012/8/21 Francesco Mari <[email protected]>: > I would like to run a build using an empty local repo to verify that all > artifacts are correctly deployed to the remote one. This includes not only > dependencies, but parent POMs too. > > I want to do this from time to time, and I don't want to delete the local > repo I use for all my other builds. This is why I was looking for a way to > specify a different repo from command line (or other similar ways).
-Dmaven.repo.local=/path/to/repo is your friend. > > -----Original Message----- > From: Barrie Treloar <[email protected]> > Date: Tue, 21 Aug 2012 09:18:17 > To: Maven Users List<[email protected]> > Reply-To: "Maven Users List" <[email protected]> > Subject: Re: Clean local repository > > On Mon, Aug 20, 2012 at 11:16 PM, Francesco Mari > <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
