Updated build.xml

Updated the Github Commit Phase in order to remove deprecated methods.