Skip to content

Add distributionManagement for snapshots.#7899

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_786349942
Jul 23, 2025
Merged

Add distributionManagement for snapshots.#7899
copybara-service[bot] merged 1 commit intomasterfrom
test_786349942

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

Add distributionManagement for snapshots.

This fixes the error:

Error:  Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.2:deploy (default-deploy) on project guava-bom: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -> [Help 1]

With that change, I was able to deploy snapshots for all the Guava artifacts from my local desktop after updating my .m2/settings.xml. (Specifically, I copied my recently added central entry to a new entry with an id of sonatype-nexus-snapshots.)

RELNOTES=n/a

This fixes the error:

```
Error:  Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.2:deploy (default-deploy) on project guava-bom: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -> [Help 1]
```

With that change, I was able to deploy snapshots for all the Guava artifacts from my local desktop after updating my `.m2/settings.xml`. (Specifically, I copied my recently added `central` entry to a new entry with an `id` of `sonatype-nexus-snapshots`.)

RELNOTES=n/a
PiperOrigin-RevId: 786368949
@copybara-service copybara-service bot merged commit c4ee1e1 into master Jul 23, 2025
@copybara-service copybara-service bot deleted the test_786349942 branch July 23, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants