Hi Thipor,
yes that something that's definitely an option (see the discussion on
https://github.com/ceylon/ceylon-module-resolver/issues/38 ) but it's not see much the code itself which is the problem, that is changed easily enough I guess. We're more worried about the extra dependencies that would mean for the base system.
Now you could argue (correctly) that we already ship the Apache client anyway so that wouldn't pose too much of a problem, but right now that dependency is optional, changing this would make it (and *its* dependencies) required. Which is not a decision to take too lightly.
As mentioned in the issue we could consider making our own contained implementation of proxy authentication on top of HttpURLConnection, but we don't know how much of a can of worms that would be.
So unfortunately I don't think this will be part of the 1.2 release (unless my colleagues disagree). Which means that you'll have to stick to passing -Dhttp.proxy parameters to the runtime for the time being.