Here is a tip! add this function to your .bashrc / .profile file:
function ding(){
if [[ $? != 0 ]] ; then
afplay /System/Library/Sounds/Basso.aiff
else
afplay /System/Library/Sounds/Glass.aiff
fi
}
this way, you could use sounds to monitor your process by sounds!
for example:
mvn clean install ; ding
if the build fail it will play "basso" effect, and if it passes it will play "glass".