You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I push a maven project to GitHub packages. I use default settings.xml. but it doesn't work. I have to add the GitHub profile to setting.xml and activate it. then it works well.
Task version:
actions/setup-java@v3
Platform:
Ubuntu
Repro steps:
Error: Non-resolvable import POM: Could not transfer artifact xxx from/to bom (https://maven.pkg.github.com/xxx/*): authentication failed for xxxxx, status: 401 Unauthorized @ line 56, column 16
Expected behavior:
I don't need to set settings. xml for each project
Actual behavior:
I have to set a custom settings.xml like this:
Description:
I push a maven project to GitHub packages. I use default settings.xml. but it doesn't work. I have to add the GitHub profile to setting.xml and activate it. then it works well.
Task version:
actions/setup-java@v3
Platform:
Ubuntu
Repro steps:
Error: Non-resolvable import POM: Could not transfer artifact xxx from/to bom (https://maven.pkg.github.com/xxx/*): authentication failed for xxxxx, status: 401 Unauthorized @ line 56, column 16
Expected behavior:
I don't need to set settings. xml for each project
Actual behavior:
I have to set a custom settings.xml like this:
The text was updated successfully, but these errors were encountered: