cstamas opened a new pull request, #1853: URL: https://github.com/apache/maven-site/pull/1853
Documents the server `token` and `tokenHeader` settings added by apache/maven#14173 (settings model 1.4.0). - `settings.md`: new "Server Tokens" section. It covers the bearer token (`Authorization: Bearer <token>`), a custom header such as GitLab `Private-Token` / `Job-Token` / `Deploy-Token`, the validator errors and warnings, that the token is sent only to the repository origin, that Wagon ignores it, and why it beats `httpHeaders`. - `guide-encryption.md`: `<token>` can be encrypted like a password. - `guide-deployment-security-settings.md`: link to Server Tokens. - `guide-http-settings.md`: don't put auth tokens in `httpHeaders`; use `token`. Notes: - The version says Maven 3.10.3, the next release of `maven-3.10.x` (now at `3.10.3-SNAPSHOT`). Settings model 1.3.0 already shipped in 3.10.0. Merge this only after apache/maven#14173 is merged, and fix the version if it lands in a later release. - `xsd/settings-1.4.0.xsd` is not added here. The new example links to it, and it must be published with the release. --- - [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) -- 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]
