String (String content) { if (!mirrorDiscoverable) { System.err.println("Maven mirror at " + mavenMirrorUrl + " not reachable, so not using it."); return "<settings>" + content + "</settings>"; } System.out.println("Using Maven mirror at " + mavenMirrorUrl); return "<settings>" + content + "<mirrors>" + " <mirror>" + " <id>jb-central-proxy</id>" + " <url>" + mavenMirrorUrl + "</url>" + " <mirrorOf>external:*</mirrorOf>" + " </mirror>" + "</mirrors>" + "</settings>"; }