[ http://jira.codehaus.org/browse/MSUREFIRE-151?page=comments#action_70810 ] David J. M. Karlsen commented on MSUREFIRE-151: -----------------------------------------------
Did you provide another supported test-framework like testNG on [at lease] the test scope? AFAIK it's not possible to utilize surefire without one of these frameworks and something to actually test (e.g. resources would have to be tested through use of one of these) > Surefire plugin fails if JUnit is not available > ----------------------------------------------- > > Key: MSUREFIRE-151 > URL: http://jira.codehaus.org/browse/MSUREFIRE-151 > Project: Maven 2.x Surefire Plugin > Issue Type: Bug > Affects Versions: 2.2 > Reporter: Simon Kepp Nielsen > Priority: Critical > Attachments: error.txt > > > The Surefire Plugin fails with the following message, if JUnit is not > available on the test classpath: > [INFO] No Java test frameworks found > This means, that you have to include JUnit in the classpath, even for > projects that do not have any unit-tests (e.g. ressource projects or your > first Hello World project). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira