You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vi...@massol.net> on 2006/08/22 16:32:35 UTC
2 questions on custom lifecycle xml file
Hi,
I'm working on the clover plugin and I'd like to ensure any failing test
does not stop the build. Of course this should work independently to which
phase the user has attached the surefire plugin to. Right now I've added the
following to cargo's lifecycle.xml file:
<lifecycles>
<lifecycle>
<id>clover</id>
[...]
<phase>
<id>test</id>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</phase>
<phase>
<id>integration-test</id>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</phase>
</phases>
</lifecycle>
</lifecycles>
As you can this is not optimal for 2 reasons:
1) It covers only 2 phases and if the user decides to bind the surefire
plugin to another phase it won't work. Or I'll need to add the
testFailureIgnore configuration for all possible phases.
2) The testFailureIgnore property is not namespaced. If some other plugin
have the same property it'll impact it.
Are there ways to solve 1) and 2)?
Thanks a lot
-Vincent
p5.vert.ukl.yahoo.com uncompressed Tue Aug 22 14:27:00 GMT 2006
___________________________________________________________________________
D�couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/R�ponses pour partager vos connaissances, vos opinions et vos exp�riences.
http://fr.answers.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org