Skip to content

Plugin snapshot publishing migration #5551

@zelinh

Description

@zelinh

Coming from meta issue #5548

Background

Component plugins publish Maven snapshots to oss.sonatype.org/content/ on commit basis. This is managed independently by each plugin team through GitHub Actions.
Example:

./gradlew publishPluginZipPublicationToSnapshotsRepository

Each plugin has a build.gradle configured with:

repositories {
    maven {
        name = "Snapshots"
        url = "https://aws.oss.sonatype.org/content/repositories/snapshots"
        credentials {
            username "$System.env.SONATYPE_USERNAME"
            password "$System.env.SONATYPE_PASSWORD"
        }
    }
}

In order for the migration, we will need to update the repository URL to use the Central Portal endpoint and corresponding credentials.
https://central.sonatype.org/publish/publish-portal-snapshots/
Example build.gradle may look like below

repositories {
    maven {
        name = 'Snapshots'
        url = "https://central.sonatype.com/repository/maven-snapshots/"
        credentials {
            ...
        }
    }
}

This will affect all plugins that publish snapshots to Maven and each of the plugin will need to update its build files accordingly.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions