Hi Vinicius,
You have two options:
1. You can set up your own repository. Good news: it's quite simple. If you
have a web server or some public dir that's available via http, you can
mimic the structure of your local repository (look at ~/.maven/repository)
and recreate it in your public dir (with only the jars you need). Once
you've created it, you need to tell maven to look in your new repo, by
adding the "maven.repo.remote" to your ~/build.properties file, like this:
maven.repo.remote=http://www.ibiblio.org/maven,http://www.myserver.com/my_repo
If maven fails to find something in ibiblio, it will also look in your own
repo. neat eh? :) Look at http://maven.apache.org/using/repositories.html
and http://maven.apache.org/reference/internal-repositories.html for more
information.
2. If you don't have your own server, you can use the "jar override"
feature, documented at
http://maven.apache.org/using/managing-dependencies.html - this allows you
to specify that a certain dependency is located elsewhere, locally.
Have fun! :)
----- Original Message -----
From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 23, 2005 9:19 PM
Subject: newbie questions
Hello there. I'm creating my first project using maven. I have some good
experience with ant. So far It seems the COOLEST Project management
around.
I have a feel questions, simple ones I believe :D
1st. I have some libs not present on the ibiblio (jta, mail, activation,
concurrent-1.3.4) and my project depends on them, how do I set
dependencies for that?
2nd. When building a war file, how do I specify which aditional libs to
add? Those not found on the REPO?
Thanks and best regards
Vinicius
---------------------------------------------------------------------
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]