Sahil-Jaiswal-189 opened a new pull request, #13927: URL: https://github.com/apache/maven/pull/13927
Fixes #13851. Add `--update-all` as the preferred long option for `-U`, reflecting that it forces both artifact and metadata update checks. Keep `-U` unchanged and retain `--update-snapshots` as a deprecated alias. - Update both the current and compatibility CLIs. - Use `updateAll` naming throughout options, execution requests, and build-invocation snapshots. - Retain deprecated `MavenExecutionRequest` methods for backward compatibility. - Include replacement guidance in deprecation warnings and preserve warnings across layered option sources. - Document equivalence to `-UA -UM`. - Add regression coverage for aliases, warnings, configuration files, request copying, compatibility methods, and policy precedence. ### Validation - `mvn -B -ntp clean install`: passed across all 40 modules. - 3,962 tests reported: zero failures or errors, 16 skipped. - API compatibility and formatting checks passed. - Packaged Maven successfully ran offline `validate` with all three spellings; only `--update-snapshots` produced a deprecation warning. - The separate `-Prun-its` integration-test suite was not run. --- - [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]
