Loading

MuleSoft-Anypoint Runtime Fabric: Custom Connector Publishing: Security-Driven Changes to Extension Model Resolution

Udgivelsesdato: Jul 30, 2026
Beskrivelse

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.

 

Løsning

Who needs to act

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

 

Upgrade Instructions for Java Connectors with MuleSoft Anypoint Connectors

  • Java connectors: add the @JavaVersionSupport annotation

 

Upgrade Instructions for Anypoint XML Connectors

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.

 

What happens if you don't upgrade

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+

 

Frequently Asked Questions

Will my running Mule applications break?

No. This change only affects the connector publishing process. All deployed Anypoint applications continue running without any impact.

Do I need to change my compiler source or target version for MuleSoft?

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.

What if my MuleSoft Anypoint connector was built with an older Mule SDK version and I don't want to upgrade yet?

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.

What should I do for the new XML connectors I'm working on with MuleSoft?

Use Mule Extension Plugin 1.9.0+ so your connector declares its supported Java version in mule-artifact.json at build time.

 

Vidensartikelnummer

005390141

 
Indlæser
Salesforce Help | Article