maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Glover <>
Subject Re: mvn test -DproxyHost=... -DproxyPort=...
Date Wed, 10 Jun 2009 13:35:52 GMT

I'm having the same problem.  Below I paste the error message I get. (I posted this a few
days earlier as well).  Is this similar to the error you receive? (Note you need to use the
-X option on the mvn command you are using to make the expanded console output appear so that
you can see if you too get this error message).

[DEBUG] Connecting to repository: 'central' with url: ''.
[DEBUG] Using Proxy:
[DEBUG] Access denied to:
org.apache.maven.wagon.authorization.AuthorizationException: Access denied to:
    at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
    at org.apache.maven.wagon.StreamWagon.getInputStream(
    at org.apache.maven.wagon.StreamWagon.getIfNewer(
    at org.apache.maven.wagon.StreamWagon.get(
    at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(
    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(

----- Original Message ----
From: Paolo Castagna <>
To: "" <>
Sent: Wednesday, June 10, 2009 4:33:20 AM
Subject: mvn test -DproxyHost=... -DproxyPort=...

I need to run a test suite which needs to connect to public web servers and
I am behind a web proxy.

I use:

mvn test -DproxyHost=... -DproxyPort=...
mvn test -DproxySet=true -DproxyHost=... -DproxyPort=...

Everything works fine with Maven v2.0.9 but with Maven v2.0.10 or v2.1.0
seems to me that the proxy does not get used.

I am probably missing something obvious...

Any help?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message