If you want to have a jar with reusable test-classes, you have to create a 
separate project for it.

 

 

http://rfscholte.wordpress.com/2010/09/05/how-to-create-a-jar-containing-reusableabstract-testclasses-with-maven/

 

 

-Robert

 

----------------------------------------
> Date: Tue, 16 Aug 2011 12:54:54 -0700
> Subject: maven-assembly-plugin for test?
> From: teddyyyy...@gmail.com
> To: users@maven.apache.org
>
> I could use jar:test-jar to generate a jar for my test cases,
>
> but it lacks the dependencies
>
> is there a way to let maven-assembly-plugin generate a
> jar-with-dependencies for test classes?
>
> I looked into 
> http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html
> nothing seems related to this
>
> Thanks
> Yang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>                                         
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to