-
Notifications
You must be signed in to change notification settings - Fork 104
Description
Describe the bug
When using the Maven Explorer in VS Code, clicking the execute/play action next to a specific lifecycle phase such as compile does not run that phase directly. Instead, it opens a generic prompt asking me to choose a goal again. This is confusing and makes the UI look broken, because the action appears to be attached to a specific phase.
To Reproduce
Steps to reproduce the behavior:
- Open a Maven project in VS Code.
- Open the Maven Explorer.
- Expand a project’s Lifecycle section.
- Click the execute/play icon next to compile.
- A generic goal-selection prompt opens.
Expected behavior
The extension should run mvn compile directly for that project, or the UI should clearly indicate that the button opens a goal picker rather than executing the selected lifecycle phase.
Why this is a problem
The current behavior is misleading because the execute icon is shown next to a concrete lifecycle phase. Users reasonably expect that clicking execute on compile will execute compile, not ask them to choose compile again.
Environments (please complete the following information as much as possible):
- OS: Windows 11
- VS Code version: 1.113.0
- Extension version 0.45.1
Screenshots
Additional context
The UX violates the user’s mental model: an action rendered inline on a specific lifecycle phase should execute that phase, not reopen a global chooser.