title: android-maven-plugin: Disable debug build for apk
body: <p>I am not clear about the exact procedure for disabling debug build while building with android-maven-plugin:</p>
  
  <p>I understand that the export wizard with ADT(21.1) will automatically disable debugging but it is broken as BuildConfig.DEBUG always returns true and my logging used to depend on it. (Now I have my own property for logging defined in my maven build profiles.)</p>
  
  <p>So if I have to disable debugging using android-maven-plugin, what is the the right way to do it?</p>
  
  <p>I use the following plugins:</p>
  
  <ol>
  <li>maven-compiler-plugin</li>
  <li>maven-jarsigner-plugin</li>
  <li>proguard-maven-plugin</li>
  <li>android-maven-plugin with zipalign goal and configuration.</li>
  </ol>
  
  <p>I am not sure whether signing and zipaligning automatically disables debugging because I see the following line in the maven output:</p>
  
  <pre><code>[INFO] --- android-maven-plugin:3.5.0:apk (default-apk) @ stackx ---
  [INFO] Copying local assets files to combined assets directory.
  [INFO] Enabling debug build for apk.
  </code></pre>
  
  <p>Is there an explicit way to disable debugging?</p>