smart-testing
smart-testing copied to clipboard
Investigate classloading issues
If we don't define smart-testing-surefire-provider
dependency both as project dependency as well as provider for surefire
plugin we are encountering classloading issues. We have to investigate why is that happening and if it's possible to have provider defined only once.
The reason is in the surefire plugin magic.
To provide our own implementation of a provider, we need to specify the dependency in the surefire plugin part. Then surefire finds this custom provider and invokes it. The invocation of the provider is done in a new separated classloader that contains dependencies specified in the standard