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

401 publish to central.sonatype.com #358

Closed
boot-vue opened this issue Jan 11, 2025 · 2 comments
Closed

401 publish to central.sonatype.com #358

boot-vue opened this issue Jan 11, 2025 · 2 comments

Comments

@boot-vue
Copy link

how publish to https://central.sonatype.com , not OSSRH https://oss.sonatype.org or https://s01.oss.sonatype.org , my account in OSSRH has been removed by central team and are not allowed to log in to that platform

nexusPublishing {
    repositories {
        sonatype {
            username = System.getenv('SONATYPE_USERNAME')
            password = System.getenv('SONATYPE_PASSWORD')
        }
    }
}
@boot-vue
Copy link
Author

use central.sonatype.com userToken, plugin publish always request oss.sonatype.org

@szpak
Copy link
Contributor

szpak commented Jan 11, 2025

Is it a new project? If you would like to use the new Portal Publisher API see #330 (it is currently not supported). The old method (which is supported by this plugin) uses OSSRH which publish to Central using aforementioned by you servers.

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

2 participants