-
Notifications
You must be signed in to change notification settings - Fork 508
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
Private Ivy repositories do not get their credentials #3599
Comments
Could you explain what the change does, why is was broken before and is better now. {
"IvyRepository" : {
"name" : "nexus-ivy",
"pattern" : "https://bigcorporation.com/repository/ivy-public/[organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]"
}
} |
This is only about the credentials. What the change does is fixes the lookup of the credentials of ivy repositories. Formerly the getHost method was called on: And the In the change I only replace the ivyPattern for the |
How does your company authenticate to the Ivy repository? |
Our nexus is protected by VPN and does not require additional authentication. |
@zsedem Does scala-steward need a new version published or is there a way to use the latest-version of |
I ended up with this as a workaround: env:
COURSIER_CREDENTIALS: |
company.jfrog.io(Artifactory Realm) ${{ secrets.JFROG_USER }}:${{ secrets.JFROG_RO_TOKEN }} You can just set the credentials for all cousier access with these credentials and you are done. |
Scala Steward 0.33.0 (which includes this fix) was just released. |
We use the Github App to update our repositories, but our dependencies from private Artifactory does not update.
After checking Debug logs I found "unauthorized" errors in the logs, but the credentials clearly right, since the Maven repositories work on the same artifactory.
After digging deeper I found a possible root cause and fixed it in this PR: scala-steward-org/sbt-plugin#78
The text was updated successfully, but these errors were encountered: