Sorry, I have to take back my statement, it is not fixed in version 2.2 (the latest release). At the time it was released this was already an issue and I was always convinced, the test classes have precedence now.
Jörg Schaible wrote on Thursday, September 21, 2006 3:51 PM: > Detlef Brendle wrote on Thursday, September 21, 2006 3:26 PM: > >> Hello, >> >> when executing the surefire plugin my unit tests are executed. >> Unfortunately they do run as I expect them to run. >> The thing is that the classpath looks like: >> >> >> ils\1.1\plexus-utils-1.1.jar >> [DEBUG] Test Classpath : >> [DEBUG] E:\develop\frontnet\NPG\target\classes >> [DEBUG] E:\develop\frontnet\NPG\target\test-classes [DEBUG] >> C:\Documents and >> Settings\detlef\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar >> [DEBUG] C:\Documents and >> Settings\detlef\.m2\repository\ant\ant-xalan1\1.6.3\ant-xalan1 >> -1.6.3.jar [DEBUG] E:\develop\frontnet\NPG\lib\qmbridge-3.1.jar >> [DEBUG] C:\Documents and >> Settings\detlef\.m2\repository\ant\ant\1.6.3\ant-1.6.3.jar [DEBUG] >> C:\Documents and >> > Settings\detlef\.m2\repository\crimson\crimson\1.1.3\crimson-1.1.3.jar >> [DEBUG] C:\Documents and >> Settings\detlef\.m2\repository\ant\ant-trax\1.6.3\ant-trax-1.6.3.jar >> [DEBUG] C:\Documents and >> Settings\detlef\.m2\repository\xerces\xercesImpl\2.8.0\xercesI >> mpl-2.8.0.jar [DEBUG] C:\Documents and >> Settings\detlef\.m2\repository\xml-apis\xml-apis\1.3.03\xml-ap >> is-1.3.03.jar [DEBUG] C:\Documents and >> > Settings\detlef\.m2\repository\log4j\log4j\1.2.13\log4j-1.2.13.jar >> >> >> I expected that the test classes will be listed prior to my >> productive classes - i.e. 'test-classes' and then 'classes'. >> Can I overwrite this in any way ? Or is that the correct behaviour ? > > This is fixed. Update the surefire plugin to the latest > release, run once with "mvn -U test". > > - Jörg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]