[
https://issues.apache.org/jira/browse/SUREFIRE-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230410#comment-17230410
]
Knut Wannheden commented on SUREFIRE-1830:
------------------------------------------
[~tibordigana] Thanks for taking another look at this. Just to clarify: Does
this mean that the 3.0.0-M5 release is working as designed and I have to set
{{useModulePath=false}} for my tests?
> 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)