> 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?


The 'right way' is probably to setup your own remote repository. I did so 
for sun jar's I needed that were not available at ibiblio. If the unique 
jar's don't follow the version naming convention, then use the <jar> tag to 
specify the jar name. Here is my example:
<dependency>
<groupId>sun</groupId>
<artifactId>j2ee</artifactId>
<jar>j2ee.jar</jar>
</dependency> 


You can also 'hack it' by putting it in your local repository too 
(~/.maven/repository)

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


Same as usual dependency declaration just set the war.bundle property = 
true. See the docs for the war plugin. (
http://maven.apache.org/reference/plugins/war/)

Good luck

Reply via email to