title: How to use httpclient 4.1.x with Maven
body: <p>httpclient version 4.0 works in my pom.xml:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
    &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
    &lt;version&gt;4.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>...but versions > 4.0 don't compile:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
    &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
    &lt;version&gt;4.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>[ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] Error building POM (may not be this project's POM).
  
  
  Project ID: unknown:httpclient
  
  Reason: Parent: null:httpmime:jar:null of project: unknown:httpclient has wrong
  packaging: jar. Must be 'pom'. for project unknown:httpclient
  </code></pre>
  
  <p>Any idea how to use httpclient 4.1 with Maven?</p>