maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: -Dmaven.repo.local as a option to mvn
Date Thu, 05 Apr 2007 21:29:01 GMT
On Apr 5, 2007, at 2:21 PM, Jason van Zyl wrote:
> On 5 Apr 07, at 4:29 PM 5 Apr 07, Jason Dillon wrote:
>
>> A while ago I heard that the -Dmaven.repo.local property was  
>> deprecated and was going to be removed in the future.
>>
>
> The system property will not be used, but an option will be  
> available and is already support in the MavenExecutionRequest so  
> that for each invocation you can have a different local repository  
> being used. I added this for testing and we can expose it easily.  
> System properties are crap for embedding which is why it was  
> removed, the per request local repository option is a good thing.

Understood.  So, if we can add a flag to the cli to set the repo for  
the request that would be super.

  * * *

Related to -Dfoo=bar stuff though, wouldn't it be better for the cli  
to set those in some maven properties which could be attached to the  
request and not use system properties at all?

--jason


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message