The package script should probably set -x, because it will currently continue despite failed commands. For example, if the jar command hits the command length limit, the build will produce a broken jar without any packaged dependencies and the user won't know anything is wrong until they hit runtime classpath issues.
The package script should probably
set -x
, because it will currently continue despite failed commands. For example, if thejar
command hits the command length limit, the build will produce a broken jar without any packaged dependencies and the user won't know anything is wrong until they hit runtime classpath issues.