Hydrocarbons are the ideal type of chemical to store and transport energy - nothing else even comes close.
So we have to make hydrocarbons, or mine them.
The goal of the military to reduce the supply line is impossible - they can move away from fossil fuels, but they can't move away from hydrocarbons.
Unless they wish to setup local nuclear reactors.
Solar power simply can not provide enough power while simultaneously being portable. It's also a huge target since solar power uses such a large area.
Generating biofuel locally is a joke. I can just see soldiers driving combines to harvest a crop. Just like solar, biofuels also require a large area. And once you'ved used all the local plants then what?
Next thing you know all local war zones will look like the moon as the army strips every plant for hundreds of miles.