Hey,

I am building a fat-jar bundling all dependencies using an Maven assembly 
plugin.  To ensure afterwards that this jar is tested I would like to run all 
its tests against the jar file.

I played around with the surefire:plugin and additionalClasspathElements plus 
testClassDirectory - without any significant success - at the moment I am using 
an maven-antrun plugin and utilising the junit task - BUT my maven build wont 
fail if I have an error in the junit task :-(.

Tried using errorproperty of the junit task and set the 
maevn.test.haltafterError property to true ... still the outcome of my maven 
build will be always successful even my junit task finds errors.  And because 
the maven build is successful my build server wont tell me that it has problems.

Anyone any idea ....

Thanks Perron
-- 
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to