[
http://jira.codehaus.org/browse/MEMMA-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262953#action_262953
]
jieryn commented on MEMMA-13:
-----------------------------
You should try with surefire 2.8. I am using latest surefire and emma plugins,
with junit 4.8, and it's not a problem at all. Can you update and try to
reproduce? Can you provide a test project which exhibits the problem?
> Using emma with version of maven-surefire-plugin higher than 2.3 failed
> -----------------------------------------------------------------------
>
> Key: MEMMA-13
> URL: http://jira.codehaus.org/browse/MEMMA-13
> Project: Mojo EMMA Plugin
> Issue Type: Bug
> Affects Versions: 1.0-alpha-2
> Reporter: christoph schmidt-casdorff
>
> Using emma with version of maven-surefire-plugin higher than 2.3 failed. We
> tried maven-surefire-plugin:2.4.3. Performing the test, the classes under
> test are not visible. (e.g.
> de/deutschepost/rs/common/exceptions/DelegatedSystemException is a source
> class)
> Performing the tests in the default build lifecycle doesn't harm.
> Using maven-surefire-plugin:2.3 emma works fine.
> @see stacktrace:
> org.apache.maven.surefire.booter.SurefireExecutionException:
> de/deutschepost/rs/common/exceptions/DelegatedSystemException; nested
> exception is java.lang.NoClassDefFoundError:
> de/deutschepost/rs/common/exceptions/DelegatedSystemException
> Running
> de.deutschepost.rs.common.exceptions.classification.ClassificationManagerTest
> java.lang.NoClassDefFoundError:
> de/deutschepost/rs/common/exceptions/DelegatedSystemException
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
> at java.lang.Class.getMethod0(Class.java:2642)
> at java.lang.Class.getMethod(Class.java:1579)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMethod(JUnitTestSet.java:176)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:140)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:197)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> [ERROR] There are test failures.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email