-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe Germuska wrote:
|> I've just begun to use maven for building.  For jars that are in
|> ibiblio/maven, it's really nice.  Sometimes I need a jar that isn't
|> hosted there.  For instance, we're using tomcat 5.0.18, and it's ant
|> deployer integration.
|>
|> What is a good practice for when a jar is not hosted by ibiblio?  Also,
|> does anyone know if the new tomcat 5.0.18 (and especially
|> catalina-deployer.jar) will be released or where?
|
|
| We have set up a local repository, and include it in the
| project.properties file for each project:
|
| maven.repo.remote=http://our.local/repository,http://www.ibiblio.org/
| maven
|
| Set up the local repository using the same structure as iBiblio or your
| local Maven repo -- in fact, I seeded ours with the JARs I had already
| downloaded from iBiblio, as a cheap way of making a kind of mirror.

Thanks for your quick and helpful response!

I was guessing I'd have to host locally.  That part seems easy.  My next
question, though, is how do you declare the dependencies?

For instance, if catalina-deployer.jar requires foobar-1.1.jar, how do
you specify that?  I don't want to manage that relationship in my
project.xml.  I want maven to download catalina-deployer-5.0.18.jar from
my local repo, realize that it needs foobar-1.1.jar, and get that too.

Is there an easy way to set that up? How do you handle it?

Again, I really appreciate the tips,
Seth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAGBeW5EIB1scRes8RAszpAJ9qOqwdLkpT4+wrUzy8L4lPpyhvUQCfQaWc
epYu68jkhU/yZP1R/TLeEnI=
=94kB
-----END PGP SIGNATURE-----


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



Reply via email to