> -----Original Message-----
> From: Tom Huybrechts [mailto:[EMAIL PROTECTED] 
==////==
> 
> -Dmaven.repo.local=...
> 
> On 11/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Unfortunately, in Maven 2.0.4 this system property does not work to
override
the default local repository location. e.g.

% mvn -Dorg.apache.maven.user-setting=~/ptsp/m2/settings.xml
-Dmaven.repo.local=~/ptsp/m2/repository -X compile


> > Hi All
> >
> > Is there a property to define the location of the Maven local 
> > repository?
> >
> > Reading the notes from the installation configuration 
> ``settings.xml''
> > in the
> > ``<MAVEN_INSTALL_DIR>/conf''. There are two system properties
> >
> >  |  1. User Level. This settings.xml file provides 
> configuration for a 
> > single user,
> >  |                 and is normally provided in 
> $HOME/.m2/settings.xml.
> >  |
> >  |                 NOTE: This location can be overridden 
> with the system
> > property:
> >  |
> >  |
> > -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
> >  |
> >  |  2. Global Level. This settings.xml file provides 
> configuration for 
> > all maven
> >  |                 users on a machine (assuming they're all 
> using the
> > same maven
> >  |                 installation). It's normally provided in
> >  |                 ${maven.home}/conf/settings.xml.
> >  |
> >  |                 NOTE: This location can be overridden 
> with the system
> > property:
> >  |
> >  |
> > -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
> >
> >
> > Is there an equivalent system property to set the location of the 
> > local repository?
> >
> > If it exists I would like to specify it on the command line 
> in order 
> > to generate a build on a severly isolated machine.
> >
> > Alternatively can Maven settings.xml substitute system properties?

==////==

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to