You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Scott Carey (JIRA)" <ji...@codehaus.org> on 2012/02/06 20:39:02 UTC

[jira] (SUREFIRE-819) Surefire 2.11 fails if useManifestOnlyJar is false

     [ https://jira.codehaus.org/browse/SUREFIRE-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Carey closed SUREFIRE-819.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12

I can confirm that this works for me in 2.12, and fails with 2.11.
                
> 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
>             Fix For: 2.12
>
>
> 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