title: Can't run Proguard on Android maven project
body: <p>I have got a problem with running proguard on maven project. I have test and release version of the project. Release version sign and obfuscate the code. When I run my android project in test mode everything goes well however when I switch to release mode exception is thrown.
  My Maven vesrion is Maven 3.2.1, Android mavenPlugin 3.6.0 and Jdk 1.6 </p>
  
  <p>Below you can see pom file from my project</p>
  
  <blockquote>
    <p>
    http://maven.apache.org/maven-v4_0_0.xsd">
        4.0.0
        SimpleTest
        MavenTest
        1.0-SNAPSHOT
        apk
        MavenTest
        
            UTF-8
             4.1.1.4
                        
            3.8.2
        </p>
  </blockquote>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.android&lt;/groupId&gt;
          &lt;artifactId&gt;android&lt;/artifactId&gt;
          &lt;version&gt;${platform.version}&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;android&lt;/groupId&gt;
          &lt;artifactId&gt;android&lt;/artifactId&gt;
          &lt;version&gt;4.1.2_r4&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;android.support&lt;/groupId&gt;
          &lt;artifactId&gt;compatibility-v4&lt;/artifactId&gt;
          &lt;version&gt;r10&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt;
              &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;${android.plugin.version}&lt;/version&gt;
              &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;configuration&gt;
                  &lt;sdk&gt;
                      &lt;platform&gt;16&lt;/platform&gt;
                  &lt;/sdk&gt;
                  &lt;dex&gt;
                      &lt;coreLibrary&gt;true&lt;/coreLibrary&gt;
                  &lt;/dex&gt;
                  &lt;sign&gt;
                      &lt;debug&gt;false&lt;/debug&gt;
                  &lt;/sign&gt;
                  &lt;zipalign&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                      &lt;inputApk&gt;${project.build.directory}/${project.artifactId}-${project.version}.apk&lt;/inputApk&gt;
                      &lt;outputApk&gt;${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk
                      &lt;/outputApk&gt;
                  &lt;/zipalign&gt;
                  &lt;manifest&gt;
                      &lt;debuggable&gt;false&lt;/debuggable&gt;
                      &lt;versionCodeAutoIncrement&gt;true&lt;/versionCodeAutoIncrement&gt;
                  &lt;/manifest&gt;
                  &lt;proguard&gt;
                      &lt;skip&gt;false&lt;/skip&gt;
                      &lt;config&gt;proguard.cfg&lt;/config&gt;
                      &lt;proguardJarPath&gt;${proguard.jarpath}&lt;/proguardJarPath&gt;
                  &lt;/proguard&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>and error :</p>
  
  <blockquote>
    <p>Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:proguard (default-proguard) on project MavenTest: MojoExecutionException: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /home/git/mavenTest/MavenTest &amp;&amp; /opt/oracle/jdk1.6.0_32/jre/bin/java -Xmx512M -jar /opt/proguard/proguard4.10/lib/proguard.jar @/home/git/mavenTest/MavenTest/proguard.cfg -injars '/home/git/mavenTest/MavenTest/target/classes' -injars '/home/.m2/repository/android/support/compatibility-v4/r10/compatibility-v4-r10.jar(!META-INF/maven/<strong>,!META-INF/MANIFEST.MF)' -libraryjars '/opt/oracle/jdk1.6.0_32/jre/lib/rt.jar' -libraryjars '/opt/oracle/jdk1.6.0_32/jre/lib/jsse.jar' -libraryjars '/opt/oracle/jdk1.6.0_32/jre/lib/jce.jar' -libraryjars '/home/.m2/repository/com/google/android/android/4.1.1.4/android-4.1.1.4.jar(!org/xml/</strong>,!org/w3c/<strong>,!java/</strong>,!javax/<strong>)' -libraryjars '/home/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar' -libraryjars '/home/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar' -libraryjars '/home/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar' -libraryjars '/home/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar' -libraryjars '/home/.m2/repository/org/khronos/opengl-api/gl1.1-android-2.1_r1/opengl-api-gl1.1-android-2.1_r1.jar' -libraryjars '/home/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar' -libraryjars '/home/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar' -libraryjars '/home/.m2/repository/org/json/json/20080701/json-20080701.jar' -libraryjars '/home/.m2/repository/android/android/4.1.2_r4/android-4.1.2_r4.jar(!org/xml/</strong>,!org/w3c/<strong>,!java/</strong>,!javax/**)' -outjars '/home/git/mavenTest/MavenTest/target/MavenTest-1.0-SNAPSHOT_obfuscated.jar' -dump '/home/git/mavenTest/MavenTest/target/proguard/dump.txt' -printseeds '/home/git/mavenTest/MavenTest/target/proguard/seeds.txt' -printusage '/home/zjuroszek/git2/mavenTest/MavenTest/target/proguard/usage.txt' -printmapping '/home/zjuroszek/git2/mavenTest/MavenTest/target/proguard/mapping.txt', Result = 1 -> [Help 1]</p>
  </blockquote>