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]



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:
dependencies
dependency
  idlog4j/id
  version/version
  jarlog4j.jar/jar
/dependency
...
/dependencies

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]