You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas FRANK <nf...@financeactive.com> on 2003/07/09 16:47:41 UTC
RE : Why download all those jars when Maven is first run?
Maven (the core part) by itself doesn't download any jar (am I right ?), but
the plugins do... Which are depending on the repository libs (just like any
regular maven projects) to execute themselves.
-----Message d'origine-----
De : Dave Ford [mailto:dford@smart-soft.com]
Envoyé : mercredi 9 juillet 2003 16:36
À : Maven Users
Objet : Why download all those jars when Maven is first run?
Why does Maven download all of those jars the first time you run it, to build
it's repository? I can see the the jar files are already there, in
<MAVEN_HOME>/lib.
If Maven is going to re-download all of it's jars, why does it even include
them in it's lib folder?
Dave Ford
Smart Soft - The Developer Training Company http://www.smart-soft.com
---------------------------------------------------------------------
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
Re: Why download all those jars when Maven is first run?
Posted by Dave Ford <df...@smart-soft.com>.
The console status messages do not indicate who is doing the downloading
(plug-in or core) or why. It's definitely not a something a new user is
expecting.
1. Is there way to make that not happen?
2. Are the developers addressing this? Or do they consider this a user
friendly feature?
If Maven ships with plug-ins, shouldn't it include the plug-ins dependencies
in it's local repo as part of the stock install? The reason I'm asking is
that I want to start using Maven (instead of Ant) in my java training
workshops. And I like to start with a basic archive (maven-1.0-beta-9.zip)
and have the students install it and run it. But, I can't have that long
download on 12 PC all at the same time in the middle of class. Also, I like
to include all of the workshop's software on a CD ROM for those students
that don't have Internet Access at home.
Thanks.
Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : Why download all those jars when Maven is first run?
Posted by Ben Walding <de...@walding.com>.
This problem was raised in MAVEN-470
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-470
Anybody who wants to complete the changes is more than welcome to!
Bill Lynch wrote:
> Andy,
>
> Andy Jefferson wrote:
>
>> On Wed, 2003-07-09 at 15:47, Nicolas FRANK wrote:
>>
>>> Maven (the core part) by itself doesn't download any jar (am I right
>>> ?), but
>>> the plugins do... Which are depending on the repository libs (just
>>> like any
>>> regular maven projects) to execute themselves.
>>
>>
>> Is there any way to tell Maven to first look in a specified place
>> (directory) for the jars it needs before going off ?
>
>
> Yes - create a file called 'build.properties' in the dir where you're
> calling 'maven'. In there, put:
>
> maven.repo.local=path\\to\\your\\jars
>
> THat's on a windows filesystem - use / for unix/mac.
>
> Cheers,
> --Bill
>
>
> ---------------------------------------------------------------------
> 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
Re: RE : Why download all those jars when Maven is first run?
Posted by Bill Lynch <bi...@jivesoftware.com>.
Dave,
> Does the local repo have to have maven's special file structure? Can it be
> just a folder with a bunch of jars?
>
> c:\localRepo\ant-1.5.jar
>
> Or does it have to be like this:
>
> c:\localRepo\ant\jars\ant-1.5.jar
Hmm, not sure on that one (I'm still pretty new to Maven). I'd actually also
like to know the answer to this one. Anyone know?
Cheers,
--Bill
> ----- Original Message -----
> From: "Bill Lynch" <bi...@jivesoftware.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Wednesday, July 09, 2003 10:24 AM
> Subject: Re: RE : Why download all those jars when Maven is first run?
>
>
>
>>Andy,
>>
>>Andy Jefferson wrote:
>>
>>
>>>On Wed, 2003-07-09 at 15:47, Nicolas FRANK wrote:
>>>
>>>
>>>>Maven (the core part) by itself doesn't download any jar (am I right ?),
>
> but
>
>>>>the plugins do... Which are depending on the repository libs (just like
>
> any
>
>>>>regular maven projects) to execute themselves.
>>>
>>>Is there any way to tell Maven to first look in a specified place
>>>(directory) for the jars it needs before going off ?
>>
>>
>>THat's on a windows filesystem - use / for unix/mac.
>>
>>Cheers,
>>--Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : Why download all those jars when Maven is first run?
Posted by Dave Ford <df...@smart-soft.com>.
> Yes - create a file called 'build.properties' in the dir where you're
> calling 'maven'. In there, put:
>
> maven.repo.local=path\\to\\your\\jars
Does the local repo have to have maven's special file structure? Can it be
just a folder with a bunch of jars?
c:\localRepo\ant-1.5.jar
Or does it have to be like this:
c:\localRepo\ant\jars\ant-1.5.jar
Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com
----- Original Message -----
From: "Bill Lynch" <bi...@jivesoftware.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Wednesday, July 09, 2003 10:24 AM
Subject: Re: RE : Why download all those jars when Maven is first run?
> Andy,
>
> Andy Jefferson wrote:
>
> > On Wed, 2003-07-09 at 15:47, Nicolas FRANK wrote:
> >
> >>Maven (the core part) by itself doesn't download any jar (am I right ?),
but
> >>the plugins do... Which are depending on the repository libs (just like
any
> >>regular maven projects) to execute themselves.
> >
> > Is there any way to tell Maven to first look in a specified place
> > (directory) for the jars it needs before going off ?
>
>
> THat's on a windows filesystem - use / for unix/mac.
>
> Cheers,
> --Bill
>
>
> ---------------------------------------------------------------------
> 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
Re: RE : Why download all those jars when Maven is first run?
Posted by Bill Lynch <bi...@jivesoftware.com>.
Andy,
Andy Jefferson wrote:
> On Wed, 2003-07-09 at 15:47, Nicolas FRANK wrote:
>
>>Maven (the core part) by itself doesn't download any jar (am I right ?), but
>>the plugins do... Which are depending on the repository libs (just like any
>>regular maven projects) to execute themselves.
>
> Is there any way to tell Maven to first look in a specified place
> (directory) for the jars it needs before going off ?
Yes - create a file called 'build.properties' in the dir where you're
calling 'maven'. In there, put:
maven.repo.local=path\\to\\your\\jars
THat's on a windows filesystem - use / for unix/mac.
Cheers,
--Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : Why download all those jars when Maven is first run?
Posted by Andy Jefferson <an...@ajsoft.net>.
On Wed, 2003-07-09 at 15:47, Nicolas FRANK wrote:
> Maven (the core part) by itself doesn't download any jar (am I right ?), but
> the plugins do... Which are depending on the repository libs (just like any
> regular maven projects) to execute themselves.
Is there any way to tell Maven to first look in a specified place
(directory) for the jars it needs before going off ?
On my system I have many of the packages that it needed (for other
purposes) but it insisted on going off and getting them anyway and
installing in its space - hence I now have multiple copies(!)
--
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org