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

Christopher Tubbs commented on SUREFIRE-923:
--------------------------------------------

Alright, so I've made an attempt and cannot reproduce this as described. This 
may be the result of a misunderstanding that transitive test dependencies are 
not inherited into the test scope. At least in my case, I saw that changing the 
version of a dependency which had a transitive dependency on junit at the 
compile scope, changed whether or not a newer version of junit was used.

So, it looks like this can be re-closed as "Not A Problem", "Cannot reproduce", 
or a similar status.

> 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
>            Assignee: Tibor Digana
>
> 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