You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Johannes Schneider <ma...@cedarsoft.com> on 2009/02/07 20:33:33 UTC
Local repository and problem with downloading parent
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Local repository and problem with downloading parent
Posted by Martin Höller <ma...@xss.co.at>.
On 07 Feb 2009, Johannes Schneider wrote:
> 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...
Works for me with maven 2.0.9 as expected. What version are you using?
hth,
- martin
RE: Local repository and problem with downloading parent
Posted by Johannes Schneider <ma...@cedarsoft.com>.
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: mailings@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=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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Local repository and problem with downloading parent
Posted by Martin Gainty <mg...@hotmail.com>.
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: mailings@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=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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009