Java Dependency Error: Could not resolve the CycloneDX Gradle Plugin while installing a APP

0
Getting below error when trying to install the APP in Mendix Studio pro 10.13.1   FAILURE: Build failed with an exception.* Where:Build file 'C:\Users\Administrator\Mendix\MVPSupplierCollab-main\vendorlib\temp\build.gradle' line: 2* What went wrong:Plugin [id: 'org.cyclonedx.bom', version: '1.8.1'] was not found in any of the following sources:- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)- Plugin Repositories (could not resolve plugin artifact 'org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:1.8.1')  Searched in the following repositories:    Gradle Central Plugin Repository* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.> Get more help at https://help.gradle.org.       I have tried the steps mentioned in https://community.mendix.com/link/space/community/questions/134236  but still I am facing the same error again.   Please suggest
asked
3 answers
1

Hi Aakash,

 

Please refer the below two similar conversations, 

https://community.mendix.com/link/space/community/questions/134236

https://community.mendix.com/link/space/studio-pro/questions/131085

 

I hope it Helps!

Thanks & Regards,

Manikandan K

answered
0

Dear Aakash ,


Go to the build.gradle file and disable CycloneDX .once you disable this file then clean the deployment directory and rerun the application.


Regards,

Mohamed Rasik.N

answered
0

hi,


This error:


Plugin [id: 'org.cyclonedx.bom', version: '1.8.1'] was not found

is not a Mendix model error — it is a Gradle build/plugin resolution issue that happens when Studio Pro cannot download the required plugin from the Gradle repositories during install/build.

Why this happens (100% real causes)

Gradle tries to fetch the CycloneDX BOM plugin (used by Mendix build process) from the online repository. If Studio Pro cannot reach those repositories, the build fails with exactly this error.

Common causes seen in official community threads:

  • Corporate proxy or security gateway (ZScaler, Bluecoat, etc.) blocking access
  • Missing root certificate in the Java JDK truststore used by Studio Pro
  • Gradle can’t access plugins.gradle.org → plugin download fails

This matches multiple Mendix community reports of the same error in Mendix 10 when installing modules.


1. Add your proxy/root certificate to Java truststore

If you are behind a corporate proxy (e.g., ZScaler), Studio Pro’s JDK must trust it:

  1. Open the JDK used by Studio Pro
  2. (Edit → Preferences → Deployment → JDK Directory)
  3. Locate lib/security/cacerts
  4. Import your proxy/root CA into that keystore
  5. (password is changeit)
  6. Restart Studio Pro
  7. This allows Gradle to fetch plugins securely.

2. Configure proxy for Gradle

Create or edit:


C:\Users\<username>\.gradle\gradle.properties

Add:


systemProp.http.proxyHost=YOUR_PROXY
systemProp.http.proxyPort=YOUR_PROXY_PORT
systemProp.https.proxyHost=YOUR_PROXY
systemProp.https.proxyPort=YOUR_PROXY_PORT

This lets Gradle route through the proxy.

3. Allow Gradle repository access in Studio Pro

Go to:

Edit → Preferences → Deployment → Use custom repositories

  • Turn Yes
  • Add:

https://plugins.gradle.org/m2
https://repo.maven.apache.org/maven2

This helps if the default repository is blocked.

clean steps

  • Delete C:\Users\<username>\.gradle
  • Clean deployment directory in Studio Pro
  • Restart Mendix Studio Pro
  • These force Gradle to re-download dependencies.

Why this fixes it

Mendix’s build process uses Gradle under the hood and retrieves plugins like org.cyclonedx.bom from the Gradle Plugin Portal. If Studio Pro’s JDK cannot reach those repositories or does not trust the cert chain, Gradle reports “plugin not found” even though it exists online.

answered