Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

commons-beanutils dependency version update

Avatar

Community Advisor

Hi all,
I am trying to update this dependency version from 1.9.4 to 1.11.0 as the earlier one is having one vulnerability issue.
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
</dependency>
Please check: https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils

But on deploying the project using mvn clean install -PautoInstallPackage, I am getting the below error:

[ERROR] C:\Users\Kapil Rajoriya\Desktop\project\latest codebase\com.project.base.v1\bundle\pom.xml [0:0]: Classes found in the wrong directory: {META-INF/versions/9/module-info.class=module-info}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for com.project.base 7.5.1-SNAPSHOT:
[INFO]
[INFO] com.project.base ....................................... SUCCESS [ 0.990 s]
[INFO] project.com Base Bundle ................................ FAILURE [ 18.163 s]
[INFO] project - Repository Structure Package ................. SKIPPED
[INFO] project - UI apps ...................................... SKIPPED
[INFO] project - UI content ................................... SKIPPED
[INFO] project - All .......................................... SKIPPED
[INFO] project - Integration Tests Bundles .................... SKIPPED
[INFO] project - Integration Tests Launcher ................... SKIPPED
[INFO] project - Dispatcher ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.497 s
[INFO] Finished at: 2025-06-24T10:27:26+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-maven-plugin:5.0.0:bnd-process (bnd-process) on project com.project-bundle: Classes found in the wrong directory: {META-INF/versions/9/module-info.class=module-info} -> [Help 1]
[ERROR]

can anyone help with this? what is the recommended way to fix it?
What I have already tried that don't work?

<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>bnd-process</goal>
</goals>
<configuration>
<exclude>
META-INF/versions/9/module-info.class
</exclude>
</configuration>
</execution>
</executions>
</plugin>

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor