Skip to content

Maven java exec#288

Open
tartarughina wants to merge 3 commits into
zed-extensions:mainfrom
tartarughina:maven-java-exec
Open

Maven java exec#288
tartarughina wants to merge 3 commits into
zed-extensions:mainfrom
tartarughina:maven-java-exec

Conversation

@tartarughina

Copy link
Copy Markdown
Collaborator

Refactor Maven exec to run main class in standalone JVM

Switch from exec:java to exec:exec with explicit Java invocation,
allowing JDWP debugging to target the application process rather than
Maven itself. Pass debug args via -Dexec.args and set
-Dexec.inheritIo=true and -Dexec.longClasspath=true for proper
I/O and classpath handling.
Update tests to verify the new exec mode and add a test case for
standalone JVM debugging.

tartarughina and others added 3 commits July 18, 2026 00:05
- Update all `Cargo.toml` versions and `Cargo.lock`
- Move task helper binary to `task-bin/` directory to avoid
  breaking `tasks.json` on each release
- Simplify gradle bridge release fetching to use compile-time version
- Extract platform-specific binary naming to shared utilities
Switch from `exec:java` to `exec:exec` with explicit Java invocation,
allowing JDWP debugging to target the application process rather than
Maven itself. Pass debug args via `-Dexec.args` and set
`-Dexec.inheritIo=true` and `-Dexec.longClasspath=true` for proper
I/O and classpath handling.

Update tests to verify the new exec mode and add a test case for
standalone JVM debugging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant