You probably want to make sure you're running at least verision 2.11 of surefire. 2.12 is the latest.
Kristian 2012/5/14 Heinrichs, Dirk <[email protected]>: > Hi, > > I've just joined a project which is using Maven for its builds. When running > JUnit tests, the build fails if there is a build failure, but it does not > fail if there is a test error. > > I'm new to maven so I'd like to know wether this is expected behaviour or > not, and if there is a way to make it fail on test errors, too (I didn't find > anything in the documentation). > > Thanks... > > Dirk > -- > Dirk Heinrichs | Tel: +49 (0)211 56623 316 > Configuration Manager | Fax: +49 (0)211 56623 450 > Capgemini Deutschland | Mail: [email protected] > Wanheimerstraße 68 | Web: http://www.de.capgemini.com > D-40468 Düsseldorf | ICQ#: 110037733 > GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net > > Firma: Capgemini Deutschland GmbH > Geschäftsführer: Dr. Michael Schulte (Sprecher) • Dr. Uwe Dumslaff • Burkhard > Kehrbusch • Josef Ranner > Aufsichtsratsvorsitzender: Antonio Schnieder > Amtsgericht Berlin-Charlottenburg, HRB 98814 > > > > > > > This message contains information that may be privileged or confidential and > is the property of the Capgemini Group. It is > intended only for the person to whom it is addressed. If you are not the > intended recipient, you are not authorized to > read, print, retain, copy, disseminate, distribute, or use this message or > any part thereof. If you receive this message > in error, please notify the sender immediately and delete all copies of this > message. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
