title: wget not working to download jar file from maven repo
body: <p>I'm trying to download a single jar file from the maven repository, from the URL below.</p>
  
  <p><a href="http://repo1.maven.org/maven2/com/google/guava/guava-testlib/10.0/guava-testlib-10.0.jar" rel="noreferrer">http://repo1.maven.org/maven2/com/google/guava/guava-testlib/10.0/guava-testlib-10.0.jar</a></p>
  
  <ul>
  <li><p>Downloading in a browser works fine, and I get the file as expected.</p></li>
  <li><p>'wget' downloads something, but the file I get doesn't appear to be valid. Running 'jar -tf' on the downloaded file gives 'ZipException: error in opening zip file'.</p></li>
  <li><p>Downloading the file programmatically from Java ('InputStream' from the URL writing to a 'FileOutputStream') downloads something and creates the file. Opening that with WinZip/7-Zip, it appears to contain one file named 'guava-testlib-10.0', which looks like the jar archive I was expecting to get.</p></li>
  <li><p><code>wget</code> another jar does work as expected at least sometimes (with <code>-U</code> user agent string)</p></li>
  </ul>
  
  <p>Is this some dodgy interaction between wget/maven or Java/maven? Is it a malformed jar file that my browser understands and downloads correctly? Both of those seem slightly implausible to me.</p>