[ https://issues.apache.org/jira/browse/SUREFIRE-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230434#comment-17230434 ]
Tibor Digana commented on SUREFIRE-1830: ---------------------------------------- [~d96knut] No, it is not working properly, and {{useModulePath=false}} is only a temporal workaround. The next release has a fix. > Regression when running test using ServiceLoader > ------------------------------------------------ > > Key: SUREFIRE-1830 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1830 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Failsafe Plugin > Affects Versions: 3.0.0-M5 > Reporter: Knut Wannheden > Assignee: Tibor Digana > Priority: Major > > 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.|https://github.com/knutwannheden/maven-surefire-tccl-bug] > Note that if the service is defined in {{src/main}} then the service is found. -- This message was sent by Atlassian Jira (v8.3.4#803005)