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
`
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
`