-
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
How to handle DEPRECATION WARNING. The staging repository ID is not provided? #127
Comments
See the point in FAQ to add nexus-publish-plugin to better handle a staging repository resolution. I will keep the issue open as I plan to rework the FAQ, the error message or even apply the nexus-publish-plugin automatically in a default configuration to make it more natural in reception. |
Do I really need nexus-publish-plugin? I publish artifacts with custom groovy/gradle script and it works well and use gradle-nexus-staging-plugin for closing and releasing the artifacts. I don't want to add another dependency to the project (which I'm not going to use) just to remove the warning. I don't see any benefits from this as I already have working solution :). Maybe I'll wait for updated FAQ. |
If you are not using Travis (or anything else that sends subsequent requests via different IP addresses) and release on project at the time (+ you manually clean up old staging repositories if anything goes wrong) then GNSP should enough for you (the feature is deprecated and I don't have any intermediate plans to remove it). Btw, I rather planned to update FAQ how to start using NPP, not how to suppress the warning :). |
Ok, I'll check it. Thanks! |
I am using nexus-publish-plugin but I still get this whenever I execute |
@Fleshgrinder It should work. Please provide a link to your project. Or, even better, please consider migration to our (my and Marc's) new plugin which - to avoid confusion like your - integrates GSNP and NPP into one plugin - GNPP. |
Last time I checked the plugin wasn't hosted anywhere but I see that 1.0.0 is out now. Will switch to it. 😊 |
1.0.0 has been released last weekend. The configuration looks ok. Having a CI job would make it easier to analyze the output. |
I'm in the process of moving from bintray to Central so all this Nexus stuff is new to me so I first want to build up a solid understanding of the workflow before moving to automation. 😉 |
TL;TD. This issue does not occur in gradle-nexus-publish-plugin. A longer version. To make releasing to Maven Central even easier, I and Marc Phillip (the author of nexus-publish-plugin) combined forces to create a next generation, unified, 2-in-1 plugin - gradle-nexus-publish-plugin. It is a recommended solution, as our development effort will be put in that new plugin. See my blog post and the official migration guide. |
Hi,
I used Gradle task
closeAndReleaseRepository
and got the warning:What should I do? Where should I provide repository ID and what does it really mean?
The text was updated successfully, but these errors were encountered: