You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Edwin Punzalan (JIRA)" <ji...@codehaus.org> on 2005/10/21 10:55:12 UTC
[jira] Updated: (MNG-1019) downloads not rejected when a proxy returns 302; repository gets corrupted
[ http://jira.codehaus.org/browse/MNG-1019?page=all ]
Edwin Punzalan updated MNG-1019:
--------------------------------
Attachment: MNG-1019-wagon-http-lightweight.patch
I'm not sure if this patch should go here...
It seems like wagon-http-lightweight does not check the response code of its connection. Attaching fix.
> downloads not rejected when a proxy returns 302; repository gets corrupted
> --------------------------------------------------------------------------
>
> Key: MNG-1019
> URL: http://jira.codehaus.org/browse/MNG-1019
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: WinxP laptop, running on a WLAN that has one of those restricted-access-login pages; all HTTP requests are turned into a 302 responses redirecting to the login page.
> Reporter: Steve Loughran
> Assignee: Edwin Punzalan
> Fix For: 2.0.1
> Attachments: MNG-1019-wagon-http-lightweight.patch
>
>
> I was trying to do a build in a meeting, but site IT have just changed their security policy for guests; instead of a transparent proxy, we have a transparent proxy that 302s all requests from an unknown client to their login page.
> Here is a bit of the log:
> [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
> [m2:libraries] [WARNING] Unable to get resource from repository remote (file:///
> C:/Projects/SmartFrog/core/antbuild/repository/)
> [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
> [m2:libraries] [WARNING] Unable to get resource from repository remote (file:///
> C:/Projects/SmartFrog/core/components/lib/)
> [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
> [m2:libraries] Transferring 0K
> [m2:libraries] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
> l = '46b0527200bcc179e835380eb454b48f6cc16e81'; remote = '<HTML>
> [m2:libraries] <HEAD>
> [m2:libraries] <TITLE>302' - RETRYING
> [m2:libraries] Downloading: servletapi/servletapi/2.3/servletapi-2.3.pom
> [m2:libraries] Transferring 0K
> [m2:libraries] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
> l = '46b0527200bcc179e835380eb454b48f6cc16e81'; remote = '<HTML>
> [m2:libraries] <HEAD>
> [m2:libraries] <TITLE>302' - IGNORING
> [m2:libraries] [WARNING] POM for: 'servletapi:servletapi:pom:2.3' does not appea
> r to be valid. Its will be ignored for artifact resolution.
> this is going to be a dog to test.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org