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

Maven Central's staging server is from oss.sonatype.org to s01.oss.sonatype.org #68

Open
kongpf8848 opened this issue Jun 4, 2021 · 0 comments

Comments

@kongpf8848
Copy link

kongpf8848 commented Jun 4, 2021

from Central Repository Changelog,Maven Central's staging server is from oss.sonatype.org to s01.oss.sonatype.org
so in getReleaseRepositoryUrl and getSnapshotRepositoryUrl method default url should update string oss.sonatype.org -> s01.oss.sonatype.org

def getReleaseRepositoryUrl() {
    return hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
            : "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
}
def getSnapshotRepositoryUrl() {
    return hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
            : "https://oss.sonatype.org/content/repositories/snapshots/"
}
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

No branches or pull requests

1 participant