You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steve Garcia <sg...@media-publisher.com> on 2003/05/20 19:43:27 UTC

RE: newbie - local repository question

I have a similar question along this same topic line.  I defined my own local repository location in project.properties (maven.repo.local=c:/java/lib) which should override the default one at %MAVEN_HOME%/repository.
 
When I invoke some standard maven tasks, like compile/javadoc/site/ my jar artifacts are referenced in my local repository that I defined.  It's all good.  However when I tried using a Torque plugin, Torque's project.xml defined some dependencies that I didn't have and Maven downloaded them in the default %MAVEN_HOME%/repository that I overrode.  
 
This is a bug, right?
 
-----Original Message----- 
From: Rafal Krzewski [mailto:Rafal.Krzewski@caltha.pl] 
Sent: Tue 5/20/2003 4:46 AM 
To: Maven Users List 
Cc: 
Subject: Re: newbie



	Eric Cartman wrote:
	
	> Can anyone please answer this question:
	> (Sorry if this is obvious, but it confuses me a lot...)
	
	Hey, no worries, we don't bite (usually ;-))
	
	> Why is it that some jars file are placed in %MAVEN_HOME%/lib:
	> Shouldnt they all be referenced in the maven local repository ?
	
	Those are used by Maven's runtime - projects you build don't need to
	(and should not) know about those.
	
	R.
	
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
	For additional commands, e-mail: users-help@maven.apache.org
	
	


Re: newbie - local repository question

Posted by Emmanuel Venisse <ev...@ifrance.com>.
You must define maven.repo.local in build.properties in your ${user.home}.
With this, all your projects use the same repository.

Emmanuel

----- Original Message ----- 
Sent: Tuesday, May 20, 2003 7:43 PM
Subject: RE: newbie - local repository question


> I have a similar question along this same topic line.  I defined my own
local repository location in project.properties
(maven.repo.local=c:/java/lib) which should override the default one at
%MAVEN_HOME%/repository.
>
> When I invoke some standard maven tasks, like compile/javadoc/site/ my jar
artifacts are referenced in my local repository that I defined.  It's all
good.  However when I tried using a Torque plugin, Torque's project.xml
defined some dependencies that I didn't have and Maven downloaded them in
the default %MAVEN_HOME%/repository that I overrode.
>
> This is a bug, right?
>
> -----Original Message----- 
> From: Rafal Krzewski [mailto:Rafal.Krzewski@caltha.pl]
> Sent: Tue 5/20/2003 4:46 AM
> To: Maven Users List
> Cc:
> Subject: Re: newbie
>
>
>
> Eric Cartman wrote:
>
> > Can anyone please answer this question:
> > (Sorry if this is obvious, but it confuses me a lot...)
>
> Hey, no worries, we don't bite (usually ;-))
>
> > Why is it that some jars file are placed in %MAVEN_HOME%/lib:
> > Shouldnt they all be referenced in the maven local repository ?
>
> Those are used by Maven's runtime - projects you build don't need to
> (and should not) know about those.
>
> R.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: newbie - local repository question

Posted by Emmanuel Venisse <ev...@ifrance.com>.
You must define maven.repo.local in build.properties in your user_home

Emmanuel

----- Original Message ----- 
Sent: Tuesday, May 20, 2003 7:43 PM
Subject: RE: newbie - local repository question


> I have a similar question along this same topic line.  I defined my own
local repository location in project.properties
(maven.repo.local=c:/java/lib) which should override the default one at
%MAVEN_HOME%/repository.
>
> When I invoke some standard maven tasks, like compile/javadoc/site/ my jar
artifacts are referenced in my local repository that I defined.  It's all
good.  However when I tried using a Torque plugin, Torque's project.xml
defined some dependencies that I didn't have and Maven downloaded them in
the default %MAVEN_HOME%/repository that I overrode.
>
> This is a bug, right?
>
> -----Original Message----- 
> From: Rafal Krzewski [mailto:Rafal.Krzewski@caltha.pl]
> Sent: Tue 5/20/2003 4:46 AM
> To: Maven Users List
> Cc:
> Subject: Re: newbie
>
>
>
> Eric Cartman wrote:
>
> > Can anyone please answer this question:
> > (Sorry if this is obvious, but it confuses me a lot...)
>
> Hey, no worries, we don't bite (usually ;-))
>
> > Why is it that some jars file are placed in %MAVEN_HOME%/lib:
> > Shouldnt they all be referenced in the maven local repository ?
>
> Those are used by Maven's runtime - projects you build don't need to
> (and should not) know about those.
>
> R.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org