You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Nine <to...@gmail.com> on 2006/04/10 16:08:20 UTC
Question about skipping tests
Hi all,
I need to perform a build without executing any of the unit tests. While
I know this is a horrible practice, I am migrating our existing ant builds
to maven2, most of them have old unit tests that were not updated, and as a
result will fail. I need to perform the 1.0.0 release now to migrate to
maven 2 with the current production code, then in 1.0.1-SNAPSHOT fix the
unit tests. I have tried both -Dmaven.test.failure.ignore=true and -
Dmaven.test.skip=true, neither work and the tests are executed, so
release:prepare fails. Short of excluding every unit test in the pom is
there any other way to disables the tests?
Todd