You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix#12464: Skip MAVEN_ARGS for non-default main classes (--up, --enc, --shell) (#12465) (#12466)
When MAVEN_MAIN_CLASS is not the default MavenCling (i.e., when using
--up, --enc, or --shell), skip prepending $MAVEN_ARGS to the command
line. MAVEN_ARGS may contain build-specific flags like -ntp, -T4, -U
that are not recognized by MavenUpCling, MavenEncCling, or
MavenShellCling.
The handle_args function already sets MAVEN_MAIN_CLASS for these
sub-commands — use that to gate MAVEN_ARGS inclusion.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments