[ https://jira.codehaus.org/browse/SUREFIRE-819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288870#comment-288870 ]
Scott Carey commented on SUREFIRE-819: -------------------------------------- Is there a surefire snapshot repository? Or do I have to check out and build it? If there is a snapshot repository, I can check that quickly and report back. If not it will be a few weeks before I can get to it. > 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