-DskipTests

is faster to type and will still compile the tests (catching compile errors)

whereas

-Dmaven.test.skip=true

will skip compiling the tests as well as executing them.

Usually you want to use -DskipTests

2009/7/3 hrbaer <[email protected]>:
>
>
> Lee Goddard wrote:
>>
>>
>> It is in the FAQ list:
>>
>> http://maven.apache.org/general.html#skip-test
>>
>> "How do I skip the tests?
>> "    Add the parameter -Dmaven.test.skip=true in the command line
>>
>
> Thank you!
> --
> View this message in context: 
> http://www.nabble.com/run-maven-without-tests-tp24319100p24319627.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to