Codearte/gradle-nexus-staging-plugin

Put project name/version in closed/released repository by default

szpak opened this issue · 3 comments

szpak commented

As proposed also in marcphilipp/nexus-publish-plugin#30, the plugin could put the released project groupId/name/version in the staging repository description (instead of "Automatically released/promoted with gradle-nexus-staging-plugin").

vlsi commented

Oh, in practice there's io.codearte.gradle.nexus.NexusStagingExtension#setRepositoryDescription API to set the description of the repository.

Here's a screenshot from Staging Repositories in Central:
staging_comment

szpak commented

Yes, it was added in 2017. However, it would be good to have it available by default.

Nevertheless, thanks @vlsi for bringing it up for people reaching this issues.

szpak commented

TL;TD. It's a default bahaviour of 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.