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
{{ message }}
Repository navigation
auron-build.sh fails to parse options after -D arguments #2227
When a -D Maven system property (e.g. -DskipBuildNative) appears before other command-line options, the script stops parsing further arguments, causing valid options after it to be ignored.
EG
sh auron-build.sh --pre --sparkver 3.5 --scalaver 2.12 -DskipBuildNative --sparktests true
Once a -D* argument is encountered, the argument parsing stops (due to break logic in -* handler).
Any options appearing after -D* (e.g. --sparktests, --sparkver) are not parsed.
ERROR INFO
`
[INFO] Starting Apache Auron build...
Unable to parse command line options: Unrecognized option: --sparktests
usage: mvn [options] [<goal(s)>] [<phase(s)>]
Options:
-am,--also-make If project list is specified,
also build projects required by
Activity
[AURON apache#2227] auron-build.sh fails to parse options after -D ar…
[AURON apache#2227] auron-build.sh fails to parse options after -D ar…
[AURON apache#2227] auron-build.sh fails to parse options after -D ar…
[AURON apache#2227] auron-build.sh fails to parse options after -D ar…
[AURON apache#2227] auron-build.sh fails to parse options after -D ar…
[AURON #2227] auron-build.sh fails to parse options after -D arguments (
[AURON apache#2460] Add --mvn, --goal and -- passthrough to auron-bui…