title: Android - Maven Build - Proguard - can't find referenced class
body: <p>At the moment I am trying to setup a maven build for my existing Android application. (had been built with Ant before) While running the proguard obfuscation I am getting a lot of warnings telling me the following: </p>
  
  <pre><code>...
  can't find referenced class org.apache.http.params.BasicHttpParams
  can't find referenced class org.apache.http.params.BasicHttpParams
  can't find referenced class org.apache.http.params.HttpConnectionParams
  can't find referenced class org.apache.http.params.HttpConnectionParams
  can't find referenced class org.apache.http.impl.client.DefaultHttpClient
  can't find referenced class org.apache.http.impl.client.DefaultHttpClient
  can't find referenced class org.apache.http.impl.client.DefaultHttpClient
  can't find referenced class org.apache.http.auth.AuthScope
  can't find referenced class org.apache.http.auth.AuthScope
  can't find referenced class org.apache.http.auth.UsernamePasswordCredentials
  ...
  </code></pre>
  
  <p>The missing references are from the <em>org.apache.http</em> package. I thought that they should be included in the android.jar. I am using the <em>android-maven-plugin</em> version <em>3.2.0</em>. The following android dependency is defined in the pom.xml.</p>
  
  <pre><code>&lt;dependency&gt;
   &lt;groupId&gt;android&lt;/groupId&gt;
   &lt;artifactId&gt;android&lt;/artifactId&gt;
   &lt;version&gt;4.0.3_r3&lt;/version&gt;
   &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I have installed the Android dependencies with the <em>maven-android-sdk-deployer</em>.</p>
  
  <p>What is the correct solution for this kind of error? Without obfuscation the build is successful and the resulting APK works perfectly fine. I haven't changed the proguard config file. (it worked in combination with ant)</p>