RE: RE : Why download all those jars when Maven is first run?

2003-07-13 Thread Brett Porter
At present, yes it does, and I think it's a good idea.

I will get around to patching maven's startup to copy lib/* into the local
repo, but I haven't had the time recently. There is a maven issue for this
(I think 470?)

- Brett

-Original Message-
From: Bill Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, 14 July 2003 1:44 PM
To: Maven Users List
Subject: Re: RE : Why download all those jars when Maven is first run?


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" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE : Why download all those jars when Maven is first run?

2003-07-13 Thread Bill Lynch
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" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE : Why download all those jars when Maven is first run?

2003-07-09 Thread Ben Walding
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE : Why download all those jars when Maven is first run?

2003-07-09 Thread Dave Ford
> 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" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RE : Why download all those jars when Maven is first run?

2003-07-09 Thread Bill Lynch
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE : Why download all those jars when Maven is first run?

2003-07-09 Thread Andy Jefferson
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Why download all those jars when Maven is first run?

2003-07-09 Thread Dave Ford
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE : Why download all those jars when Maven is first run?

2003-07-09 Thread Nicolas FRANK
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:[EMAIL PROTECTED] 
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
/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]