wozhenbang2004 opened a new pull request, #14115: URL: https://github.com/apache/maven/pull/14115
Related to #7989. The `mng-0505` fixture selects `c:3.8` from `(,3.8.1)`. With the default settings Maven also downloads the POM for `c:3.7`. The new test runs the same build with `-Dmaven.session.versionFilter=h` and checks that it selects `c:3.8`, caches its POM, and leaves `c-3.7.pom` out of the local repository. Both runs start with the fixture’s artifacts removed from the cache. Both methods of `MavenITmng0505VersionRangeTest` passed with Maven 4.0.0-rc-7 on JDK 21. Removing the filter made the new test fail on `c-3.7.pom`. My full `-Prun-its verify` run stopped in `maven-api-core` because Mockito could not attach to the test JVM. --- - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [ ] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
