Hi, I followed the same but getting the following errors. What is the issue? Please help.
"Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project demolibrary: Failed to deploy artifacts: Could not transfer artifact com.example:demolibrary:jar:3.0.2 from/to github (maven.pkg.github.com/-----/test-pl... authentication failed for maven.pkg.github.com/-----/test-pl..., status: 401 Unauthorized -> [Help 1]"
and
"Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project demolibrary: Failed to deploy artifacts: Could not find artifact com.example:demolibrary:jar:3.0.1 in github (maven.pkg.github.com/-------/test-...) -> [Help 1]"
Quality focussed software engineer, architect, and trainer. Friends call me Kuba.
Open for work. Get in touch for consultancy, training or software development.
Quality focussed software engineer, architect, and trainer. Friends call me Kuba.
Open for work. Get in touch for consultancy, training or software development.
Quality focussed software engineer, architect, and trainer. Friends call me Kuba.
Open for work. Get in touch for consultancy, training or software development.
One other thing to check is if you're creating the artifact properly. Perhaps it's missing or something like that. see stackoverflow.com/questions/643221...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, I followed the same but getting the following errors. What is the issue? Please help.
"Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project demolibrary: Failed to deploy artifacts: Could not transfer artifact com.example:demolibrary:jar:3.0.2 from/to github (maven.pkg.github.com/-----/test-pl... authentication failed for maven.pkg.github.com/-----/test-pl..., status: 401 Unauthorized -> [Help 1]"
and
"Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project demolibrary: Failed to deploy artifacts: Could not find artifact com.example:demolibrary:jar:3.0.1 in github (maven.pkg.github.com/-------/test-...) -> [Help 1]"
Looks like your github access token isn't valid or wasn't given the right scope. Make sure you've assigned
write:packagesscope.Yes, I added that also. But still same error "status: 422 Unprocessable Entity".
Feel free to review the repositories where it all works fine.
For example: github.com/vlingo/xoom-actors/
All vlingo xoom packages are published to github.com/vlingo/xoom-platform/pa...
One other thing to check is if you're creating the artifact properly. Perhaps it's missing or something like that. see stackoverflow.com/questions/643221...