Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.0.0-M5
-
None
-
None
Description
When running a test using failsafe which uses ServiceLoader to load a service which is defined in the src/test source folder, the ServiceLoader fails to find the service. This worked in 3.0.0-M4 and earlier releases. For a minimal example take a look at: https://github.com/knutwannheden/maven-surefire-tccl-bug.
Note that if the service is defined in src/main then the service is found.
Attachments
Issue Links
- duplicates
-
SUREFIRE-1570 Maven-fail-safe doesn't put testing JPMS module on module path
- Closed