I thought setting the system property "maven.repo.local" does exactly
the same...


Regards,

Johannes

On Sat, 2009-02-07 at 21:59 -0500, Martin Gainty wrote:
> specify <localRepository>c:\repository</localRepostory> node in settings.xml 
> e.g.
> http://ericlefevre.net/wordpress/2007/02/21/changing-maven-local-repository/
> 
> Viel Gluck
> Martin 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official 
> business of Sender. This transmission is of a confidential nature and Sender 
> does not endorse distribution to any party other than intended recipient. 
> Sender does not necessarily endorse content contained within this 
> transmission. 
> 
> 
> 
> 
> > Subject: Local repository and problem with downloading parent
> > From: [email protected]
> > To: [email protected]
> > Date: Sat, 7 Feb 2009 20:33:33 +0100
> > 
> > Hi,
> > 
> > I encountered the following problem. Would be great if anyone could try
> > to reproduce this or give me a hint, what I am doing wrong.
> > 
> > I have a project that has a parent that is located in the Maven central
> > repository (e.g. com.cedarsoft:open:1.0.2).
> > When building, that parent is downloaded as expected.
> > 
> > Now I try to switch to "isolated local repositories". Therefore I call
> > "mvn compile -Dmaven.repo.local=xxxx".
> > Unfortunately that still downloads the parent pom to "~/.m2/repository"
> > and not to my isolated local repo...
> > 
> > 
> > 
> > Regards,
> > 
> > Johannes Schneider
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> 
> _________________________________________________________________
> Windows Live™: Keep your life in sync. 
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to