title: How do I create an apklib for a non maven project
body: <p>My android application depends on an android library project which comes from a 3rd party. I am switching my build environment over to maven and following the samples has gone fairly smooth but the last step is this. I don't understand what I actually need to <strong><em>do</em></strong>. I've read the apklib page <a href="http://code.google.com/p/maven-android-plugin/wiki/ApkLib" rel="nofollow">here</a>. I've never seen a document dance around what you actually do better than this document. It contains 1 snippet of how you reference an apklib but no information at all about how you actually generate it? </p>
  
  <p>Also, my project structure looks like this</p>
  
  <pre><code>/projectroot/app   (main application android project source code)
  /projectroot/shared/lib1  
  /projectroot/shared/lib2 (3rd party lib i don't want to create pom.xml for)
  </code></pre>
  
  <p>I have projectroot/pom.xml with a modules section like so:</p>
  
  <pre><code>&lt;modules&gt;
      &lt;module&gt;shared/lib1&lt;/module&gt;
      &lt;module&gt;shared/lib2&lt;/module&gt;
      &lt;module&gt;app&lt;/module&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p>Is this the correct? In all the module examples I see they refer to folders direct children whereas mine are nested further.</p>
  
  <p>Main thing I'm looking for is how to make lib2 an apklib to reference from app/pom.xml.</p>