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).
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.
To resolve the build failure, apply one of the following approaches:
Temporarily disable the Java version validation check during your Maven build execution.
-DskipJavaVersionValidation=true parameter in your Maven command:mvn clean package -DskipJavaVersionValidation=true
Update your project configuration to use Mule Maven Plugin version 4.10.3 or later, which resolves the matrix fallback issue.
pom.xml file.mule-maven-plugin configuration under the <build><plugins> section.<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>
mvn clean package
005462474

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.