On 5/24/05, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote:
> 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?

Put them in your local repository, same as the ones Maven downloads,
and declare them as dependencies in your pom. Eg.
~/.maven/repository/concurrent/jars/concurrent-1.3.4.jar, and then in
your pom:
<dependency>
  <groupId>concurrent</groupId>
  <artifactId>concurrent</artifactId>
  <version>1.3.4</version>
</dependency>

> 2nd. When building a war file, how do I specify which aditional libs to
> add? Those not found on the REPO?

In your dependencies:
  <properties>
    <war.bundle>true</war.bundle>
  </properties>

http://maven.apache.org/reference/index.html

--
Kristian

> 
> Thanks and best regards
> 
> Vinicius

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

Reply via email to