Skip to content

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

@kongpf8848

Description

@kongpf8848

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/"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions