Commit 831da06
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 3f0af07 commit 831da06
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 | |
|---|---|---|---|
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
893 | 896 | | |
894 | 897 | | |
895 | 898 | | |
| |||
1121 | 1124 | | |
1122 | 1125 | | |
1123 | 1126 | | |
1124 | | - | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1125 | 1133 | | |
1126 | 1134 | | |
1127 | | - | |
| 1135 | + | |
1128 | 1136 | | |
1129 | 1137 | | |
1130 | 1138 | | |
| |||
0 commit comments