Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MAVEN-1405 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-1405 Summary: Maven can not authentificate to a HTTP Proxy Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Versions: 1.0 Assignee: Reporter: Philipp Kohl Created: Mon, 26 Jul 2004 4:05 AM Updated: Mon, 26 Jul 2004 4:05 AM Environment: Windows 2000, Squid Proxy on Linux with User Authentification Description: I am using windows 2000 and I'm sitting behind a firewall, so I added this to my %USERPROFILE%\build.properties: maven.proxy.host = myProxyHostIpAddress maven.proxy.port = 8080 maven.proxy.username = myUsername maven.proxy.password = myPassword this should enable the usage of our proxy, right? But unfortunately I still get this error messages when I start maven for my project: ###snipp### > maven __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 Plugin cache will be regenerated Directory C:\java\.maven\repository does not exist. Attempting to create. Attempting to download dom4j-1.4-dev-8.jar. Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception A recoverable exception occurred.org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" retrying (1) Error retrieving artifact from [http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4-dev-8.jar]: org.apache.commons.httpclient.HttpException: Already used, but not recycled. WARNING: Failed to download dom4j-1.4-dev-8.jar. Attempting to download commons-jelly-20030902.160215.jar. Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception A recoverable exception occurred.org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP" retrying (1) Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-20030902.160215.jar]: org.apache.commons.httpclient.HttpException: Already used, but not recycled. WARNING: Failed to download commons-jelly-20030902.160215.jar. ... WARNING: Failed to download xml-apis-1.0.b2.jar. The build cannot continue because of the following unsatisfied dependencies: dom4j-1.4-dev-8.jar commons-jelly-20030902.160215.jar commons-jelly-tags-jsl-20030211.143151.jar commons-jelly-tags-log-20030211.142821.jar commons-jelly-tags-velocity-20030303.205659.jar commons-jelly-tags-xml-20040613.030723.jar (try downloading from http://jakarta.apache.org/commons/jelly/libs/xml/) commons-logging-1.0.3.jar velocity-1.4-dev.jar velocity-dvsl-0.45.jar xml-apis-1.0.b2.jar ###snapp### After changing org.apache.maven.util.HttpUtils >diff -a -b -u HttpUtils.bak HttpUtils.java --- HttpUtils.bak 2004-07-25 11:33:23.668054700 +0200 +++ HttpUtils.java 2004-07-26 09:51:40.355554700 +0200 @@ -367,6 +367,7 @@ client.setHostConfiguration(hc); if (creds != null) { client.getState().setProxyCredentials(null, null, creds); + client.getState().setAuthenticationPreemptive(true); } // Basic authentication It works fine... --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
