-
I’m using a bespoke dependency management tool that uses the Aether library to manage maven dependencies. I’d like to integrate support for deploying to github package registry, but I’m not sure what authentication information is required from github. I assume it’s a matter of setting the right fields on anAether Authentication object. From looking at what information maven requires I see an entry in the settings.xml
Which suggests I only need to set strings “username” and “password” Despite having set these fields (along with the correct url) I keep getting an error similar to the following
Any guidance would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I’m not sure what that error is exactly. For the server config we recommend using env variables as seen in setup-java. Where the password is a PAT and the username is your github username.
|
Beta Was this translation helpful? Give feedback.
I’m not sure what that error is exactly. For the server config we recommend using env variables as seen in setup-java. Where the password is a PAT and the username is your github username.