maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <>
Subject Re: -Dmaven.repo.local as a option to mvn
Date Thu, 05 Apr 2007 21:21:41 GMT

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.


> This flag is super handy and I think that it should stay... and  
> more so I think that it is so useful that it should be promoted to  
> a flag on mvn, like -R, --repository.
> I use -Dmaven.repo.local all of the time to verify builds from  
> release repo zips or to quickly test the build-ability of a project  
> with a clean repo, w/o nuking my normal cache.
> It would be a PITA to have to make a settings.xml file each time I  
> wanted to simply use a new repo location.
> Can we please keep -Dmaven.repo.local around permanently, and  
> really... replace it with -R, --repository flags to the mvn cli?
> --jason
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message