Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

chore: nexus-publish plugin cannot publish multi-module project to maven central #1512

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

Neenu1995
Copy link
Contributor

@Neenu1995 Neenu1995 commented Oct 13, 2021

Until this issue is resolved, gax cannot use nexus-publish to publish to maven central because the plugin do not persist stagingProfile information between command runs. Thus both the staging command and publish command has to be run in a single command. But, since gax has multiple modules(each modules gets staged in separate run) this is not a workable approach.

So currently, the library gets staged to sonatype. Publish it manually from there(Get permission to publish if you frequently publish gax-java or @Neenu1995 can publish). A possible move to maven pom might be a better solution also.

@Neenu1995 Neenu1995 requested review from a team as code owners October 13, 2021 17:33
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 13, 2021
@Neenu1995 Neenu1995 changed the title chore: nexus-publish plugin cannot publish multimodule project to maven central chore: nexus-publish plugin cannot publish multi-module project to maven central Oct 13, 2021
@Neenu1995 Neenu1995 added the automerge Merge the pull request once unit tests and other checks pass. label Oct 13, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit 89b396a into main Oct 13, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the test-release-fix branch October 13, 2021 17:54
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants