public static class ManualWagonProvider implements WagonProvider {
public Wagon lookup(String roleHint)
throws Exception {
if ("file".equals(roleHint)) {
return new FileWagon();
} else if ("http".equals(roleHint)) {
LightweightHttpWagon wagon = new LightweightHttpWagon();
wagon.setAuthenticator(new LightweightHttpWagonAuthenticator());
return wagon;
} else if ("https".equals(roleHint)) {