generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Description
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
Type
Projects
Status
✅ Done