Added conditional checking for the build script. If any of the maven scripts fail, the build script will not run other tests.