This is the old changelog for releases and earlier as migrated from the old project hosting site on Google Code. Various links or mentions of issues might be defunct, due to the fact that Google Code is offline.
Fix for Issue 153: jvmArguments missing dash,
contributed by Manfred Moser
Fix for Issue 148: correct help documentation for sdk path,
contributed by Pierre-Yves Ricau
Support for lazy library unpacking to speed up build. See issue 120
contributed by shivawu.
Fix for issue 118 and issue 143
see [https://github.com/jayway/maven-android-plugin/pull/32]
contributed by alecplumb
Support for extra arguments for aapt (Issue 165)
see [https://github.com/jayway/maven-android-plugin/pull/35]
contributed by Fabrizio Giudici
Added apk parameters support "renameInstrumentationTargetPackage"
see [https://github.com/jayway/maven-android-plugin/pull/38]
contributed by Rodrigo Munoz
API/Configuration Changes:
noLocals (default false), pass --no-locals to dx command
lazyLibraryUnpack (default false) only unpack library after a clean build and not when output directory already exists
aaptExtraArgs array of string extra arguments to be passed to aapt
renameManifestPackage - pass the --rename-manifest-package parameter to aapt
renameInstrumentationTargetPackage - pass the --rename-instrumentation-target-package parameter to aapt
Fix for Issue 147: apklib modules aren’t deployed
ApkLib modules are now deployed to Maven repository when running 'mvn deploy' or when performing a Maven release.
By Hugo Josefson.
Fixed usage of coreLibrary in dex command. See [https://github.com/jayway/maven-android-plugin/pull/34] Contributed by kevinpotgieter
Fix for Issue 137: Specifying jvmArguments results in "error: no command specified"
'jvmArguments' now work again.
Thank you to Roberto Tyley.
Fix for Issue 145: Can’t release multi-module with apklib
When one of your multi-module project’s modules is '<packaging>apklib</apklib>', you had to 'mvn install' before, for the other modules to be able to find it. Now 'mvn package' works too, even when your local repo is empty.
Especially important when performing a Maven release of a multi-module project like that :)
By Hugo Josefson.
New feature: Issue 113: Patch for advanced instrumentation settings
Allows you to specify which tests to run, via configuration.
See description in Issue 113 for usage instructions.
Thank you to Marcus.
New feature: Added option for using 'aapt --custom-package'.
For those who know you need it, add '<customPackage>…</customPackage>' to the plugin configuration or '-Dandroid.customPackage=…' to the command line.
Thank you to Stéphane Jacquemain.
Fix for Issue 112 - The deploy, undeploy and redeploy goals must have no effect on non-APK project
Running 'mvn android:deploy'/'redeploy'/'undeploy' on a project which is not an APK, now does nothing instead of giving an error.
Thank you to Clement Escoffier.
Fix for Issue 115 - Build Fails if command path has a space in it
Running 'mvn install' from a project directory with spaces in it now works.
Thank you to David.
Fix for resource collisions in apklib projects.
Eric Bowman’s example should work now, using current release of the plugin: https://github.com/hugojosefson/maven-android-multimodule-example
By Hugo Josefson.
New feature - Issue 96: Support for library projects
Use '<packaging>apklib</packaging>' for the library project, and '<type>apklib</type>' in the '<dependency>' tag in the app when depending on it.
See ApkLib for documentation and samples.
Thank you to Nick Maiorana. Some extra patches by Eric Bowman and Hugo Josefson.
Made maven-android-plugin easier to build from source for new developers.
Removed tests for obsolete Android SDK versions, which are hard to find and install.
Fix for Issue 123: Packaging failed when embedded dependencies have duplicate resources
Disabled by default, enable with '<extractDuplicates>true</extractDuplicates>'
See Issue 123 and linked pull request for more information.
Thank you to Clement Escoffier.