You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Bosschaert (JIRA)" <ji...@codehaus.org> on 2012/06/20 12:13:21 UTC

[jira] (MNG-5300) 404 HTML page downloaded into .m2/repository instead of considering resource as missing

David Bosschaert created MNG-5300:
-------------------------------------

             Summary: 404 HTML page downloaded into .m2/repository instead of considering resource as missing
                 Key: MNG-5300
                 URL: https://jira.codehaus.org/browse/MNG-5300
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Artifacts and Repositories, Dependencies
    Affects Versions: 3.0.3
         Environment: Mac OSX Lion / Java 1.6
            Reporter: David Bosschaert


Sometimes when I use Maven when connected to the internet via a mobile phone maven doesn't process missing resources properly. Instead of considering a resource not found, all of the files (poms, jars etc) contain the HTML below. This basically pollutes my .m2/repository as the system thinks certain resources are there where in fact they only contain this error message as content. It only happens when I use my mobile phone to connect to the internet, not when I'm connected otherwise.

All other applications work fine over the mobile phone connection, only maven acts up like this. Is there any way to get around this?

{code:xml}<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" 
  "http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>* Error *</title>
        <!-- 
            Change href="style.css" below to the file name and
            relative path or URL of your external style sheet.
          --> 
        <!-- 
        <link rel="stylesheet" href="style.css" type="text/css"/>
        <style> document-wide styles would go here </style>
        -->
    </head>
    <body>
        <h1>Sorry</h1>
		<ul>
		    The requested item could not be found!<br/>(Status Code: 404)
		</ul>	    
	</body>
</html>{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira