Updated run-maven-build with new state handlers