As part of ongoing MuleSoft security improvements, we are changing how Java version compatibility is determined during connector publishing. Going forward, Java version information will be captured at package time rather than resolved at publish time.
This change has no impact on running Mule applications or existing published connectors. It only affects the publishing of new connector versions.
Customers who are planning to publish a new version of their Anypoint custom connector with changes to the supported Java version.
Java connectors: add the Java version compatibility annotation to your connector class
XML connectors: update mule-extensions-maven-plugin to 1.9.0+
You do NOT need to act if:
Java connectors: if Java version compatibility is not changed
Your connector already uses mule-java-extension-parent 1.9.0+ or mule-modules-parent 1.9.0+
You are only deploying or running existing applications
Java connectors: add the @JavaVersionSupport annotation
Step 1: Update your Project Object Model (POM}:
<properties>
<mule.extensions.maven.plugin.version>1.9.0</mule.extensions.maven.plugin.version>
</properties>
<plugin>
<groupId>org.mule.runtime.plugins</groupId>
<artifactId>mule-extensions-maven-plugin</artifactId>
<version>${mule.extensions.maven.plugin.version}</version>
<extensions>true</extensions>
</plugin>
Step 2: Ensure your CI/CD pipeline uses JDK 17+ for the build.
Step 3: Rebuild your connector:
mvn clean install
Step 4: Republish to Anypoint Exchange.
After August 1, 2026, publishing a new XML MuleSoft connector version that changes supported Java versions without the required Project Object Model (POM) updates will fail with an error:
Upgrade your mule.extensions.maven.plugin.version to 1.9.0+
No. This change only affects the connector publishing process. All deployed Anypoint applications continue running without any impact.
No. Your compiler can remain at Java 8 or 11. Only the JDK used in your build pipeline must be version 17+. Your connector will still be compatible with Java 8/11 runtimes.
Your existing published connector versions remain available and functional. You only need to upgrade when you want to publish a new version that changes Java compatibility. Until then, no action is required.
Use Mule Extension Plugin 1.9.0+ so your connector declares its supported Java version in mule-artifact.json at build time.
005390141

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.