-
Notifications
You must be signed in to change notification settings - Fork 14
chore: Migrate CI to sonatype central portal #171
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -51,8 +51,8 @@ signing { | |||||||||||||
nexusPublishing { | ||||||||||||||
repositories { | ||||||||||||||
sonatype { | ||||||||||||||
nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/')) | ||||||||||||||
snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/')) | ||||||||||||||
nexusUrl.set(uri('https://ossrh-staging-api.central.sonatype.com/service/local/')) | ||||||||||||||
snapshotRepositoryUrl.set(uri('https://central.sonatype.com/repository/maven-snapshots/')) | ||||||||||||||
username.set(System.getenv('MAVEN_USERNAME')) | ||||||||||||||
Comment on lines
+54
to
56
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Verify new Central-Portal endpoints According to Sonatype’s migration guide the staging API is - nexusUrl.set(uri('https://ossrh-staging-api.central.sonatype.com/service/local/'))
- snapshotRepositoryUrl.set(uri('https://central.sonatype.com/repository/maven-snapshots/'))
+ nexusUrl.set(uri('https://central.sonatype.com/api/v1/staging'))
+ snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/')) Also, the workflows still use 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||
password.set(System.getenv('MAVEN_PASSWORD')) | ||||||||||||||
} | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spotless downgrade re-introduces CVE-2024-34329 transitively
Spotless 7.0.4 shaded the vulnerable
commons-text
range; 7.0.3 did not.Unless the downgrade is required for the Central-Portal migration, keep 7.0.4 or explicitly override
commons-text
.📝 Committable suggestion
🤖 Prompt for AI Agents