The point is that I haven't found any reference to "maven.repo.local"
in Maven 2 & 3 documentation, so I am not sure if its use is safe.

2012/8/21 Olivier Lamy <[email protected]>:
> 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]

Reply via email to