GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: support Maven server credential origins by YunaBraska · Pull Request #1282 · actions/setup-java Conversation
|
| File | Description |
|---|---|
src/constants.ts |
Defines the new input. |
src/auth.ts |
Parses origins and generates XML. |
README.md |
Documents the input. |
docs/advanced-usage.md |
Adds multi-server examples. |
action.yml |
Exposes the action input. |
__tests__/auth.test.ts |
Tests parsing and generation. |
dist/setup/index.js |
Updates the setup bundle. |
dist/setup/81.index.js |
Bundles authentication logic. |
dist/cleanup/index.js |
Updates bundled constants. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| let url: URL; | ||
| try { | ||
| url = new URL(value); | ||
| } catch { | ||
| throw new Error( |
There was an error while loading. Please reload this page.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot App <[email protected]>
There was an error while loading. Please reload this page.
Maven 3.10.0 on the runner image offers server credentials only to the origins bound to the server id. The id central is bound to repo.maven.apache.org, so the token is withheld from central.sonatype.com and the snapshot deploy fails with HTTP 401. credentialScope=id restores the id-only matching until setup-java releases mvn-server-repository-origins (actions/setup-java#1282, release asked in actions/setup-java#1284). Signed-off-by: Stefan Bischof <[email protected]>
Maven 3.10.0 on the runner image offers server credentials only to the origins bound to the server id. The id central is bound to repo.maven.apache.org, so the token is withheld from central.sonatype.com and the snapshot deploy fails with HTTP 401. credentialScope=id restores the id-only matching until setup-java releases mvn-server-repository-origins (actions/setup-java#1282, release asked in actions/setup-java#1284). Signed-off-by: Stefan Bischof <[email protected]>
|
I wanted to ask if this one could be released as e.g. 6.0.2 (or 6.1.0)? With the current latest 6.0.1 it seems not possible to avoid a warning about the missing in settings.xml when publishing to Sonatype Central. I have tried to pin setup-java to 2a69be2, and it works like a charm and fixes the warnings, but if possible I would prefer to pin to a version tag. Thank you! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thank you very much, @YunaBraska and @brunoborges (and the rest!) 🙌 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
setup-java v6.1.0 ships mvn-server-repository-origins (actions/setup-java#1282), which replaces the settings.xml patch both workflows carried.
v6.1.0 ships mvn-server-repository-origins (actions/setup-java#1282), which replaces the sed patch on settings.xml.
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-java](https://github.com/actions/setup-java) | action | minor | `v6.0.1` → `v6.1.0` | --- ### Release Notes <details> <summary>actions/setup-java</summary> ### [`v6.1.0`](https://github.com/actions/setup-java/releases/tag/v6.1.0) [Compare Source](actions/setup-java@v6.0.1...v6.1.0) ##### What's Changed - Preserve compound Liberica build versions from .sdkmanrc by [@​brunoborges](https://github.com/brunoborges) with [@​Copilot](https://github.com/Copilot) in [#​1268](actions/setup-java#1268) - Support Temurin on Linux RISC-V by [@​yawkat](https://github.com/yawkat) in [#​1269](actions/setup-java#1269) - Stop GPG agent before removing signature-verification home by [@​brunoborges](https://github.com/brunoborges) with [@​Copilot](https://github.com/Copilot) in [#​1273](actions/setup-java#1273) - Prefer Zulu 4-segment hotfix builds when resolving version ranges by [@​brunoborges](https://github.com/brunoborges) in [#​1278](actions/setup-java#1278) - Support Temurin JEP 322 patch versions like 26.0.2.1+1 by [@​brunoborges](https://github.com/brunoborges) in [#​1279](actions/setup-java#1279) - chore(deps): bump undici from 6.28.0 to 6.29.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​1274](actions/setup-java#1274) - chore(deps): bump the monthly-npm-updates group with 13 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​1276](actions/setup-java#1276) - feat: support Maven server credential origins by [@​YunaBraska](https://github.com/YunaBraska) in [#​1282](actions/setup-java#1282) - Support Maven plugin repositories in generated settings.xml by [@​brunoborges](https://github.com/brunoborges) in [#​1286](actions/setup-java#1286) ##### New Contributors - [@​yawkat](https://github.com/yawkat) made their first contribution in [#​1269](actions/setup-java#1269) - [@​YunaBraska](https://github.com/YunaBraska) made their first contribution in [#​1282](actions/setup-java#1282) **Full Changelog**: <actions/setup-java@v6.0.1...v6.1.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE2NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.vptr.de/gregor/midas2/pulls/113 Reviewed-by: gregor <[email protected]> Co-authored-by: Renovate Bot <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.