Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348211

Summary: maven.test.failure.ignore not checked for in TestMojo
Product: z_Archived Reporter: Tobias Oberlies <t-oberlies>
Component: TychoAssignee: Tobias Oberlies <t-oberlies>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mail
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Tobias Oberlies CLA 2011-06-03 10:15:32 EDT
This is a proxy for the issue originally reported as https://issues.sonatype.org/browse/TYCHO-333

It is requested that test failures do not lead to a failing build if the property maven.test.failure.ignore is set. This is typically needed when running a Tycho build from a CI server.
Comment 1 Tobias Oberlies CLA 2011-06-03 11:21:34 EDT
I applied the patch by committer Jan Sievers [1] (which was attached to TYCHO-333) with minor fixes to make the integration test project build as expected -> 8a65e15

After verifying the patch, I removed the test project (cace36d). IMHO this feature is so unlikely to break that I don't see the need for yet another integration test that takes more than 10 seconds to execute.

[1] https://issues.sonatype.org/secure/attachment/19513/0001-TYCHO-333-add-support-for-maven.test.failure.ignore.patch
Comment 2 Marc Philipp CLA 2011-06-03 13:15:19 EDT
Thank you Tobias, we have been waiting on this one! :-)