You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Moretti, Luciano (MED)" <Lu...@med.ge.com> on 2003/06/23 17:20:08 UTC

Forcing jar creation with a Junit Failure.

While I know it's not the best-
is there a way to create a Jar if the junit tests fail?  All the [jar]
goals seem to use junit as a prereq.

Luciano Moretti


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Forcing jar creation with a Junit Failure.

Posted by Ben Walding <be...@walding.com>.
 From the reference (which doesn't appear to be loaded onto the site at 
the moment)

maven.test.skip - Set this to 'true' to bypass unit tests entirely.  Its 
use is <b>NOT RECOMMENDED</b>, but quite convenient on occasion.

maven.test.failure.ignore - Set this to any value to ignore a failure 
during testing. Its use is <b>NOT RECOMMENDED</b>, but quite convenient 
on occasion.


I've added this to the FAQ and updated the test plugin documentation. 
Just need someone to republish plugin documentation.

Moretti, Luciano (MED) wrote:

>While I know it's not the best-
>is there a way to create a Jar if the junit tests fail?  All the [jar]
>goals seem to use junit as a prereq.
>
>Luciano Moretti
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org