<configuration> <sdk> <platform>17</platform> </sdk> </configuration>
This is the old changelog for releases 4.0.0-rc.2 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.
The rc.1 is version close. We want to limit the changes to
migration of ignore tests to Takari Plugin testing (see https://www.youtube.com/watch?v=PkLUgUyx8Kc for more tips) - details also at https://github.com/jayway/maven-android-plugin/issues/452
support for NDK r10 ideally - see https://github.com/jayway/maven-android-plugin/issues/431
confirm all applications from samples work
anything else that comes up as urgent
Changes:
Lint integration tests
contributed by Benoit Billington https://github.com/Shusshu
and Manfred Moser http://www.simpligility.com
Updated NDK support to r10
see https://github.com/jayway/maven-android-plugin-samples/pull/63
fixed https://github.com/jayway/maven-android-plugin/issues/431
contributed by Malachi de AElfweald https://github.com/malachid
and Manfred Moser http://www.simpligility.com
Migrated samples project to IT tests within the plugin itself.
contributed Manfred Moser http://www.simpligility.com
Fixes to AndroidManifest update
fixes https://github.com/jayway/maven-android-plugin/issues/449
contributed by Benoit Billington https://github.com/Shusshu
Fixed error message typo
contributed by Lukasz Gawin https://github.com/lgawin
Ported scala example to IT test
Ported support4demos, apidemos and tictactoe examples to IT test
Updates to the Travis CI setup
see https://github.com/jayway/maven-android-plugin/commit/16b10af8ec00c8fe58aec9f5612bce1630a5844b
see https://github.com/jayway/maven-android-plugin/commit/ac617bb3c537a3145b96b75221ac396399c9c4cc
contributed by Malachi de AElfweald https://github.com/malachid
and Manfred Moser http://www.simpligility.com
Change some properties to be injected to ensure that final versions are used (evaluated) and not mere pom file values
Various NDK related fixes
contributed by Johan Lindquist https://github.com/johanlindquist
Removed redundant, duplicate apk undeployment
see https://github.com/jayway/maven-android-plugin/pull/414/
contributed by Sebastian Gröbler https://github.com/SierraGolf
Display warning when pulling in jars from a libs folder in AAR or APKLIB
see https://github.com/jayway/maven-android-plugin/pull/422/
contributed by William Ferguson https://github.com/william-ferguson-au
Include jars in libs folder of AAR package, if found
see https://github.com/jayway/maven-android-plugin/pull/426/
contributed by William Ferguson https://github.com/william-ferguson-au
Removing duplicate aar jars for Proguard
see https://github.com/jayway/maven-android-plugin-samples/pull/62
contributed by William Ferguson https://github.com/william-ferguson-au
Avoid adding aar dependency resources to Maven resources path
contributed by William Ferguson https://github.com/william-ferguson-au
Resolve missing BuildConfig from APKLIB→APKLIB dependency
fixes https://github.com/jayway/maven-android-plugin/issues/434
contributed by Marting M Reed https://github.com/MartinMReed
Change default project structure to Gradle structure since it is much more like a real Maven project anyway
contributed by William Ferguson https://github.com/william-ferguson-au
all sample updates contributed by Manfred Moser http://www.simpligility.com
Fix for using build output directory when needed (for unpack libraries in this case)
fixes https://github.com/jayway/maven-android-plugin/issues/439
contributed by Thierry Carels https://github.com/carthx
Multi dex support fixes
contributed by Łukasz Suski https://github.com/lsuski
and Manfred Moser http://www.simpligility.com
Produce a warning for aar projects with apklib dependencies
contributed by Leonid https://github.com/greek1979
Usage of animalsniffer plugin to ensure Java 6 support
contributed by William Ferguson https://github.com/william-ferguson-au
and Manfred Moser http://www.simpligility.com
Added global parameters to configure if jars from libs folder in aar and apklib should be pulled in
includeLibsJarsFromAar and includeLibsJarsFromApklib both default to false
contributed by Benoit Billington https://github.com/Shusshu
and Manfred Moser http://www.simpligility.com
Adding option to pass custom command line parameters to dx
contributed by Łukasz Suski https://github.com/lsuski
updated Android SDK libraries
see https://github.com/jayway/maven-android-plugin/commit/3b498899a14c98df6bf2ddb4a49cb47daf160a59
contributed Manfred Moser http://www.simpligility.com
Introduced integration test using Takari plugin testing
see https://github.com/jayway/maven-android-plugin/issues/452
contributed Manfred Moser http://www.simpligility.com
Fix path to zipalign
fixes https://github.com/jayway/maven-android-plugin/issues/399
contributed by Benoit Billington https://github.com/Shusshu
Improved error message when build tools of SDK are missing
Cleaned up NDK support behaviour and implementation
fixes https://github.com/jayway/maven-android-plugin/issues/360
contributed by William Ferguson https://github.com/william-ferguson-au
Fixed support for genDirectory config with aar artifacts
fixes https://github.com/jayway/maven-android-plugin/issues/389
contributed by William Ferguson https://github.com/william-ferguson-au
Adding support for multi dex
fixes https://github.com/jayway/maven-android-plugin/issues/356
contributed by Kevin Griffin https://github.com/m00sey
support waiting for full boot of devices and adaptations for travis setup
contributed by Samuel Oggier https://github.com/soggier
Improved resolving of transitive dependencies and resources
see https://github.com/jayway/maven-android-plugin-samples/pull/61
contributed by William Ferguson https://github.com/william-ferguson-au
Migration to Maven plugin annotations rather than javadoc
contributed by William Ferguson https://github.com/william-ferguson-au
and Manfred Moser http://www.simpligility.com
Support for "jni" folder for AAR with native components
contributed by Lenoid https://github.com/greek1979
Improved handling and creation of BuildConfig in scenarios with transitive dependencies
contributed by Lenoid https://github.com/greek1979
support for Jar files in libs folder in aar or apklib
contributed by Shouqun https://github.com/Shouqun
Avoid compression of already compressed assets (e.g. mp3 files)
contributed by Jaroslav Tulach https://github.com/jtulach
Avoid modifying classpath for non-Android projects
contributed by Lenoid https://github.com/greek1979
and Manfred Moser http://www.simpligility.com
Path issues fix for proguard mojo usage on Windows
contributed by https://github.com/mmadev
Removed duplicate dependencies in native sample projects
https://github.com/jayway/maven-android-plugin-samples/pull/52
contributed by William Ferguson https://github.com/william-ferguson-au
Changed from direct Aether usage to Dependency Tree usage allowing compatibility with Maven 3.0.x and therefore with IDE’s and other tools that have old Maven version like this embedded
Allow to specify the number of threads used in device operations to avoid issues with lots of attached devices
contributed by Roy Clarkson https://github.com/royclarkson from Pivotal http://www.gopivotal.com/
New goals to connect and disconnect devices specified by IP number for all device interactions
contributed by Emmanuel Demey https://github.com/Gillespie59
Log message fix
contributed by Clément Plantier
Avoid attempt to include R.txt in AAR if it doesnt exist
fixes issue 452
contributed by William Ferguson https://github.com/william-ferguson-au
Remove META-INF from AAR
contributed by Benoit Billington https://github.com/Shusshu
include groupId in native artifact resolution
fixes issue 444
contributed by Malachi de AElfweald https://github.com/malachid
transitive dependencies not dependent on existence of local natives dir
fixes issue 429
contributed by Malachi de AElfweald https://github.com/malachid
Check for duplicate package name in android artifacts and produce warnings
Fixed logging level for AIDL files in GenerateSourcesMojo
contributed by Oleg Green https://github.com/marchelo
Improved handling of transitive native dependencies
fixes issue 424
contributed by Malachi de AElfweald https://github.com/malachid
Refactored usage of maven-plugin-plugin annotations to remove usage of deprecated expression
contributed by Manfred Moser http://www.simpligility.com
Verbose output from aapt tool when Maven plugin config set to debug logging
contributed by Oleg Green https://github.com/marchelo
Added support for configuring adb connection timeout
contributed by Sebastian Gröbler https://github.com/SierraGolf
Improve AndroidManifest update to work with non-ascii characters
contributed by xiaojian cai https://github.com/mccxj
Include BuildConfig class in aar
contributed by Benoit Billington https://github.com/Shusshu
Preserve order of dependencies for native dependency resolution
contributed by Johan Lindquist https://github.com/johanlindquist
Adapted Travis build config to new SDK setup/distribution
see https://github.com/jayway/maven-android-plugin-samples/pull/54
contributed by Malachi de AElfweald https://github.com/malachid
and Manfred Moser
Removed hardcoded debuggable setting from examples
see https://github.com/jayway/maven-android-plugin-samples/pull/53
contributed by Raphael Ackermann https://github.com/rtack
Changed a couple of log levels
contributed by Oleg Green https://github.com/marchelo
Consolidated aapt command invocations in one builder style class
fixes 375
contributed by Oleg Green https://github.com/marchelo
and by William Ferguson https://github.com/william-ferguson-au
New property for android.aidlSourceDirectory to allow aidl source in different folder from rest of source
see https://github.com/jayway/maven-android-plugin-samples/pull/55
fixes issue 173
contributed by Csaba Kozák https://github.com/WonderCsabo
and William Ferguson https://github.com/william-ferguson-au
Allow android:run to proceed through a multi module build just like other device interaction goals
contributed by Oleg Green https://github.com/marchelo
Taking reactor projects into account for resolving dependency tree of aar packages including taking into account wagon extensions
fixes https://github.com/jayway/maven-android-plugin/issues/350
contributed by William Ferguson https://github.com/william-ferguson-au
Fixed the construction of R.java files for the dependencies of an APK
contributed by William Ferguson https://github.com/william-ferguson-au
Fail build if project + dependencies have more than one layout file of the same name
see https://github.com/jayway/maven-android-plugin-samples/pull/56
contributed by William Ferguson https://github.com/william-ferguson-au
Fail build if duplicate packages in AndroidManifest files for project and dependencies are detected
this would otherwise cause downstream compile or runtime problems that are much harder to detect
contributed by Oleg Green https://github.com/marchelo
Provided scope dependencies get unpacked, improves instrumentation test runs
contributed by Malachi de AElfweald https://github.com/malachid
use build extensions classloader if exists https://github.com/jayway/maven-android-plugin/pull/366
fixes 364 https://github.com/jayway/maven-android-plugin/issues/364
fixes 350 https://github.com/jayway/maven-android-plugin/issues/350
contributed by William Ferguson https://github.com/william-ferguson-au
Samples libraryprojects/libraryprojects-tests failure fixed
fixes 369 https://github.com/jayway/maven-android-plugin/issues/369
fixes 358 https://github.com/jayway/maven-android-plugin/issues/358
contributed by William Ferguson https://github.com/william-ferguson-au
POM cleanup
see https://github.com/jayway/maven-android-plugin-samples/pull/57
contributed by William Ferguson https://github.com/william-ferguson-au
Improved error message for missing dependencies
contributed by William Ferguson https://github.com/william-ferguson-au
Added the now required scope "provided" for the apk under instrumentation test
see https://github.com/jayway/maven-android-plugin-samples/pull/58
contributed by William Ferguson https://github.com/william-ferguson-au
Fix up samples to work with the now stricter check on duplicate package usage
see https://github.com/jayway/maven-android-plugin-samples/pull/59
contributed by William Ferguson https://github.com/william-ferguson-au
ATTENTION:
Maven versions 3.0.4+ are now supported again
instrumentation tested apk’s have to use provided scope in the test project
further new parameters and their usage are documented on the site http://jayway.github.io/maven-android-plugin/
A whole lot of pom and other clean ups to the sample projects
contributed by Manfred Moser http://www.simpligility.com
Travis build to execute clean goal
contributed by Manfred Moser http://www.simpligility.com
Deploy/Undeploy and Redeploy goals working for multi module builds
contributed by Manfred Moser http://www.simpligility.com
New goals deploy-apk, undeploy-apk and redeploy-apk
contributed by Manfred Moser http://www.simpligility.com
Improved error message for duplicate files
Fix to classifier usage for native projects
contributed by Johan Lindquist https://github.com/johanlindquist
Fix the HAR resolution with apklib’s
contributed by Johan Lindquist https://github.com/johanlindquist
Improved version update support for AndroidManifest changes to work with longer version numbers
Support for the jumbo flag of the dex command
seehttps://github.com/jayway/maven-android-plugin/pull/271
contributed by Stéphane Nicolas https://github.com/stephanenicolas
Support for specifying a list of devices to interact with for tests, deployment…
contributed by Emmanuel DEMEY https://github.com/Gillespie59
Fix paths for proguard invocation with filename containing "-"
contributed by https://github.com/mmadev
and Manfred Moser http://www.simpligility.com
and Benoit Billington https://github.com/Shusshu
Allow copying the manifest during the generate source phase
fixes issue 343
contributed by Malachi de AElfweald https://github.com/malachid
Correction on how libs are pulled in from apklibs with regards to native artifacts
fixes issue 444
contributed by https://github.com/eedzjee
Prevent OOM issues when capturing stdout
contributed by Johan Lindquist https://github.com/johanlindquist
AAR consumption and related fixes and changes to plugin and samples
see https://github.com/jayway/maven-android-plugin-samples/pull/44
see https://github.com/jayway/maven-android-plugin-samples/pull/45
see https://github.com/jayway/maven-android-plugin-samples/pull/46
fixes issue 446
see https://github.com/jayway/maven-android-plugin-samples/pull/47
see https://github.com/jayway/maven-android-plugin-samples/pull/48
see https://github.com/jayway/maven-android-plugin-samples/pull/49
contributed by William Ferguson https://github.com/william-ferguson-au
and Benoit Billington https://github.com/Shusshu
and Manfred Moser http://www.simpligility.com
and Oleg Green https://github.com/marchelo
and with help from Igor Fedorenko https://github.com/ifedorenko/
Attach a jar build output for apklib projects (optionally)
contributed by Leonid https://github.com/greek1979
fixes issue 139
Correct identifier in R file from apklib
contributed by Oleg https://github.com/marchelo
fixes issue 441
fixes issue 443
Removed unused executor
contributed by Oleg https://github.com/marchelo
Support setups with no apilevel
contributed by William Ferguson https://github.com/william-ferguson-au
and Manfred Moser http://www.simpligility.com
Quieter, more readable logging during build
contributed by William Ferguson https://github.com/william-ferguson-au
Moved to plugin-testing from ASF
fixes issue 423
contributed by Manfred Moser http://www.simpligility.com
Upgraded powermock
contributed by Manfred Moser http://www.simpligility.com
Upgraded Android builder and sdk dependencies to 0.7.1
contributed by Manfred Moser http://www.simpligility.com
Improvements for aar consumption with regards to R.txt and R file as well as multiple aar and apklib deps and a whole lot of cleanup and examples stuff, should be fully working now
see https://github.com/jayway/maven-android-plugin-samples/pull/40
see https://github.com/jayway/maven-android-plugin-samples/pull/41
see https://github.com/jayway/maven-android-plugin-samples/pull/42
see https://github.com/jayway/maven-android-plugin-samples/pull/43
fixes issue 436
whole bunch of changes to the examples project
contributed by William Ferguson https://github.com/william-ferguson-au
and Benoit Billington https://github.com/Shusshu
and Manfred Moser http://www.simpligility.com
ConfigHandler improvements
contributed by Pappy Stanescu https://github.com/pa314159
Support for aar consumption improved
contributed by Benoit Billington https://github.com/Shusshu and https://github.com/ialbors
Support for files located in META-INF improved
fixed issue 174
contributed by Pappy Stanescu https://github.com/pa314159 and Manfred Moser
Manifest update into a new file in target (optionally)
contributed by Pappy Stanescu https://github.com/pa314159
Support for providing further options to proguard execution
contributed by Pappy Stanescu https://github.com/pa314159
Optionally attach proguard mapping.txt as artifact of type "map"
contributed by Pappy Stanescu https://github.com/pa314159
Extended instrumentation goal to allow for additional user defined instrumentation arguments
contributed by Sebastian Gröbler https://github.com/SierraGolf
Fixed link to documentation in git readme
contributed by Peter Janes http://peterjanes.ca/
GenerateSourceMojo fixes
contributed by Pappy Stanescu https://github.com/pa314159
Migrated to require Apache Maven 3.1.1 or higher
contributed by Manfred Moser http://www.simpligility.com
see commit on Oct 1 and 7th 2013
fixes issue 395
Updated to builder library 0.6.0 and later to 0.6.3
contributed by Manfred Moser http://www.simpligility.com
Fix for har file access in MakefileHelper
contributed by Manfred Moser http://www.simpligility.com and Johan Lindquist https://github.com/johanlindquist
Maven 3.1.1 deployment as part of travis build
contributed by Mykola Nikishov https://manandbytes.wordpress.com/
Updated to builder library 0.6.1
contributed by Benoit Billington https://github.com/Shusshu
Usage of SDK constants instead of hardcoding classes.jar
contributed by Benoit Billington https://github.com/Shusshu
Create R file for AARs
contributed by Benoit Billington https://github.com/Shusshu
Support --incremental on dex
contributed by Jaime Soriano Pastor https://github.com/jsoriano
Further improvements towards support for aar consumption (still not fully working)
contributed by Benoit Billington https://github.com/Shusshu
ATTENTION: Maven 3.1.1+ is required to build the plugin itself as well as to use the plugin to build Android applications!
Updated builder library version to 0.5.6
contributed by Benoit Billington https://github.com/Shusshu
related cleanups in AndroidSdk and tests by Manfred Moser
Don’t delete nativeArtifactFile if its the same as destFile
contributed by Mark Riley http://markriley.net
Support for maven property maven.test.error.ignore
contributed by Stéphane Nicolas https://github.com/stephanenicolas
Use of constant for apk and apklib instead of hardcoded string
contributed by Benoit Billington https://github.com/Shusshu
Experimental support for consuming and creating aar files
contributed by Benoit Billington https://github.com/Shusshu and Manfred Moser and Mark Riley https://github.com/markrileybot
SdkLib and ApkBuilder cleanup
contributed by Manfred Moser http://www.simpligility.com
Upgraded to builder 0.5.7 and added all dependencies from SDK in version 22.2.0
contributed by Manfred Moser http://www.simpligility.com
Support for multiarch so dependencies and Multiple native architecture support
contributed by Joonas Javanainen http://gekkio.fi/
contributed by Johan Lindquist https://github.com/johanlindquist
Adding Native Libs in apk
fixes issue 372
contributed by Charles Harley and Johan Lindquist https://github.com/johanlindquist
Make use of "aaptExtraArgs" in "generate-sources" goal
contributed by Tadeas Kriz https://github.com/TadeasKriz
Release process changes to use nexus-staging-maven-plugin
contributed by Manfred Moser http://www.simpligility.com
Plugin site changed from Google SVN repo to Github pages
contributed by Manfred Moser http://www.simpligility.com
ATTENTION:
The sdk platform configuration parameter no longer support platform, only API level works from now on.
the keyword 'all' is no longer supported for ndk architectures, you have to explicitly list them
Updated builder library version to 0.4.1 and 0.4.2, which pulls in Android SDK 22.0.1 components
contributed by Manfred Moser http://www.simpligility.com
Fix to avoid namespace collisions for components with identical artifactid
contributed by Jan Berkel http://zegoggl.es/
Ability to pass user properties to UiAutomator goal
contributed by Simon Sikström http://andrimon.com
Configurable BuildConfig generation
contributed by Jonas Alves http://jonasalves.wordpress.com/
Exclude jar files within a lib folder in an apklib
fixes issue 402
contributed by Matthias Käppler http://brainflush.wordpress.com
Downgraded emma to stable release
fixes issue 301
contributed by Manfred Moser http://www.simpligility.com
Use artifactId as LOCAL_MODULE_FILENAME
fixes issue 410
contributed by Joonas Javanainen http://gekkio.fi
NDK mojo: ignore libs/ folder with just JARs for APKLIB dependencies
fixes issue 402
contributed by Matthias Käppler http://mttkay.github.io/
Fix forMac OS X Proguard usage bug
Added the parameter reportSuffix to UIAutomator goal
contributed by Johannes Elgh https://github.com/jelgh
Added unlockEmulator to unlock the emulator during emulator-start
contributed by Tom Bollwitt https://github.com/tlbollwitt
Added support for MonkeyRunner execution
contributed by Stéphane Nicolas https://github.com/stephanenicolas
Support for SDK 22 directory structure
contributed by Benoit Billington https://github.com/Shusshu
Updated builder library version to 0.4
contributed by Benoit Billington https://github.com/Shusshu
CI server build via Travis CI for plugin and samples
samples see https://github.com/jayway/maven-android-plugin-samples/pull/33
contributed Hugo Josefson http://about.me/hugojosefson
--non-constant-id for generating R for APKLIBs
contributed by Patrick Armstrong https://github.com/slypat
Support manifest merger with Android SDK R22
contributed by James Wald https://github.com/jameswald
reimplemented with backwards compatibility see
contributed by Manfred Moser http://www.simpligility.com
Upgraded AndroidSdk to use path and platform utilities from sdklib
contributed by Nic Strong http://www.codepoets.co.nz
fixes and updates to work for all examples and more contributed by Manfred Moser http://www.simpligility.com
see https://github.com/jayway/maven-android-plugin/commit/b5b773e50f2f39be9e68bbf094759ae3a866831a
Exclude all except jar dependcies from proguard -injar parameters
fixes issue 319
contributed by https://github.com/tprochazka
Support uses sdk tag in manifest updates
Support for multiple source folders in APK Lib
contributed by Marek Kedzierski http://mark.kedzierski.googlepages.com/
Upgraded screenshot library to 1.9 to use keep ddmlib version in sync
contributed by Manfred Moser http://www.simpligility.com
Change manifest merge to use classpath dependency to sdk 22 jar directly rather than loading from SDK and using reflection
contributed by James Wald https://github.com/jameswald
All merges, CI server work, changelog editing and release process contributed by Manfred Moser
ATTENTION:
The configuration of the sdk platform is now required for SDK as well as NDK projects. An example plugin configuration is
<configuration> <sdk> <platform>17</platform> </sdk> </configuration>
The plugin has been updated to work with the SDK release 22.0. 21.1 works on the CI server. It might or might not work for older versions. YMMV.
Fix for NDK codebase so that NDK install is NOT required for normal builds
contributed by Jonathan Reyes http://vaporwarecorp.com
Added support for x86_64 introduced in NDK r8e
contributed by Jonathan Reyes http://vaporwarecorp.com
Fix proguard usage on Mac with non-Apple JDK (= Java 7 from Oracle, which is the new default)
contributed by Roberto Tyley https://github.com/rtyley
Added support for the Android Monkey tool
see https://github.com/jayway/maven-android-plugin/pull/194/
contributed by Stéphane Nicolas https://github.com/stephanenicolas
Release process, pull request merges and more contributed by Manfred Moser
Minimal plugin configuration to enable monkey is
<monkey> <skip>false</skip> </monkey>
Full configuration can use these parameters.
<monkey> <skip>false</skip> <eventCount>5000</eventCount> <seed>123456</seed> <throttle>10</throttle> <percentTouch>10</percentTouch> <percentMotion>10</percentMotion> <percentTrackball>10</percentTrackball> <percentNav>10</percentNav> <percentMajorNav>10</percentMajorNav> <percentSyskeys>10</percentSyskeys> <percentAppswitch>10</percentAppswitch> <percentAnyevent>10</percentAnyevent> <packages> <package>com.foo</package> <package>com.bar</package> </packages> <categories> <category>foo</category> <category>bar</category> </categories> <debugNoEvents>true</debugNoEvents> <hprof>true</hprof> <ignoreCrashes>true</ignoreCrashes> <ignoreTimeouts>true</ignoreTimeouts> <ignoreSecurityExceptions>true</ignoreSecurityExceptions> <killProcessAfterError>true</killProcessAfterError> <monitorNativeCrashes>true</monitorNativeCrashes> <createReport>true</createReport> </monkey>
Attention - due to a bug this release requires you to have the NDK installed even for normal builds. If that is a problem please wait for the next release. A fix exist in the current 3.5.3-SNAPSHOT version.
Fix to get android:push of directories working on Windows clients
contributed by Tobias Hochwallner https://github.com/tobster and Manfred Moser
Enable transitive native dependencies for apklib with example
Support for maven.test.failure.ignore
fixes issue 274 and issue 172
contributed by Olivier Gonthier https://github.com/OlivierGonthier
ApkLib R.class files must have non-final ints.
contributed by Christian Williams https://github.com/xian and Square https://squareup.com/
Add "classifier" support to apklib goal
contributed by Mark Allison http://www.stylingandroid.com/
UI Automator goal including feature to take screenshots - documentation in javadoc, site and examples
also see https://github.com/jayway/maven-android-plugin/pull/188
contributed by Stéphane Nicolas https://github.com/stephanenicolas sponsored by OCTO Technology http://www.octo.com/
Adopted usage of the Android SDK Builder library as used by the Gradle based build
see https://github.com/jayway/maven-android-plugin/commit/fc6f18cd96c756a120208ea25bf493af5716cced
contributed by Manfred Moser http://www.simpligility.com
Added support to install multiple platform specific native library versions
contributed by Jonathan Reyes http://vaporwarecorp.com
Release process, pull request merges and more contributed by Manfred Moser
Minimal plugin configuration to enable lint is
<uiautomator> <skip>false</skip> </uiautomator>
Full configuration can use these parameters.
<uiautomator> <skip>false</skip> <testClassOrMethods> <testClassOrMethod>com.foo.SampleTest</testClassOrMethod> <testClassOrMethod>com.bar.CalculatorTest#testCalculatorApp</testClassOrMethod> </testClassOrMethods> <createReport>true</createReport> <takeScreenshotOnFailure>true</takeScreenshotOnFailure> <screenshotsPathOnDevice>/sdcard/uiautomator-screenshots/</screenshotsPathOnDevice> </uiautomator>
Added existence check for res folder when expanding apklib files to make it more robust against that problem
contributed by Tom Bollwitt https://github.com/tlbollwitt
Support for multiple proguard configuration files
usage see pull request or project documentation site after release or local site build
fixes issue 331
contributed by Sven Obser https://github.com/brudaswen/
Allow configuration of NDK path from system property or pom.xml allowing to override default of using ANDROID_NDK_HOME
contributed by https://github.com/tptak
readme update
contributed by Ikram http://about.me/iontech
support for pre dexed libraries
contributed by Srinivasan http://srini-ragu.blogspot.com/
Auto generate proguard config file from AndroidManifest
fixes issue 342
contributed by Sven Obser https://github.com/brudaswen/
Null checks in ManifestUpdate mojo so it works for merging manifests from apklibs
contributed by Tom Bollwitt https://github.com/tlbollwitt
Support for Android Lint
and see a whole number of commits around https://github.com/jayway/maven-android-plugin/commit/59c4bbf39229320e803c396e784b09284f2228fd
fixes issue 224
contributed by Stéphane Nicolas https://github.com/stephanenicolas sponsored by OCTO Technology http://www.octo.com/ and Manfred Moser http://www.simpligility.com and Stefano Dacchille https://github.com/stefanodacchille
enhanced wait for emulator start
fixes issue 270
see https://github.com/jayway/maven-android-plugin/pull/173/
contributed by https://github.com/ffriedrich
Fix NDK gdbserver paths
contributed by Luke Weber https://github.com/lukeweber
improved by Jonathan Reyes http://vaporwarecorp.com and Manfred Moser
Attention! This change requires usage of Android NDK >= 8b
Support for including/excluding packages in Emma coverage data
contributed by Maximilian Wahler https://github.com/schlachtzeuger and Manfred Moser http://www.simpligility.com
Fixes to test cases to work on Windows
contributed by Eugen Martynov https://github.com/emartynov
Zipalign to same apk name rather than creating a new file
contributed by Eugen Martynov https://github.com/emartynov
Fixed problem of excessive logging in build output from expanding dependencies
contributed by Manfred Moser http://www.simpligility.com
Parallel execution of all device interactions
contributed by Jonas Alves http://jonasalves.wordpress.com/
logging improvements by Manfred Moser http://www.simpligility.com
Release process, pull request merges and more contributed by Manfred Moser
Minimal plugin configuration to enable lint is
<lint> <skip>false</skip> </lint>
which will produce xml report in target/lint/lint.xml Full configuration options available are
<lint> <failOnError>true|false</failOnError> <skip>true|false</skip> <ignoreWarnings>true|false</ignoreWarnings> <warnAll>true|false</warnAll> <warningsAsErrors>true|false</warningsAsErrors> <config></config> <fullPath>true|false</fullPath> <showAll>true|false</showAll> <disableSourceLines>true|false</disableSourceLines> <url>none|a=b</url> <enableHtml>true|false</enableHtml> <htmlOutputPath>${project.build.directory}/lint-html</htmlOutputPath> <enableSimpleHtml>true|false</enableSimpleHtml> <simpleHtmlOutputPath>${project.build.directory}/lint-simple-html</simpleHtmlOutputPath> <enableXml>true|false</enableXml> <xmlOutputPath>${project.build.directory}/lint.xml</xmlOutputPath> <enableSources>true|false</enableSources> <sources></sources> <enableClasspath>true|false</enableClasspath> <classpath></classpath> <enableLibraries>true|false</enableLibraries> <libraries></libraries> </lint>
Non-release builds will now automatically be debuggable
contributed by James Lawrie https://github.com/jlawrienyt
Added support to for updating android:authorities attributes on provider elements in the manifest
contributed by Nic Strong http://www.codepoets.co.nz
Improved automatic versionCode generation to avoid ambigious versionCode for different versions
contributed by Fred Eisele https://github.com/phreed
Allow the specification of patterns to exclude jar files from resource inclusion
contributed by Mark Raynsford http://io7m.com
Allow handling of library name differently than lib<artifactId>.so
fixes issue 303
contributed by Tomasz Ptak https://github.com/tptak
Fix for RC versions of the SDK in terms of manifest parsing and overall plugin execution
contributed by Stéphane Nicolas https://github.com/stephanenicolas
Allow relative package names for the run goal
contributed by Jonas Alves http://jonasalves.wordpress.com/
Introduced usage of parent pom to remove need to manage plugin versions
contributed by Manfred Moser http://www.simpligility.com
Cleaned up site creation
contributed by Manfred Moser http://www.simpligility.com
Updated all dependency versions
contributed by Manfred Moser http://www.simpligility.com
Code reviews, testing, minor adjustments by Manfred Moser http://www.simpligility.com
API/Configuration Changes:
ATTENTION*
Since non-release builds are now debuggable by default you NEED TO ensure that the release parameter is set to true in your release build.
In the pom this would be e.g.
<groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>android-maven-plugin</artifactId> <configuration> <release>true</release>
or you could activate on the command line with e.g
mvn clean deploy -Dandroid.release=true
or if you use the release plugin just add the above pom config to the release profile.
apklib now uses the resourceOverlayDirectories and resourceOverlayDirectory options
contributed by Tim Hepner https://github.com/mithepner
Showing current test count and number of total count of tests during instrumentation test runs
contributed by Aleksander Pyszny http://www.alan-systems.com/en
Adapted Manifest merging to Android SDK release 21
contributed by Tom Bollwitt https://github.com/tlbollwitt
Fixed parsing of android.test.packages for multiple comma separated packages names to test
contributed by Aleksander Pyszny http://www.alan-systems.com/en
Parse return value of installPackage() during deploy and report failure as build failure with error message instead of ignoring it
contributed by Nic Strong http://www.codepoets.co.nz
All merges, miscellaneous improvements and release performance contributed by Manfred Moser, http://www.simpligility.com
Added support to specify application makefile in ndk-build
contributed by Jonathan Reyes http://vaporwarecorp.com
New additional parameter for proguard goal, "outputDirectory"
contributed by Michal Harakal https://github.com/michalharakal
Support for building arm and x86 at the same time
see https://github.com/jayway/maven-android-plugin/pull/132/
contributed by Jonathan Reyes http://vaporwarecorp.com
Fixed ndkstripper when no toolchain is specified
see https://github.com/jayway/maven-android-plugin/pull/133/
contributed by Jonathan Reyes http://vaporwarecorp.com
Fixed parsing of error message from test failures
contributed by Aleksander Pyszny https://github.com/olekp http://www.alan-systems.com
Check renameManifestPackage parameter before using package from AndroidManifest.xml
contributed by Jason Holmes http://blog.thejholmes.com
Make inclusion of JDK libs in ProGuard input optional.
contributed by Karsten Sperling https://github.com/ksperling http://www.pluk.com
Configure BuildConfig generation via a mojo parameter instead of system property
contributed by Karsten Sperling https://github.com/ksperling http://www.pluk.com
Added code to merge APKLIB manifests
contributed by Tom Bollwitt https://github.com/tlbollwitt
Improvements and fixes for APKLib support with Native code including sample projects
see https://github.com/jayway/maven-android-plugin-samples/pull/30
contributed by by Andi Everitt https://github.com/andi12 http://www.raje.org.uk
Clean up of configuration for zipalign goal to work properly with pom, settings and command line config
see https://github.com/jayway/maven-android-plugin/commit/cb79d0b1aa65f5fd52ec267ce9f8624af17b828e
contributed by Manfred Moser http://www.simpligility.com
Fix for failure when ndk-build run twice by task sequence
contributed by by Andi Everitt https://github.com/andi12 http://www.raje.org.uk
All merges, codestyle fixups and more miscellaneous improvements contributed by Manfred Moser, http://www.simpligility.com
API/Configuration Changes:
BuildConfig configuration relies on android.release maven configuration rather than system property
zipalign activation/deactivation now works properly so you need to activate it with '<zipalign><skip>false</skip></zipalign>' in configuration or with android.zipalign.skip=false
APK Merge support has to be configured like this
<plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <executions> <execution> <phase>initialize</phase> <goals> <goal>resources</goal> </goals> </execution> <execution> <id>default-resources</id> <phase>DISABLED</phase> </execution> </executions> </plugin> <plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>android-maven-plugin</artifactId> <configuration> <androidManifestFile>${project.build.directory}/AndroidManifest.xml</androidManifestFile> <mergeManifests>true</mergeManifests> </configuration> <extensions>true</extensions> </plugin> </plugins>
Support transitive apklibs when invoking aapt
contributed by Jake Wharton http://jakewharton.com
Support BuildConfig generation.
contributed by Jake Wharton http://jakewharton.com
Support use of alternative executable for "emulator"
see https://github.com/jayway/maven-android-plugin/pull/122 and some commit around that merge in master..
contributed by Tobias Gesellchen and Manfred Moser
Fix proguard mojo for projects which use the Android version of Apache Http components
contributed by Tavian Barnes http://tavianator.com/
Add support to multiple native architectures
contributed by Johann Reyes http://vaporwarecorp.com
Plugin updates, plugin site improvements and minor fixes
contributed by Manfred Moser http://simpligility.com
Report correct test run count even when failures occur
contributed by Jan Berkel http://zegoggl.es/
Use logger in debug level instead of stdout in CommandExecutor
contributed by Jan Berkel http://zegoggl.es/
Add support for annotations when running instrumentation tests
see https://github.com/jayway/maven-android-plugin/pull/130/
contributed by Jan Berkel http://zegoggl.es/
All merges into master and release process work contributed by Manfred Moser
release process failed, version got bumped to 3.3.2 == Android Maven Plugin 3.3.0
Expose manifest values in manifest goal as properties so they can be picked up in the build e.g. to be used for further tasks like scm branch creation, logging and so on
see javadoc for property name details, convention is android.manifest.xyz
contributed by Richard Guest https://github.com/quiffman
Fix for Proguard Mojo to work on MacOSX without JAVA_HOME set
contributed by Arne Riiber
New standalone goal "devices" that shows a list of attached devices/emulators using the same naming convention as the other goals and shows the device status as well
contributed by Manfred Moser http://simpligility.com
Workaround to the problem that apkbuilder excludes resources in META-INF
fixes issue 97
contributed by Pappy STĂNESCU https://github.com/pa314159
A large number of enhancements and fixes related to the NDK support of the Android Maven Plugin
fixes issue 255: Apk does not contain native libs in 'libs/armeabi' during
fixes issue 264: NDK build doesn’t work on Windows: !PatternSyntaxException
fixes issue 265: NDK Build leaves generated .so unstripped thus large
fixes issue 277: NDK build leaves a lot of temporary files around
initial support for apk’s with native debugging support (include gdbserver)
contributed by Johan Lindquist
Allow exclusion of transitive dependencies for native libraries
fixes issue 282
contributed by Johan Lindquist
Allow parsing of invalid version numbers to upgrade versionCode as good as possible
and https://github.com/jayway/maven-android-plugin/commit/03e275df8a1b3801d4ed1f704b6b1619a3af682b
contributed by Marvin Bredal Lillehaug https://github.com/computerlove and Manfred Moser http://simpligility.com
Capture screenshots from the Android device during integration tests
see https://github.com/jayway/maven-android-plugin-samples/pull/25
contributed by Roberto Tyley https://github.com/rtyley
Test coverage with Emma
see https://github.com/jayway/maven-android-plugin/pull/101/
see https://github.com/jayway/maven-android-plugin-samples/pull/24/
contributed by Mariusz Saramak http://saramak.eu/
Fix for manifest update
contributed by Matt Benson
New configuration parameter parsing based on mojo property annotation and config pojo for Proguard, new parameters to filder manifest and maven files defaulting to true, allow proguard mojo to use dependency to use external proguard rather than sdk proguard
contributed by Adrian Stabiszewski https://github.com/grundid/ and Manfred Moser http://simpligility.com
New parameter to allow to set location of coverage file for instrumentation test runs
contributed by Tim Baverstock https://github.com/androidweasel
New configuration parsing for Pull, Push and Run mojos, also added required parameter for !PullParameter annotation and improved error message for any mojos using it
contributed by Manfred Moser http://simpligility.com
support for !SupportScreens and !CompatibleScreens elements in manifest-update goal
contributed by Matthias Käppler http://brainflush.wordpress.com
support for brackets and spaces in Android Home path for integration tests
fixes issue 263
contributed by Bob Walker http://www.bobwalker.co.uk
API/Configuration Changes:
see AutomatedScreenshots for information about the on-demand screenshots during Android integration tests
new and old proguard config options also supported are android.proguard.xyz as properties
<proguard> <skip>true|false</skip> <config>proguard.cfg</config> <proguardJarPath>someAbsolutePathToProguardJar</proguardJarPath> <filterMavenDescriptor>true|false</filterMavenDescriptor> <filterManifest>true|false</filterManifest> <jvmArguments> <jvmArgument>-Xms256m</jvmArgument> <jvmArgument>-Xmx512m</jvmArgument> </jvmArguments> </proguard>
use external proguard dependency (e.g. 4.7 as deployed to Central Repository)
<plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>android-maven-plugin</artifactId> <dependencies> <dependency> <groupId>net.sf.proguard</groupId> <artifactId>proguard-base</artifactId> <version>4.7</version> </dependency> </dependencies>
manifest update goal with new parameters for screens
<manifest> <versionName></versionName> <versionCode>123</versionCode> <versionCodeAutoIncrement>true|false</versionCodeAutoIncrement> <versionCodeUpdateFromVersion>true|false</versionCodeUpdateFromVersion> <sharedUserId>anId</sharedUserId> <debuggable>true|false</debuggable> <supports-screens> <anyDensity>true</anyDensity> <xlargeScreens>false</xlargeScreens> </supports-screens> <compatible-screens> <compatible-screen> <screenSize>small</screenSize> <screenDensity>ldpi</screenDensity> </compatible-screen> </compatible-screens> </manifest>
verify required NDK message and bring up useful error messages
contributed by Johan Lindquist
plugin site updated to use fluido skin and new report plugin versions
contributed by Manfred Moser http://simpligility.com
max heap default to 1Gb for dex command
contributed by Jan Berkel
contributed by Manfred Moser http://simpligility.com
use project.build.outputDirectory instead of assuming classes
contributed by Matt Benson https://github.com/mbenson
numerous fixes for plugin goal configurations to be possible to define in plugin configuration as well as properties in pom, settings or command line with working over ride, fixed configurations are
run
pull
push
instrument (=test)
proguard
manifest-update
contributed by Manfred Moser http://simpligility.com
proguard goal enhancemments
allow to use different proguard jar from the default in the android sdk (e.g. newer version)
specific jvmArguments for proguard independent of other goals
contributed by Manfred Moser http://simpligility.com
native plugin updates for r7
of the NDK including updated samples project
samples project changes see https://github.com/jayway/maven-android-plugin-samples/pull/22
contributed by Johan Lindquist
fix for issue 200, allow rebuild of ndk project without clean
contributed by Johan Lindquist
fix for issue 240 !ClassCastException when specifiying test class names
contributed by Tristano Costa https://github.com/mrtrix
fix for issue 237, ignore optional transitive dependencies
fix for issue 241, proguard fails when jdk installed in folder with spaces on Windows
contributed by Richard Mortimer https://github.com/oldelvet
Fail a device operation if the android.device parameter could not be found.
contributed by Richard Mortimer https://github.com/oldelvet
Correct javadoc comments for test operation and member references
contributed by Richard Mortimer https://github.com/oldelvet
upgrade to r16
of ddmlib
contributed by Manfred Moser http://simpligility.com
configuration fix for classes/class parameter for instrument (test) mojo
contributed by Erik Ogenvik http://erikhjortsberg.blogspot.com
API/Configuration Changes:
as mentioned above, overriding of plugin configuration for various goals from properties or command line parameter should now work
new proguard config for alternate proguard jar and jvm arguments, also using absolute path to a proguard.cfg should now work
<proguard> <skip>false</skip> <config>proguard.cfg</config> <proguardJarPath>someAbsolutePathToProguardJar</proguardJarPath> <jvmArguments> <jvmArgument>-Xms256m</jvmArgument> <jvmArgument>-Xmx512m</jvmArgument> </jvmArguments> </proguard>
NDK builds now require NDK r7
new proguard goal
contributed by Jonson, Matthias Käppler http://brainflush.wordpress.com , Hugo Josefson http://about.me/hugojosefson and Manfred Moser http://simpligility.com
Sample project changes:
Scala example adapted to new proguard goal
contributed by Manfred Moser http://simpligility.com
Release profile on morseflash example adapted to new proguard goal
contributed by Manfred Moser http://simpligility.com
Native transitive dependency example fixed namespace so it works again
contributed by Johan Lindquist
API/Configuration Changes:
new goal android:proguard, by default disabled, enable with
<proguard><skip>false</skip></proguard>
in the plugin configuration, by default uses a proguard.cfg file as used/created by the Android SDK
support for statically linked native libraries as dependencies
contributed by Johan Lindquist
new parameter for aidl classes location "genDirectoryAidl"
contributed by Anthony Dahanne http://blog.dahanne.net
Support for alternate build script and directory for NDK builds
contributed by Johan Lindquist
Fix search for native artifacts to respect excluded dependencies
contributed by Roberto Tyley http://www.guardian.co.uk/profile/roberto-tyley
Sample project changes:
example in the samples project using a statically linked native library
see https://github.com/jayway/maven-android-plugin-samples/pull/13
see https://github.com/jayway/maven-android-plugin-samples/pull/12
contributed by Johan Lindquist
updated example library project to api 10
see https://github.com/jayway/maven-android-plugin-samples/pull/11
contributed by Luigi Agosti http://www.luigiagosti.com
samples project to no longer start any emulators
contributed by Manfred Moser http://simpligility.com
new samples project "Support4Demos" using compatibility library example
contributed by Manfred Moser http://simpligility.com
replaced android 1.5 ApiDemos example project with same project from 2.3.4 (platform 10)
contributed by Manfred Moser http://simpligility.com
explicitly forcing test reporting on in samples project on and adding all other test parameters in comment to showcase/test
contributed by Manfred Moser http://simpligility.com
API/Configuration Changes: new parameter genDirectoryAidl to specify target folder for aidl classes generated new parameter to specify alternate ndk build file android.ndk.ndk-build-executable * new parameter to specify build directory for ndk build step *android.ndk.ndk-build-directory
improved error message for apkbuilder
contributed by Mykola Nikishov https://manandbytes.wordpress.com/
Fix for transient dependency issue with native libs
contributed by Johan Lindquist
Example for transient dependency with native libs
see https://github.com/jayway/maven-android-plugin-samples/pull/10/
contributed by Johan Lindquist
fix to changed call for apk tool in Android SDK r14
contributed by Erik Ogenvik http://erikhjortsberg.blogspot.com
upgraded to r13
of ddmlib, that is now available in central
special thanks to Ladislav Thon and Robert Manning
contributed by Manfred Moser, http://simpligility.com
refactored configuration for dex and run goals, updated lots of documentation, cleaned up so parameters work from command line, properties, pom file and settings file
see https://github.com/jayway/maven-android-plugin/commit/c8f49952391ffdb77696d762132a90f39a3079a6
contributed by Manfred Moser, http://simpligility.com
android.test.debug value can be empty and defaults to auto then
see https://github.com/jayway/maven-android-plugin/commit/c8f49952391ffdb77696d762132a90f39a3079a6
contributed by Manfred Moser, http://simpligility.com
support for directories in the pull goal
fixes issue 205
contributed by Roman Zimmer http://sprylab.com
pull and push mojo now support nested configuration in the pom following the codeconvention
contributed by Manfred Moser, http://simpligility.com
fix for test report file names when using Android x86 remotely
contributed by Alex V
Samples project changes:
update morseflash example setup to use the manifest-update goal for debuggable and versionCodeAutoIncrement
contributed by Manfred Moser, http://simpligility.com
API/Configuration Changes
run configuration now nested in pom and using parameter android.run.debug for command line or run.debug for property
<run> <debug>true</debug> </run>
dex configuration now nested and so on like run config
<dex> <jvmArguments> <jvmArgument>-Xms256m</jvmArgument> <jvmArgument>-Xmx512m</jvmArgument> </jvmArguments> <coreLibrary>true|false</coreLibrary> <noLocals>true|false</noLocals> <optimize>true|false</optimize> </dex>
push configuration now nested and so on like run config
<push> <source>path</source> <destination>path</destination> </push>
pull configuration now nested and so on like run config
<pull> <source>path</source> <destination>path</destination> </pull>
refactored name of plugin to android-maven-plugin
THIS MEANS ALL USERS MUST UPDATE THEIR POMS
In your projects, change all '<artifactId>maven-android-plugin</artifactId>' to '<artifactId>android-maven-plugin</artifactId>'.
See also [PluginRenamed] for further information.
see Issue 198
contributed by Manfred Moser, http://simpligility.com
API/Configuration Changes: * renamed all plugin configuration from '<artifactId>maven-android-plugin</artifactId>' to '<artifactId>android-maven-plugin</artifactId>'
This is the last 3.x-series release under the name 'maven-android-plugin'. From now on, the plugin is known as 'android-maven-plugin'. See above.
Added forward-pointing relocation meta-data to artifactId 'android-maven-plugin'.
contributed by Hugo Josefson
(not released)
Wait for the initial device list to be loaded from the Android Debug Bridge before proceeding to deploy and other tasks using adb
fixes issue 197
contributed by oldelvet
Require Maven 3.0.3
see https://groups.google.com/d/topic/maven-android-developers/7vTpCUdgPD0/discussion
contributed by Hugo Josefson
Allow to push directories to the device
fixes issue 192
contributed by Roman Zimmer http://sprylab.com
Start apk with debug flag for run goal
fixes issue 199
contributed by cherrydev
modified to work with plugin configuration parameter by Manfred Moser, http://simpligility.com
fixed StringIndexOutOfBoundException when instrumentation test report AssertionError
contributed by Manfred Moser, http://simpligility.com
support for all instrumentation test configuration parameters to be supplied as properties or in plugin configuration
contributed by Manfred Moser, http://simpligility.com
refactored enableIntegrationTest parameter to android.test.skip
contributed by Manfred Moser, http://simpligility.com
internal refactor of all pure config pojos into separate package and other cleanup
contributed by Manfred Moser, http://simpligility.com
refactored configuration parameters for manifest update mojo to be contained in <manifest>
element
contributed by Manfred Moser, http://simpligility.com
API/Configuration Changes:
Upgrade to Maven 3.0.3+
support for debug parameter for run goal as android.run.debug as property value in pom, settings or command line or in plugin configuration as
<configuration><run><debug>true|false</debug></run></configuration>
refactored 'enableIntegrationTest' parameter to 'android.test.skip' also see next…
support for test configuration parameters to be supplied in pom like so
<configuration> <test> <skip>true|false|auto</skip> <instrumentationPackage>packageName</instrumentationPackage> <instrumentationRunner>className</instrumentationRunner> <debug>true|false</debug> <coverage>true|false</coverage> <logOnly>true|false</logOnly> avd <testSize>small|medium|large</testSize> <createReport>true|false</createReport> <classes> <class>your.package.name.YourTestClass</class> </classes> <packages> <package>your.package.name</package> </packages> </test> </configuration>
changed manifest update configuration to be contained in element in pom like so
<configuration> <manifest> <versionName></versionName> <versionCode>123</versionCode> <versionCodeAutoIncrement>true|false</versionCodeAutoIncrement> <versionCodeUpdateFromVersion>true|false</versionCodeUpdateFromVersion> <sharedUserId>anId</sharedUserId> <debuggable>true|false</debuggable> </manifest> </configuration>
or have the manifest as part of the configuration property like e.g. android.manifest.debuggable or android.manifest.sharedUserId
(not released)
improved naming for devices in logging and unit report file name
contributed by Manfred Moser, http://simpligility.com
support for emulator name in android.device parameter
contributed by Manfred Moser, http://simpligility.com
fix to avoid !ArrayIndexOutOfBoundsException in NDK build
fixes issue 189
contributed by Dominik Hiltbrunner
merged !VersionsUpdateMojo into more generic new !ManifestUpdateMojo
contributed by Nik Strong http://www.codepoets.co.nz
new mojo to stop all attached emulators, stop emulators with adb bridge, possibility to start multiple emulators from command line, this should work flawlessly on Windows now too!!
see https://github.com/jayway/maven-android-plugin/pull/60 and a few separate commits in master by Manfred following the merge
should fix issue 4
contributed by Bryan O’Neil and Manfred Moser, http://simpligility.com
API/Configuration Changes:
support for emulator name (e.g. emulator-5554) in android.device parameter
new manifest update mojo replacing the version update mojo:
Updates various version attributes present in the !AndroidManifest.xml file. You can configure this mojo to update the following manifest attributes:
android:versionName on the manifest element. android:versionCode on the manifest element. android:sharedUserId on the manifest element. android:debuggable on the application element.
Note: This process will reformat the !AndroidManifest.xml per JAXP Transformer defaults if updates are made to the manifest.
Updating Your android:debuggable attribute
<plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>maven-android-plugin</artifactId> <executions> <execution> <id>update-manifest</id> <goals> <goal>manifest-update</goal> </goals> <configuration> <debuggable>true</debuggable> </configuration> </execution> </executions> </plugin>
new goal to stop all emulators, try mvn android:emulator-stop-all
new parameter 'optimize'. Defaults to 'true'. Setting to 'false' may make the build faster.
contributed by Lorenzo Villani
API/Configuration Changes:
new optimize boolean parameter.
failure of test run result in build failure
contributed by Roberto Tyley http://www.guardian.co.uk/profile/roberto-tyley
Pull goal will automatically create target folder
contributed by Nic Strong http://www.codepoets.co.nz
API/Configuration Changes: none
new goal "help" that will display all goals and their help text or a specific goal and its parameters
fixes Issue 191
contributed by Hakan Tandogan https://github.com/hakan42
fixed bug in deploy mojo that skipped installing apk when app already there
fixes issue 193
contributed by Lorenzo Villani and Manfred Moser
API/Configuration Changes:
new help goal: try 'mvn android:help'
Improved logging for deploy and undeploy
see https://github.com/jayway/maven-android-plugin/commit/8fa9454c5f16d0d0024ad2452088e3a0b622dcf6
contributed by Manfred Moser, http://simpligility.com
automatically start adb if not running for ddmlib based code like new deploy, undeploy and instrument
fixes issue 176
contributed by Roberto Tyley
Refactored pull and push goals to use ddmlib, also changed parameter names to not conflict between the two
contributed by Manfred Moser, http://simpligility.com
Removed deleteConflictingFiles parameter as it is no longer needed
fixes issue 182
contributed by Manfred Moser, http://simpligility.com
Suppress empty error log line causing wrong reporting in Hudson/Jenkins
contributed by oldelvet
Declare need for Java 1.6 at build and run time since a 1.6 file IO call is used in the source already
contributed by Mykola Nikishov
new mojo that can run the application, needs a project and then you can use "mvn android:run", application needs to be deployed
contributed by Lorenzo Villani and Manfred Moser
fixes issue 102
automatically create a junit compatible xml file for each device/emulator the instrumentation tests run on complete with system and device properties, error messages, stack traces, timing and so on, files are created in target/surefire-reports
issue 183
contributed by Manfred Moser, http://simpligility.com
honor flag to undeployBeforeDeploy also for instrumentation test apk
issue 160
contributed by Manfred Moser, http://simpligility.com
added documentation for jvmArguments parameters for dex command
issue 146
contributed by Manfred Moser, http://simpligility.com
API/Configuration Changes:
pull goal parameters are now android.pull.source and android.pull.destination
push goal parameters are now android.push.source and android.push.destination
deleteConflictingFiles parameter removed
Java 1.6 now required to build plugin and to run plugin as well
new standalone mojo android:run
new parameter android.test.createreport default to true, set to false and junit xml report will not be created
Fix so that builds won’t pass when integration tests fail
contributed by Roberto Tyley
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
New feature: (Un)deploy to all devices
the plugin now detects all attached devices and emulators will deploy and undeploy to all of them. It also honours the usb and emulator parameters as prior support and will respectively deploy to all emulators or all devices. The old behaviour of being stuck in a loop by adb with "Waiting for device" is now gone and replaced with a deployment to all attached devices/emulators.
including fix issue 158 and issue 163.
contributed by Manfred Moser
Improved project website including test coverage, static analysis and more.
see [https://github.com/jayway/maven-android-plugin/pull/24]
contributed by Mirko Friedenhagen
New standalone plugin goal "version-update" for updating versionCode and versionNumber in the !AndroidManifest.xml.
contributed by Joakim Erdfelt
Improved detection of Android related packaging types.
see [https://github.com/jayway/maven-android-plugin/pull/29]
Contributed by Jake Wharton
New NDK support.
see [https://github.com/jayway/maven-android-plugin/pull/19]
also merged in the provided samples for NDK projects, see [https://github.com/jayway/maven-android-plugin-samples/pull/5]
contributed by Johan Lindquist
Classifier support for apk mojo.
see [https://github.com/jayway/maven-android-plugin/pull/20]
contributed by Johan Lindquist
Fixed usage of coreLibrary in dex command.
see [https://github.com/jayway/maven-android-plugin/pull/34]
contributed by kevinpotgieter
Additional config option for apk allowing additional source directories
see [https://github.com/jayway/maven-android-plugin/pull/23]
contributed by Lars Poeschel
Remove jar goal from process resources phase
see [https://github.com/jayway/maven-android-plugin/pull/36]
required for M2 Eclipse Android Integration
contributed by Ricardo Gladwell
Support for extra arguments for aapt (Issue 165)
see [https://github.com/jayway/maven-android-plugin/pull/35]
contributed by Fabrizio Giudici
Removed support for Android 1.1 SDK tools (NOT platform/API)
contributed by Manfred Moser
Added multi-device support for push, pull and instrumentation test runs
see [https://github.com/jayway/maven-android-plugin/commit/33e52c75edea2f7d579b3d2517c33356bf77ddca]
contributed by Hugo Josefson
Run instrumentation tests via ddmlib directly rather than adb command
see [https://github.com/jayway/maven-android-plugin/commit/ecccb4a558e81255c705a5f4053bfbe7e2e06c84]
contributed by Manfred Moser
Support for various parameters for instrumentation test runs
contributed by Manfred Moser
API/Configuration Changes:
new standalone goal "version-update" with parameters "versionname.update" and "versioncode.autoincrement"
new goal ndk-build
"ndk.path" parameter for Android NDK support, supports environment variable ANDROID_NDK_HOME
"ndk.build.native-classifier" parameter
"ndk.build.command-line" parameter
"ndk.build.clear-native-artifacts" parameter
"ndk.build.ndk-output-directory" parameter
"nativeLibrariesDirectory" parameter
"ndk.build.architecture" parameter, default armeabi
"classifier" parameter, when given cause the apk to get a classifier and be an attached build artifact
removed parameter "deleteDataAndCacheDirectoriesOnDevice" since it is no longer needed
new instrumentation test related parameters
"test.debug"
"test.coverage"
"test.logonly"
"test.testsize"
changed "instrumentationRunner" to "test.instrumentationRunner"
changed "instrumentationPackage" to "test.instrumentationPackage"
Can be found in the migrated changelog from the old project site.