Skip to content

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented May 23, 2025

The nexus-staging-maven-plugin extension is wrapped by a profile "release-sonatype" because the extension interferes with maven-deploy-plugin. Example error: [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0:deploy (injected-nexus-deploy) on project google-api-client-bom: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0:deploy failed: Server credentials with ID "sonatype-nexus-staging" not found! -> [Help 1]

We use maven-deploy-plugin to upload artifacts to Artifact Registry, as well as to locally create bundle for Central Portal API.

This follows googleapis/google-oauth-java-client@8e6ce3a.

The nexus-staging-maven-plugin extension is wrapped by a profile
"release-sonatype" because the extension interferes with maven-deploy-plugin.
We use maven-deploy-plugin to upload artifacts to Artifact Registry.
@suztomo suztomo requested a review from a team as a code owner May 23, 2025 13:17
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label May 23, 2025
@suztomo suztomo changed the title ci: profile to upload to GCP Artifact Registry ci: wrap nexus-staging-maven-plugin in a profile May 23, 2025
@suztomo suztomo merged commit 7ccb2fc into googleapis:main May 23, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants