[
https://issues.apache.org/jira/browse/SUREFIRE-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16618428#comment-16618428
]
ASF GitHub Bot commented on SUREFIRE-1564:
------------------------------------------
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]
> Can't override platform version through project/plugin dependencies
> -------------------------------------------------------------------
>
> Key: SUREFIRE-1564
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1564
> Project: Maven Surefire
> Issue Type: Bug
> Components: JUnit 5.x support
> Affects Versions: 2.22.0
> Reporter: Romain Manni-Bucau
> Assignee: Tibor Digana
> Priority: Major
> Labels: junit5
> Fix For: 2.22.1
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)