Loading

Mule Maven Plugin process-classes Fails to Determine Supported Java Versions

Julkaisupäivä: Oct 21, 2026
Kuvaus

When executing a Maven build using Mule Maven Plugin 4.10.2 in an environment where outbound internet access to remote resources is restricted, the process-classes goal fails with an error similar to the following:

[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:4.10.2:process-classes (default-process-classes) on project <project-name>: process-classes exception: Could not determine the Java versions supported by the Mule Runtime <version> (as declared in minMuleVersion). The Mule Runtime support matrix does not list this version (The Mule Runtime support matrix could not be read from <remote-url> nor from the bundled resource /jdk/mule-runtime-support-matrix.json). 
Ratkaisu

CAUSE

Mule Maven Plugin (MMP) 4.10.2 introduced a Java version validation feature that checks a remote URL to retrieve the latest mule-runtime-support-matrix.json file. If the remote URL is unreachable, the plugin is intended to fall back to a bundled local copy of the matrix JSON file. However, in version 4.10.2, this fallback does not execute properly when network access is restricted, causing the build to fail immediately.

SOLUTION

To resolve the build failure, apply one of the following approaches:

Workaround: Skip Java Version Validation

Temporarily disable the Java version validation check during your Maven build execution.

  1. Pass the -DskipJavaVersionValidation=true parameter in your Maven command:
mvn clean package -DskipJavaVersionValidation=true

Upgrade Mule Maven Plugin

Update your project configuration to use Mule Maven Plugin version 4.10.3 or later, which resolves the matrix fallback issue.

  1. Open your project's pom.xml file.
  2. Locate the mule-maven-plugin configuration under the <build><plugins> section.
  3. Update the plugin version property or <version> tag to 4.10.3 or newer:
<plugin>
    <groupId>org.mule.tools.maven</groupId>
    <artifactId>mule-maven-plugin</artifactId>
    <version>4.10.3</version>
    <extensions>true</extensions>
</plugin>
  1. Verify by running your standard build command in the restricted environment:
mvn clean package

APPLIES TO

  • Mule Maven Plugin 4.10.2
  • Mule Runtime 4.x
Knowledge-artikkelin numero

005462474

 
Ladataan
Salesforce Help | Article