@sormuras 
The POM in platform provider contains `junit-platform-launcher`.
I think that Romain's problem is with existence of this dependency in the 
provider classpath. I think it should have `<scope>provided</scope>`. Then the 
dependency would not appear in the provider's classpath and the user has to add.
Another way would be more complicated for us but more user friendly for user. 
Discover the `junit-platform-launcher` and it transitive dependencies in 
dependencies and the algorithm would be complicated because it has to resolve 
them. Basically it has to use the launcher and engine if specified; otherwise 
use the one with version `1.2.0`. But this would lead to uncertain behavior 
because the users would not clearly understand when to use it and when not in 
certain versions.

@rmannibucau 
Why on why people still use plugin dependencies since the plugin has its own 
`ClassLoader` and has nothing to do with project dependencies.

[ Full content available at: https://github.com/apache/maven-surefire/pull/193 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to