publish-plugin icon indicating copy to clipboard operation
publish-plugin copied to clipboard

Publish multiple groups/repos at once

Open ianbotsf opened this issue 3 years ago • 2 comments

Hi, not a bug (yet) just a question:

I have a multi-build project with subprojects using unrelated groups. They should ideally be staged at the same time, using the same Nexus endpoint/credentials, but different staging repos. For instance:

  • Project Root (no code, just project config)
    • Project X (group name a.b.c)
    • Project Y (group name d.e.f, depends on Project X)

I can't figure out how to configure the plugin to handle this scenario. Seems like a single group name must be set at the root project which means one of the subprojects fails to stage (because the staging repo is created for whichever group name the root has).

How can I handle this scenario?

ianbotsf avatar Aug 10 '21 22:08 ianbotsf

Unfortunately, it is not supported at the moment. Your case is similar to support for the mono repo projects (#84) and the Android projects (#75). While your extra requirement to use different staging repositories at the same time might be problematic in implementation, support for mono repos (once available) should be enough to use this plugin.

We may keep that issue open to see how many people :+1: it, as a sign that they also would be happy seeing it implemented.

szpak avatar Aug 12 '21 21:08 szpak

Got it, thanks.

ianbotsf avatar Aug 12 '21 21:08 ianbotsf