diff --git a/.gitea/maven-settings.xml b/.gitea/maven-settings.xml index 94a5bf5..7f3e66e 100644 --- a/.gitea/maven-settings.xml +++ b/.gitea/maven-settings.xml @@ -7,18 +7,18 @@ already exports (Gitea Actions' built-in per-job token, scoped to this repo/org — see https://docs.gitea.com/usage/packages/maven#configuring-the-package-registry), never written to disk. + + Basic auth (username/password), not the form Gitea's own docs show: that + form is honored by Maven's resolver (used for reading ) but not reliably + by the wagon-http provider maven-deploy-plugin actually uploads through, which silently + dropped it and deployed unauthenticated (401). Basic auth is wagon-http's oldest, + always-supported path. --> gitea - - - - Authorization - token ${env.GITEA_TOKEN} - - - + Relism + ${env.GITEA_TOKEN}