Robert Zubrin published a detailed plan for generating rocket fuel on Mars several years ago. His book "The Case for Mars" is a good read.
Such a technology really is a game changer for the economics of the mission. And you can send your robotic fuel factory and make sure it's working before you commit to launching people.