jayway/maven-android-plugin — pull request #134 by andi12 (2012-09-27 15:08:25+00:00)
Title: Improvements and fixes for APKLib support with Native code

Please could you merge these changes which address a number of issues with APKLib support in general and path handling on Windows. I have summarized the changes below.

Add to NativeHelper to support finding native libraries in APKLIBs.
Change MakefileHelper:
- support for Windows paths
- re-work resolveRelativePath to calculate shortest relative paths
- add support for native libraries in APKLIBs
- fix issue with naming of libraries found from the Maven repository by added LOCAL_MODULE_FILENAME to the makefile
Change MakefileHelperTest:
- Add tests for path resolution
Change NdkBuildMojo
- change location of generated makefile to be under target folder, fixes path problems on Windows
- changed behaviour for finding built native libraries, in particular the target configuration is no longer used
Change ApkMojo
- fix to avoid renaming a native library whose name doesn't match the artifact Id. Use ndkFinalLibraryName configuration instead
Change ApklibMojo
- add support for attaching a library from the target directory instead of picking up the whole libs directory