Copy from https://github.com/agaricusb/MinecraftRemapping/blob/606a37541b91bfbf0705b1592df17fafffb60f27/mapbranch.py
Fix reading version from pom.xml in CB repo
Adapt mapbranch.py for running with Srg2Source 3, take 1
Add option to skip archiving; working automated CB per-commit remapping

Example output: https://github.com/agaricusb/MCPBukkit/commits/master
Add support for resuming commit remapping where you left off
Continue remapping on uncompileable commits

Required for https://github.com/Bukkit/CraftBukkit/commit/68a1a3592e613648c9f7744e1e559943db273993
Note the error is fixed in a subsequent commit