You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Behrang Saeedzadeh <be...@gmail.com> on 2005/12/18 19:11:48 UTC

Re: WELCOME to users@maven.apache.org

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: WELCOME to users@maven.apache.org

Posted by Arik Kfir <ar...@gmail.com>.
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 <be...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
Regards,
    _____________________________________
    Arik Kfir                    arikkfir@gmail.com