[ http://jira.codehaus.org/browse/MSUREFIRE-151?page=all ]
Mark Holster updated MSUREFIRE-151:
-----------------------------------
Attachment: no-test-framework-patch.txt
The attached patch logs a warning if no test framework could be found and stops
executing surefire.
> 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
> Fix For: 2.3
>
> Attachments: error.txt, no-test-framework-patch.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