You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marc Nuri (Jira)" <ji...@apache.org> on 2021/09/23 15:56:00 UTC

[jira] [Created] (SUREFIRE-1947) Maven Failsafe Plugin - Junit5 extension autodetection no longer works in M5

Marc Nuri created SUREFIRE-1947:
-----------------------------------

             Summary: Maven Failsafe Plugin - Junit5 extension autodetection no longer works in M5
                 Key: SUREFIRE-1947
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1947
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Failsafe Plugin
    Affects Versions: 3.0.0-M5
            Reporter: Marc Nuri


After the upgrade from [3.0.0-M4 to 3.0.0-M5|https://github.com/jkubeio/jkube-integration-tests/pull/111], one of our extensions registered using Java SPI is no longer detected.

The applicable extension is [ReportExtension|https://github.com/jkubeio/jkube-integration-tests/blob/99eb3e7905e88ffb44579df35df883b5d4248461/it/src/test/java/org/eclipse/jkube/integrationtests/ReportExtension.java] which is registered via a [org.junit.jupiter.api.extension.Extension|https://github.com/jkubeio/jkube-integration-tests/blob/99eb3e7905e88ffb44579df35df883b5d4248461/it/src/test/resources/META-INF/services/org.junit.jupiter.api.extension.Extension] file.
Autodetection is enabled in [junit-platform.properties|https://github.com/jkubeio/jkube-integration-tests/blob/99eb3e7905e88ffb44579df35df883b5d4248461/it/src/test/resources/junit-platform.properties].

The same configuration works fine in M4, but fails in M5.

I couldn't find anything related to that in the release notes or project documentation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)