[
https://issues.apache.org/jira/browse/SUREFIRE-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704685#comment-17704685
]
Jeremy Norris commented on SUREFIRE-2158:
-----------------------------------------
Switching the dependency fromĀ {{junit-platform-runner}} to
{{junit-platform-suite-api}} appears to work.
I guess it was being used here for the transitive dependency to
{{junit-platform-suite-api}}).
> excludedGroups parameter no longer works
> ----------------------------------------
>
> Key: SUREFIRE-2158
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2158
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 3.0.0
> Environment: n/a
> Reporter: Jeremy Norris
> Priority: Critical
> Fix For: waiting-for-feedback
>
>
> Specifying {{<excludedGroups>foo</excludedGroups>}} in the Surefire
> configuration no longer works with JUnit 5 {{@Tag}}'d tests.
> Surefire now spits out the following and fails to execute any unit tests:
> {{[WARNING] Couldn't load group class 'foo' in Surefire|Failsafe plugin. The
> group class is ignored!}}
> With manual bisection seems to indicate this functionality was lost in the
> 3.0.0-M5 release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)