-
Notifications
You must be signed in to change notification settings - Fork 26
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
Ability to set stagingRepositoryId by external plugin #77
Comments
E.g. by some external plugin which created it explicitly.
Implemented on the gradle-nexus-staging-plugin side via |
Hi, @szpak! |
Do you want to set it manually or plan to use https://github.com/marcphilipp/nexus-publish-plugin ? |
I try to use
|
My configuration is next:
|
You need to wait for marcphilipp/nexus-publish-plugin#11 to be merged and releases. Alternatively you could try to get value (somehow) from nexus-publish-plugin internals and set it in gradle-nexus-staging-plugin's extension with (something like):
|
Btw, settings credentials in |
Thanks, @szpak! 👍 |
Just the upgrade of nexus-publish-plugin should be enough (as you already have 0.20.0 of GNSP). You may also send a friendly ping in marcphilipp/nexus-publish-plugin#11 :) |
Already 😂 I link PR for our repository taymyr/lagom-extensions#4 with this issue 😄 |
Quick question: If you're not yet using the
Possibly silly question, but does this mean that at some point the I'm hesitant to pull yet another plugin into the build just to do something I can do in Maven builds without plugins. |
@io7m, I don't plan to disable "the fallback mode". As good news, together with @marcphilipp we decided to give the next generation releasing plugin a try - https://github.com/gradle-nexus/publish-plugin/ . Once ready, I will be a replacement for both GNSP and NPP. |
Btw, unless it changed recently, in the Maven builds you also need a separate plugin, just created by the same people as Sonatype Nexus :-). |
Nice! 👍 |
nexus-publish-plugin enhances the Gradle publishing mechanism to explicitly create a staging repository. It improves reliability of the release process (see #76 among others).
It would be handy to provide a mechanism to provide the explicitly created repository id by some other plugin instead of trying to determine one looking for its state. It's needed for marcphilipp/nexus-publish-plugin#11.
The text was updated successfully, but these errors were encountered: