[
https://jira.codehaus.org/browse/SUREFIRE-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288729#comment-288729
]
Kristian Rosenvold commented on SUREFIRE-819:
---------------------------------------------
Please test 2.12-SNAPSHOT, there is a bugfix for a similar categeory of problem
already.
> Surefire 2.11 fails if useManifestOnlyJar is false
> --------------------------------------------------
>
> Key: SUREFIRE-819
> URL: https://jira.codehaus.org/browse/SUREFIRE-819
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.11
> Reporter: Scott Carey
>
> When I tried to upgrade Avro
> (http://svn.apache.org/repos/asf/avro/trunk/lang/java) from surefire 2.10 to
> 2.11, I found that every single test failed. They all fail with
> initializationErrors such as
> {quote}
>
> initializationError(org.apache.avro.io.parsing.TestResolvingGrammarGenerator):
> Test class should have exactly one public zero-argument constructor
>
> initializationError(org.apache.avro.io.parsing.TestResolvingGrammarGenerator):
> No runnable methods
> {quote}
> These are valid JUnit 4 type tests that run fine with 2.10. We have JUnit
> 4.10 in our test scope.
> If I change useManifestOnlyJar to true, it works. Unfortunately one of our
> tests will not function with the manifectOnlyJar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira