Commit 3810b47
fix(workspace): prevent Maven discovery from blocking fallthrough to other ecosystems
Two fixes:
1. discoverWorkspaceManifests now checks if Maven module discovery found
actual submodules (size > 1) before returning. A single-module Maven
project (just root pom.xml) falls through to Gradle/Go/uv/JS detection.
2. resolveMavenBinary now verifies the wrapper is accessible (runs it
with -v) before returning it, matching selectMvnRuntime behavior.
Also uses Operations.getExecutable instead of getCustomPathOrElse to
verify the system Maven binary exists.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b32dc96 commit 3810b47
1 file changed
Lines changed: 11 additions & 3 deletions
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
884 | 887 | | |
885 | 888 | | |
886 | 889 | | |
| |||
1076 | 1079 | | |
1077 | 1080 | | |
1078 | 1081 | | |
1079 | | - | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1080 | 1088 | | |
1081 | 1089 | | |
1082 | | - | |
| 1090 | + | |
1083 | 1091 | | |
1084 | 1092 | | |
1085 | 1093 | | |
| |||
0 commit comments