RE: jars download

2003-07-07 Thread Todd Feather
Hi Kristine,

There's a couple of different ways to do this. You could create a local
repository running on some http server.

I found it a bit quicker to just create your dependencies and then
*override* them in the project.properties file. This is in the
documentation for using Maven, I believe.

Project.xml:


  log4j
  
  log4j.jar

...


Project.properties:

distDir=c:/working_new/working/dist
maven.jar.override = on
maven.jar.log4j = ${distDir}/log4j.jar

I hope that gets you going.

Cheers,

Todd


-Original Message-
From: Kristine Weissbarth [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2003 9:50 AM
To: Maven Users List
Subject: jars download


hi,

please can anybody answer me? Is maven always downloading the jars from
ibiblio? How can I declare jars that cannot be found on ibiblio? I
specified an url within the dependency tag which refers to the download
site of the jar but maven still tries to download it from ibiblio and
fails. What should I do?

Thanks.


-
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: jars download

2003-07-07 Thread Chris Winters
Kristine Weissbarth wrote:
please can anybody answer me? Is maven always downloading the jars from
ibiblio? How can I declare jars that cannot be found on ibiblio?
I specified an url within the dependency tag which refers to the
download site of the jar but maven still tries to download it from
ibiblio and fails. What should I do?
I recently went through this as well: you can setup a local 
repository with nondistributable JARs. In the 'project.properties' 
file (or any of the other entries listed in the user guide [1]), add 
a line like this:

maven.repo.remote=http://mycompany.com/maven/,http://www.ibiblio.org/maven/

where 'http://mycompany.com/maven/' is a local webserver and path 
where you've copied your nondistributable JAR files.

Good luck!

Chris

[1] http://maven.apache.org/reference/user-guide.html#Maven%20Setup

--
Chris Winters ([EMAIL PROTECTED])
Senior Software Architect
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


jars download

2003-07-07 Thread Kristine Weissbarth
hi,

please can anybody answer me? Is maven always downloading the jars from
ibiblio? How can I declare jars that cannot be found on ibiblio?
I specified an url within the dependency tag which refers to the
download site of the jar but maven still tries to download it from
ibiblio and fails. What should I do?

Thanks.


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