Patch: Cartridge Test plugin no longer ignores the surefire
maven.test.failure.ignore configuration parameter
-------------------------------------------------------------------------------------------------------------
Key: MAVEN-67
URL: http://jira.andromda.org/browse/MAVEN-67
Project: Maven Plugins
Type: New Feature
Components: Cartridge
Environment: AndroMDA 3.4-SNAPSHOT, maven 2.0.4 through 2.0.9
Reporter: Bob Fields
Assigned to: Chad Brandon
Priority: Minor
Cartridge Test plugin ignores the standard maven.test.failure.ignore setting
for the surefire plugin as described in
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html. I don't
want to fix each individual cartridge expected vs. actual output if I have a
bunch of patches I am building locally, just to update the expected output zip
file. This update allows -Dmaven.test.failure.ignore=true to be specified when
building AndroMDA from either the command line or pom.xml configuration.
Default is still false. The build plugin configuration
<testFailureIgnore>true</testFailureIgnore> also works.
I was unable to get the command line -DtestFailureIgnore to work, and the
command line -Dmaven.test.failure.ignore does not override the pom.xml
configuration, but does override the default 'false' when there is no pom.xml
configuration. Sorry I'm not a maven expert, I can't figure out what else to do
in addition to the standard Mojo parameter configuration to get this to work,
but at least it works with the maven.test.failure.ignore parameter.
BTW this was against 3.4-SNAPSHOT, but that option is not available in the list
of Affected Versions in JIRA.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php