Re: Local repository and problem with downloading parent
On 07 Feb 2009, Johannes Schneider wrote: > Now I try to switch to "isolated local repositories". Therefore I call > "mvn compile -Dmaven.repo.local=". > Unfortunately that still downloads the parent pom to "~/.m2/repository" > and not to my isolated local repo... Works for me with maven 2.0.9 as expected. What version are you using? hth, - martin signature.asc Description: PGP signature
RE: Local repository and problem with downloading parent
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 c:\repository 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: maili...@cedarsoft.com > > To: users@maven.apache.org > > 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=". > > Unfortunately that still downloads the parent pom to "~/.m2/repository" > > and not to my isolated local repo... > > > > > > > > Regards, > > > > Johannes Schneider > > > > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > _ > Windows Live™: Keep your life in sync. > http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Local repository and problem with downloading parent
specify c:\repository 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: maili...@cedarsoft.com > To: users@maven.apache.org > 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=". > Unfortunately that still downloads the parent pom to "~/.m2/repository" > and not to my isolated local repo... > > > > Regards, > > Johannes Schneider > > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009