What you should do is set up Nexus to proxy central (repo1.maven.org). Then configure your maven clients to use the nexus instance instead of going directly to central (or any public mirror). There different ways of doing this, at least one is outlined in the Nexus book by Sonatype. Have a look there.
/Anders On Thu, Aug 27, 2009 at 23:49, Hilco Wijbenga <[email protected]>wrote: > 2009/8/27 Alexander <[email protected]>: > > Wow, maybe you should talk with your sysops? > > That feels too much like fighting windmills. :-) > > > 2009/8/28 Hilco Wijbenga <[email protected]> > >> I work at a large company with a Maven 1(!) setup. The team I work in > >> wanted to set up a nice environment with Maven 2, Hudson and Nexus but > >> as it turns out JAR file downloading is blocked by the firewall. Is > >> there any way to work around this? > > Actually, as it turns out things are not as clear-cut as I initially > thought. > > wget > http://mirrors.ibiblio.org/pub/mirrors/maven/jetty/jars/jetty-4.2.10.jar > ---> works > wget http://repo1.maven.org/maven2/jetty/jetty/4.2.10/jetty-4.2.10.jar > ---> does not work > > So I also tried > > wget > http://mirrors.ibiblio.org/pub/mirrors/maven2/jetty/jetty/4.2.10/jetty-4.2.10.jar > > and, guess what: that works! > > So I've added iBiblio as a mirror of Central and it all works. Eat > that, firewall! ;-) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
