title: Can access maven repository from behind proxy, need help
body: <p>I am trying to access maven repository from behind proxy.
  I configured settings.xml correctly (i guess so...)</p>
  
  <pre><code>  &lt;proxies&gt;
      &lt;proxy&gt;
        &lt;active&gt;true&lt;/active&gt;
        &lt;protocol&gt;http&lt;/protocol&gt;
        &lt;username&gt;username&lt;/username&gt;
        &lt;password&gt;password&lt;/password&gt;  
        &lt;host&gt;12.34.56.78&lt;/host&gt;
        &lt;port&gt;8080&lt;/port&gt;
      &lt;/proxy&gt;
    &lt;/proxies&gt;
  </code></pre>
  
  <p>But still I am getting an error message like... if i don't configure userid/password gets correct error message which is HTTP response code <code>407</code> - saying authentication required.
  But If I configure correct/incorrect proxy authentication it always prints below error message....</p>
  
  <pre>
  Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error trans
  ferring file: Server redirected too many  times (20)
  Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
  [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error trans
  ferring file: Server redirected too many  times (20)
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  </pre>