Skip to content
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

Fix hard coded Sonatype URL #215

Merged
merged 6 commits into from
Mar 11, 2021
Merged

Fix hard coded Sonatype URL #215

merged 6 commits into from
Mar 11, 2021

Conversation

steinybot
Copy link
Contributor

@steinybot steinybot commented Mar 6, 2021

This fixes the workaround for #214 although doesn't fix that issue completely.

In order to support both Sonatype URLs I think this ought to first try oss.sonatype.org and then fallback to s01.oss.sonatype.org.

In any case it should still be possible to override the URL manually which this PR enables.

@xerial
Copy link
Owner

xerial commented Mar 11, 2021

@steinybot Thanks. I've modified the PR to simply the setting for users.

@xerial xerial merged commit 833973c into xerial:master Mar 11, 2021
>
> ```scala
> // For all Sonatype accounts created on or after February 2021
> ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be:

Suggested change
> ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
> ThisBuild / sonatypeCredentialHost := Sonatype.sonatype01

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xerial I was a bit too late with this comment but FYI.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. I added this constant because I thought it can be used like that, but using "s01.oss.sonatype.org" would be more straightforward for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants