Tibor17 commented on issue #193: [SUREFIRE-1564] ensure provider dependencies 
can be overriden
URL: https://github.com/apache/maven-surefire/pull/193#issuecomment-422244045
 
 
   @rmannibucau 
   @sormuras 
   I will try to test @rmannibucau's  test project and `scope=provided` 
dependency `junit-jupiter-engine` in our provider `surefire-junit-platform`. I 
think personally that the provider should be only compiled with a help of 3rd 
party dependencies but the runtime classpath should not use these dependencies 
because they are subject of declaring by user in POM. This fix would be easy 
and since every user has to use either `junit-jupiter-engine` or 
`junit-vintage-engine` the transitive dependency `junit-platform-launcher` 
appears in both. Is there any engine where the `junit-platform-launcher` does 
not exist?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to