Hi,

Assuming you are using Maven 2.0.x, you can add a "<scope>" element to
your dependency, like this:

<dependency>
  <groupId...
  <artifactId...
  <version...
  <scope>test</scope>
</dependency>

If you are using Maven 1.0.x I think you need to do this manually via
some jelly script hooking...

On 12/18/05, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I exclude certain JAR files (like those that are only needed
> during unit testing, say TestNG JARs, or for code generation, like
> XDoclet) from being added to my distribution ZIP file?
>
> --
> "Science is a differential equation. Religion is a boundary limit" - Alan 
> Turing
>
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa
> http://my.opera.com/behrangsa
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Regards,
    _____________________________________
    Arik Kfir                    [EMAIL PROTECTED]

Reply via email to