Test fails but build successful - how is this possible?
We have a situation where the tests in one module produce one error. However, the build of this module, and the whole project, is nevertheless considered successful. Any ideas how this is possible? We are using Maven 2.1. Cheers, Peter -- View this message in context: http://www.nabble.com/Test-fails-but-build-successful---how-is-this-possible--tp25021541p25021541.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Test fails but build successful - how is this possible?
The Surefire plugin has one parameter that, if set to true, can force Maven not to if the tests have failed. Jeff MAURY On Tue, Aug 18, 2009 at 11:41 AM, Peter Niederwieser pnied...@gmail.comwrote: We have a situation where the tests in one module produce one error. However, the build of this module, and the whole project, is nevertheless considered successful. Any ideas how this is possible? We are using Maven 2.1. Cheers, Peter -- View this message in context: http://www.nabble.com/Test-fails-but-build-successful---how-is-this-possible--tp25021541p25021541.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- La mélancolie c’est communiste Tout le monde y a droit de temps en temps La mélancolie n’est pas capitaliste C’est même gratuit pour les perdants La mélancolie c’est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c’est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal
Re: Test fails but build successful - how is this possible?
You mean testFailureIgnore? We definitely don't set this, not even in a parent POM. jeffma...@jeffmaury.com wrote: The Surefire plugin has one parameter that, if set to true, can force Maven not to if the tests have failed. Jeff MAURY On Tue, Aug 18, 2009 at 11:41 AM, Peter Niederwieser pnied...@gmail.comwrote: We have a situation where the tests in one module produce one error. However, the build of this module, and the whole project, is nevertheless considered successful. Any ideas how this is possible? We are using Maven 2.1. Cheers, Peter -- View this message in context: http://www.nabble.com/Test-fails-but-build-successful---how-is-this-possible--tp25021541p25021541.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- La mélancolie c’est communiste Tout le monde y a droit de temps en temps La mélancolie n’est pas capitaliste C’est même gratuit pour les perdants La mélancolie c’est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c’est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal -- View this message in context: http://www.nabble.com/Test-fails-but-build-successful---how-is-this-possible--tp25021541p25021931.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Test fails but build successful - how is this possible?
Yes, this was the parameter I was thinking about ? Maven issue ? Can you run in trace mode to make sure there is no side effect ? Jeff MAURY On Tue, Aug 18, 2009 at 12:09 PM, Peter Niederwieser pnied...@gmail.comwrote: You mean testFailureIgnore? We definitely don't set this, not even in a parent POM. jeffma...@jeffmaury.com wrote: The Surefire plugin has one parameter that, if set to true, can force Maven not to if the tests have failed. Jeff MAURY On Tue, Aug 18, 2009 at 11:41 AM, Peter Niederwieser pnied...@gmail.comwrote: We have a situation where the tests in one module produce one error. However, the build of this module, and the whole project, is nevertheless considered successful. Any ideas how this is possible? We are using Maven 2.1. Cheers, Peter -- View this message in context: http://www.nabble.com/Test-fails-but-build-successful---how-is-this-possible--tp25021541p25021541.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- La mélancolie c’est communiste Tout le monde y a droit de temps en temps La mélancolie n’est pas capitaliste C’est même gratuit pour les perdants La mélancolie c’est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c’est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal -- View this message in context: http://www.nabble.com/Test-fails-but-build-successful---how-is-this-possible--tp25021541p25021931.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- La mélancolie c’est communiste Tout le monde y a droit de temps en temps La mélancolie n’est pas capitaliste C’est même gratuit pour les perdants La mélancolie c’est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c’est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal