> -----Original Message----- > From: Grothaus, Christoph [mailto:[EMAIL PROTECTED] > Sent: Monday, 6 February 2006 7:25 PM > To: [email protected] > Subject: [maven-proxy] Problems with http proxies? > > Hi maven-users! > > I know this is a maven-proxy-related question, but I hope you can help me > nevertheless, as the archives of maven-proxy (http://archive.maven- > proxy.codehaus.org/user/) seem to be empty. > > I am trying to get up running maven-proxy 0.2 > (http://dist.codehaus.org/maven-proxy/distributions/maven-proxy- > standalone-0.2.zip). Therefore I used the demo configuration given at > http://cvs.maven-proxy.codehaus.org/maven- > proxy/core/src/test/resources/org/apache/maven/proxy/config/PropertyLoader > Test1.properties?rev=1.1&view=markup, but stripped down to just the > ibiblio and codehaus repositories. The properties file with these settings > is attached to this e-mail. > > Now I am encountering the following behaviour: when having direct > connection to the internet, everything works fine. When sitting behind the > corporate http proxy, maven-proxy get's no connection to ibiblio. > > Do you know what I can do to get maven-proxy working? Any hint is > appreciated.
I've answered this enough on this list now, it should be found in the Nabble archives. Do the following: 1) Specify proxy.list to include all the proxies you use, most likely you use just one proxy. proxy.list=one 2) Define the proxy details. Use one of the three examples in the properties file. I am assuming you have an unauthenticated proxy in this example. proxy.one.host= proxy.one.port= 3) Configure the repositories that are being proxied by maven-proxy to use the internet proxy just configured. repo.www-ibiblio-org.proxy=one repo.dist-codehaus-org.proxy=one If you need more details, see http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+enviro nment Barrie --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
