Actual behavior
When running the Maven commandlet from the GUI, Maven is executed from the workspace root instead of the actual project directory.
Reproduce
- Run
AppLauncher.
- Select a project and workspace.
- Open the
Commands view.
- Select the
mvn commandlet.
- Enter the following arguments:
clean test
- Execute the commandlet
- error: The goal you specified requires a project to execute but there is no POM in this directory (~\workspaces\main). Please verify you invoked Maven from the correct directory. -> [Help 1]
Expected behavior
The Maven commandlet should be executed from the correct project directory that contains the pom.xml, or the GUI should provide a way to select or configure the execution directory before running the commandlet.
For example, if the selected workspace contains a Maven project in a subdirectory, Maven should be executed from that project directory instead of the workspace root.
IDEasy status
IDE_ROOT is set to ~/projects
IDE_HOME is set to ~/projects/project
Your version of IDEasy is 2026.07.001.
Your version of IDEasy is 2026.07.001 but version 2026.07.002 is available. Please run the following command to upgrade to the latest version:
ide upgrade
Your operating system is windows(10.0)@x64 [Windows 11@amd64]
You are online.
Found bash executable at: C:/Program Files/Git/usr/bin/bash.***
Found git executable at: C:/Program Files/Git/mingw64/bin/git.***
Your settings are up-to-date.
Successfully completed ide (status)
Related/Dependent issues
No response
Comments/Hints
No response
Actual behavior
When running the Maven commandlet from the GUI, Maven is executed from the workspace root instead of the actual project directory.
Reproduce
AppLauncher.Commandsview.mvncommandlet.clean testExpected behavior
The Maven commandlet should be executed from the correct project directory that contains the pom.xml, or the GUI should provide a way to select or configure the execution directory before running the commandlet.
For example, if the selected workspace contains a Maven project in a subdirectory, Maven should be executed from that project directory instead of the workspace root.
IDEasy status
Related/Dependent issues
No response
Comments/Hints
No response