It's been reported that building JMC does not work behind a proxy.
See: https://github.com/JDKMissionControl/jmc/issues/11