Details
-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Maven Plugin
-
Labels:None
-
Environment:Maven 2
-
Number of attachments :
Description
Please add the ability to specify a system property for the Mojo to ignore failures.
In our environment we have a QA department who require the final artifact (installer) even though jbehave and junit tests fail. If our continuous build environment doesn't complete the build because of a test failure, then these people cannot test the product.
Why not just change the pom.xml? Because our development department depends on it failing.
Why not just create a profile? We have many projects and the administration in getting profiles created is much more effort than just using a system property.
Normally I would just send a patch, but corporate life eats my time like the cookie monster.
Can you use command-line properties, e.g. mvn install -Dignore.failure=true?
If so you can easily configure the Maven plugins to use these to override the default behaviour.