Feature Request: Add jdt_maven_update_project tool #4
Labels
No labels
bug
build
enhancement
headless
P1-critical
P2-high
P3-medium
P4-low
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-tools/jdt-mcp-server#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When Maven POM files are modified (e.g., changing groupId, adding dependencies), the
jdt_refresh_projecttool only refreshes files from the filesystem but does not update Maven dependencies in Eclipse.This results in "build path errors" that can only be resolved by manually running "Maven > Update Project" in Eclipse.
Proposed Solution
Add a new tool
jdt_maven_update_project(or similar) that triggers the M2E "Update Project" functionality:Use Case
When using JDT MCP for refactoring that involves:
The workflow would be:
jdt_maven_update_projectjdt_refresh_projectCurrent Workaround
Users must manually update Maven projects in Eclipse IDE or run
mvn installto work around this limitation.