kwin opened a new pull request, #2370: URL: https://github.com/apache/maven-resolver/pull/2370
Repository connector implementations need to distinguish resolution from deployment so a connector can be limited to the operations it supports. This adds purpose-aware overloads using `RemoteRepository.Intent` and passes `RESOLUTION` or `DEPLOYMENT` from the corresponding code paths. The existing methods remain compatible through default implementations. Focused validation: `mvn -pl maven-resolver-impl -am -Dtest=DefaultDeployerTest -Dsurefire.failIfNoSpecifiedTests=false test` (passed). Fixes: #2369 --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [ ] 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]
