slachiewicz opened a new pull request, #1739:
URL: https://github.com/apache/maven-dependency-plugin/pull/1739

   Three independent fixes to `purge-local-repository`, one commit each:
   
   - MDEP-631 (#1059): direct provided and test dependencies are now purged 
too. The collect request used the project as a root dependency, so the 
dependency selector treated direct dependencies as transitive and dropped those 
scopes. This changes what an existing purge deletes; the existing IT is updated 
to the new expectation.
   - MDEP-619 (#1053): `snapshotsOnly` with `resolutionFuzziness` `artifactId` 
or `groupId` deleted the whole directory, releases included; it now deletes 
only the snapshot version directories.
   - MDEP-574 (#1011): include and exclude patterns match the dependency type 
as well as the file extension, so `g:a:test-jar` works; `g:a:jar` still matches.
   
   Only the purge goal calls the changed `ResolverUtil` overload. Fixes #1059, 
fixes #1053, fixes #1011.
   
   Verified: the new tests and the updated IT fail on master; `-Prun-its 
-Dinvoker.test='purge-local-repository*'` → 14 ITs pass on Maven 3.9.16, and 
the four touched ITs pass on 4.0.0-rc-7.


-- 
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]

Reply via email to