[ http://jira.codehaus.org/browse/WAGON-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-87: ------------------------------ Fix Version/s: 1.0-beta-3 > downloads not rejected when a proxy returns 302; repository gets corrupted > -------------------------------------------------------------------------- > > Key: WAGON-87 > URL: http://jira.codehaus.org/browse/WAGON-87 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-http-lightweight > 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 > Fix For: 1.0-beta-3 > > 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