Loading

CI/CD Pipeline Failure: Mule Maven Plugin Not Compatible with Maven 3.10.0 (Azure DevOps and GitHub Hosted Agents)

Дата публикации: Oct 9, 2026
Описание

Mule Maven Plugin builds in Azure DevOps and GitHub hosted pipelines are failing with NoSuchMethodError: DefaultMirrorSelector.add(...). The hosted agents were automatically updated to Apache Maven 3.10.0. The Mule Maven Plugin supports Maven 3.9.0 to 3.9.15 only, so these builds fail.

Решение
Cause
Microsoft-hosted build agents (Azure DevOps and GitHub runners) updated Apache Maven to 3.10.0 automatically, so customers did not make the change. Maven 3.10.0 changed an internal API that the Mule Maven Plugin uses. The plugin supports Maven 3.9.0 to 3.9.15 only, so 3.10.0 is not supported. Upgrading the plugin doesn't fix the failure, because every current release supports the same Maven range.

Applies to
  • Mule Maven Plugin 4.x, including 4.10.2.
  • Any pipeline running on an agent with Maven 3.10.0.

Workaround:
Run the pipeline with Maven 3.9.15 or lower.
Номер статьи базы знаний

005461491

 
Загрузка
Salesforce Help | Article