[ 
https://issues.apache.org/jira/browse/SUREFIRE-923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200301#comment-15200301
 ] 

Tibor Digana commented on SUREFIRE-923:
---------------------------------------

[~ctubbsii]
This should be fixed in {{AbstractSurefireMojo.java}}. I guess this issue has 
to do with dependencies resolution in {{AbstractSurefireMojo.java}}. You can 
debug the class and fix it there. Feel free to open a pull request on GitHub.

> Scanning for junit4.8 when using groups/excludedGroups does not consider 
> transitive dependencies
> ------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-923
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-923
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.12.4
>            Reporter: James Shaw
>
> I've had to include junit explicitly in my pom to get groups/excludedGroups 
> to work.  If it's included through a transitive dependency I get the error:
> {code}
> groups/excludedGroups require TestNG or JUunit48+ on project test classpath
> {code}
> Also, note the typo in "JUunit48+" ;)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to