Hi,

It's very bad practice, but it's actually handy sometimes.
Add -DskipTests on the command line when you want to disable tests for an
execution.

I hope you're not doing it when you want to provide the corresponding jar to
someone else. You should only do that for example when you KNOW the tests
are passing and you're doing an internal test for you.

Cheers.

2010/5/26 A. Fuat Sungur <[email protected]>

> Hi,
>
> i am new user of maven and i confess that i like it. its Very handy tool .
> i
> have a question, building a jar file takes too much time because of junit
> test are being performed. how can i build a jar file without doing junit
> test?
>
> thanks
>
> --
> A.Fuat Sungur
> http://sungur.wordpress.com
>



-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to