You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2014/04/11 22:54:00 UTC

Excluding the main compile class from the classpath in failsafe

Strange as it might seem, I need to exclude the main compiled artifact
from the classpath while running an integration test.

The integration test is testing a framework that has it's own way to
get the stuff into the classpath. Obviously, I want to keep the
_test_.

Will http://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html#classpathDependencyExcludes
allow me to exclude the main project artifact without losing the test
itself?

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