properly report deploy failures
maven 3.1 fix