-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authorization issue with private maven repository #43
Comments
I should probably note that this actually failing in the |
@justinwb I am not sure what it could be, as this github action hasn't changed. Can I see the repo? (add my user if it's a private repo) |
@justinwb I have this exact same issue, were you able to fix it? |
I'm running into this as well. Reverting to an older release that did not change private maven server configuration to use JSON blobs works fine:
|
@caiges I would be interested to debug the JSON blobs issue still. Is there a way you can share with me your config so I could reproduce the issue you had? |
At the moment, I somehow left a log of the maven settings: https://github.com/qcastel/docker-maven-release/blob/master/setup-maven-servers.sh#L40 Could you tell if there is an error in the resulting settings xml ? Note: I will remove this logs as it's best not logging the settings each time but for now, lets use it. |
@jhorne1992 No I was never able to resolve it. i was able to work around it at the time because the repository was open-source / public and making a public repo in nexus worked. I'm about to need it for private repositories again and likely to run into the same problem. @qcastel any progress getting to a root cause / solution? |
Some updates on this after a few days of testing:
@qcastel I can't give you access to the repositories in question because they are proprietary in nature. There's some urgency on our side to resolve this, so I may start digging in deeper on the root cause of this and #47. If you have any pointers (or could assist) let me know. |
Nice work on this action. Running into an authz issue today with our private sonatype nexus maven repo. All has been running well until we added a dependency in the pom on another library hosted in the same private repository. Suddenly we're seeing authorization issues and it's a bit difficult to debug what's happening within the action. Looking at other possible causes in the environment but thought it was worth filing an issue here in case there's something known or an obvious hitch in my configuration.
I'm not seeing this behavior locally, or in our other actions using the same credentials (from github secrets) which use
actions/setup-java@v1
.Action is configured as follows:
The text was updated successfully, but these errors were encountered: