New version, added a project.patchPom closure for reuse