Maven registry authentication failed with any token on GitHub Packages #49836
Replies: 3 comments 3 replies
-
I'm facing the same issue (Unauthorized (401)) when I do mvn release:perform: [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy (default-deploy) on project loggingcorner: Failed to deploy artifacts: Could not transfer artifact com.hoffnungland:loggingcorner:pom:0.0.26 from/to manuelmsperanza.github (https://maven.pkg.github.com/manuelmsperanza/loggingcorner): status code: 401, reason phrase: Unauthorized (401) -> [Help 1] but it's working when I do mvn deploy for the *-SNAPSHOT. I thought it was matter of jdk version, but not. |
Beta Was this translation helpful? Give feedback.
-
I resolved adding the Autorization Beares, as per mvn deploy in Github actions gives 401 Unauthorized
HTH |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
I'm trying to install maven dependencies from GitHub Packages, but the registry is not allowing authentication.
Deploying packages works normally, but installing them in another application does not.
Despite being in public repositories, authentication fails and the message below is displayed when I run
mvn install
:Details
Repo: https://github.com/FelipeMenezesDM/auth-server-connect-spring
Beta Was this translation helpful? Give feedback.
All reactions