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/01/17 05:30:02 UTC
[jira] (SUREFIRE-819) Surefire 2.11 fails if useManifestOnlyJar is
false
Scott Carey created SUREFIRE-819:
------------------------------------
Summary: 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
[jira] (SUREFIRE-819) Surefire 2.11 fails if useManifestOnlyJar is
false
Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] (SUREFIRE-819) Surefire 2.11 fails if useManifestOnlyJar is
false
Posted by "Scott Carey (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] (SUREFIRE-819) Surefire 2.11 fails if useManifestOnlyJar is
false
Posted by "Scott Carey (JIRA)" <ji...@codehaus.org>.
[ 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