[
https://issues.apache.org/jira/browse/MNG-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697314#comment-17697314
]
Tamas Cservenak commented on MNG-7718:
--------------------------------------
As I said: fix is simple, just lock down surefire version in your POM (to 2.x
something you want). Your POM otherwise depends on Maven provided surefire
version, that CHANGES between releases, so 3.8.x Maven uses 2.x of surefire
while Maven 3.9.x uses 3.x of surefire, and surefire behaviour changed.
> Maven 3.9.0 auto detect test and download surefire-plugin
> ---------------------------------------------------------
>
> Key: MNG-7718
> URL: https://issues.apache.org/jira/browse/MNG-7718
> Project: Maven
> Issue Type: Dependency upgrade
> Affects Versions: 3.9.0
> Reporter: Durgesh Mishra
> Priority: Minor
> Labels: test-stability
> Fix For: waiting-for-feedback, wontfix-candidate
>
> Attachments: Screenshot 2023-03-07 at 9.25.36 AM.png, Screenshot
> 2023-03-07 at 9.27.40 AM.png, maven-test.zip
>
>
> After the maven version upgrade to 3.9.0, Automatically surefire plugin
> download and run the test case during build process.
> For this version we don't need to pass explicitly maven surefire plugin.
> Please let me know if this is expected or bug ?
> Because i can't see any release notes regarding this feature.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)