Skip to content

Upgrade mvnw to 3.10.x #1189

Open
Open

Description

@Kehrlann

CI now uses mvnw instead of the bundled mvn CLI to align versions.
Publishing started failing with maven 3.10, see https://github.com/modelcontextprotocol/java-sdk/actions/runs/38772171258

TL;DR: With Maven 3.10.0, the staging metadata in target/central-staging is written as
maven-metadata-local.xml. central-publishing-maven-plugin 0.7.0 only removes
maven-metadata-central-staging.xml before bundling, so the leftover files end up in the
bundle and Central rejects the deployment:

Deployment <id> failed
common:
 - Bundle has content that does NOT have a .pom file: io/modelcontextprotocol/sdk/mcp-core, io/modelcontextprotocol/sdk/mcp, ...

Activity

  1. self-assigned this
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildBuild and CI related issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions