Updated run-maven-build to handle child processes