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 <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to