title: Maven and adding JARs to system scope
body: <p>I have a JAR in my Android project and I want it to be added to final APK.
  Okay, here I go:</p>
  
  <pre class="lang-xml prettyprint-override"><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.loopj.android.http&lt;/groupId&gt;
          &lt;artifactId&gt;android-async-http&lt;/artifactId&gt;
          &lt;version&gt;1.3.2&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;systemPath&gt;${project.basedir}/libs/android-async-http-1.3.2.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>But when I am running <code>mvn package</code> I am getting a warning:</p>
  
  <pre><code>[WARNING] Some problems were encountered while building the effective model for **apk:1.0
  [WARNING] 'dependencies.dependency.systemPath' for com.loopj.android.http:android-async-http:jar should not point at files within the project directory, ${project.basedir}/libs/android-async-http-1.3.2.jar will be unresolvable by dependent projects @ line 36, column 25
  </code></pre>
  
  <p>And in the final APK there are no JARs.</p>
  
  <p>How do I fix that?</p>