Having a file in your it directory called : invoker.properties
with the content : invoker.buildResult = failure

See 
http://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#invokerPropertiesFile

HTH,
-- 
Olivier
http://twitter.com/olamy
http://www.linkedin.com/in/olamy



2010/10/13 Anders Hammar <and...@hammar.net>:
> For a plugin I have a build case that I want to test that it fails. I'm
> using the m-invoker-p for my IT projects, but they normal case is that they
> should pass. Has anyone done such a test project which is verified that it
> fails?
>
> /Anders
>

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

Reply via email to