[ http://jira.codehaus.org/browse/SUREFIRE-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264199#action_264199 ]
Igor Petruk commented on SUREFIRE-729: -------------------------------------- I just checked and confirm that issue with java.lang.AbstractMethodError was related to dependencies of spring-mock, that was the latest version (2.0.8) and was depending on Spring of the same version. After this version it was bundled with another spring module and we didn't notice that. And I checked, now junit47 provider works! "No test to run" that is the awesome way to tell ) I guess there should be a small check with reasonable error message in such case. I could be a good improvement. Thank you for your help. Good day. > Surefire 2.8, surefire-junit47, No tests to run > ----------------------------------------------- > > Key: SUREFIRE-729 > URL: http://jira.codehaus.org/browse/SUREFIRE-729 > Project: Maven Surefire > Issue Type: Bug > Reporter: Igor Petruk > Assignee: Kristian Rosenvold > Attachments: > com.ubs.crmwb.persistence.core.dao.impl.bag.CptInfoBagDaoImplTest.txt, > deps.txt, surfire-config.xml > > > Concurrency config is parallel='none', perCoreThreadCount=true, > threadCount=2, useUnlimitedThreads=false > There are no tests to run. > Here is a part of my config > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.8</version> > <dependencies> > <dependency> > <groupId>org.apache.maven.surefire</groupId> > <artifactId>surefire-junit47</artifactId> > <version>2.8</version> > </dependency> > </dependencies> > <configuration> > <excludes> > <exclude>**/manual/**</exclude> > </excludes> > <argLine>-Xmx1024m -XX:MaxPermSize=128m</argLine> > </configuration> > </plugin> > Adding "includes" of any form does not change anything. > But when I add > <includes><include>**/*</include></includes> > it fails trying to run an xml file in resources, interpreting it as class > com/mycompany/Myxml.xml is treated java test class com.mycompany.Myxml test > class. Of course it fails -- 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