I get the following issue with all the latest merges in as of
5896c1e
This might be due to some of the aapt related changes from @Marchelo
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ libraryprojects-aar1 ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ libraryprojects-aar1 ---
[INFO] Building jar: /Volumes/mac-data/dev/github/jayway/maven-android-plugin-samples/libraryprojects/libraryprojects-aar1/target/libraryprojects-aar1-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- android-maven-plugin:3.9.0-SNAPSHOT:aar (default-aar) @ libraryprojects-aar1 ---
[INFO] Generating AAR file : libraryprojects-aar1
[INFO] Generating aar
[INFO] ERROR: Unknown command '-m'
[INFO] Android Asset Packaging Tool
[INFO]
[INFO] Usage:
[INFO] aapt l[ist] [-v] [-a] file.{zip,jar,apk}
[INFO] List contents of Zip-compatible archive.
[INFO]
[INFO] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
[INFO] strings Print the contents of the resource table string pool in the APK.
[INFO] badging Print the label and icon for the app declared in APK.
[INFO] permissions Print the permissions from the APK.
[INFO] resources Print the resource table from the APK.
[INFO] configurations Print the configurations in the APK.
[INFO] xmltree Print the compiled xmls in the given assets.
[INFO] xmlstrings Print the strings of the given compiled xml assets.
[INFO]
[INFO] aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml]
[INFO] [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile]
[INFO] [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL]
[INFO] [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL]
[INFO] [--rename-manifest-package PACKAGE]
[INFO] [--rename-instrumentation-target-package PACKAGE]
[INFO] [--utf16] [--auto-add-overlay]
[INFO] [--max-res-version VAL]
[INFO] [-I base-package [-I base-package ...]]
[INFO] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file]
[INFO] [-S resource-sources [-S resource-sources ...]]
[INFO] [-F apk-file] [-J R-file-dir]
[INFO] [--product product1,product2,...]
[INFO] [-c CONFIGS] [--preferred-configurations CONFIGS]
[INFO] [raw-files-dir [raw-files-dir] ...]
[INFO] [--output-text-symbols DIR]
[INFO]
[INFO] Package the android resources. It will read assets and resources that are
[INFO] supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R
[INFO] options control which files are output.
[INFO]
[INFO] aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...]
[INFO] Delete specified files from Zip-compatible archive.
[INFO]
[INFO] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
[INFO] Add specified files to Zip-compatible archive.
[INFO]
[INFO] aapt c[runch] [-v] -S resource-sources ... -C output-folder ...
[INFO] Do PNG preprocessing on one or several resource folders
[INFO] and store the results in the output folder.
[INFO]
[INFO] aapt s[ingleCrunch] [-v] -i input-file -o outputfile
[INFO] Do PNG preprocessing on a single file.
[INFO]
[INFO] aapt v[ersion]
[INFO] Print program version.
[INFO]
[INFO] Modifiers:
[INFO] -a print Android-specific data (resources, manifest) when listing
[INFO] -c specify which configurations to include. The default is all
[INFO] configurations. The value of the parameter should be a comma
[INFO] separated list of configuration values. Locales should be specified
[INFO] as either a language or language-region pair. Some examples:
[INFO] en
[INFO] port,en
[INFO] port,land,en_US
[INFO] If you put the special locale, zz_ZZ on the list, it will perform
[INFO] pseudolocalization on the default locale, modifying all of the
[INFO] strings so you can look for strings that missed the
[INFO] internationalization process. For example:
[INFO] port,land,zz_ZZ
[INFO] -d one or more device assets to include, separated by commas
[INFO] -f force overwrite of existing files
[INFO] -g specify a pixel tolerance to force images to grayscale, default 0
[INFO] -j specify a jar or zip file containing classes to include
[INFO] -k junk path of file(s) added
[INFO] -m make package directories under location specified by -J
[INFO] -u update existing packages (add new, replace older, remove deleted files)
[INFO] -v verbose output
[INFO] -x create extending (non-application) resource IDs
[INFO] -z require localization of resource attributes marked with
[INFO] localization="suggested"
[INFO] -A additional directory in which to find raw asset files
[INFO] -G A file to output proguard options into.
[INFO] -F specify the apk file to output
[INFO] -I add an existing package to base include set
[INFO] -J specify where to output R.java resource constant definitions
[INFO] -M specify full path to AndroidManifest.xml to include in zip
[INFO] -P specify where to output public resource definitions
[INFO] -S directory in which to find resources. Multiple directories will be scanned
[INFO] and the first match found (left to right) will take precedence.
[INFO] -0 specifies an additional extension for which such files will not
[INFO] be stored compressed in the .apk. An empty string means to not
[INFO] compress any files at all.
[INFO] --debug-mode
[INFO] inserts android:debuggable="true" in to the application node of the
[INFO] manifest, making the application debuggable even on production devices.
[INFO] --min-sdk-version
[INFO] inserts android:minSdkVersion in to manifest. If the version is 7 or
[INFO] higher, the default encoding for resources will be in UTF-8.
[INFO] --target-sdk-version
[INFO] inserts android:targetSdkVersion in to manifest.
[INFO] --max-res-version
[INFO] ignores versioned resource directories above the given value.
[INFO] --values
[INFO] when used with "dump resources" also includes resource values.
[INFO] --version-code
[INFO] inserts android:versionCode in to manifest.
[INFO] --version-name
[INFO] inserts android:versionName in to manifest.
[INFO] --custom-package
[INFO] generates R.java into a different package.
[INFO] --extra-packages
[INFO] generate R.java for libraries. Separate libraries with ':'.
[INFO] --generate-dependencies
[INFO] generate dependency files in the same directories for R.java and resource package
[INFO] --auto-add-overlay
[INFO] Automatically add resources that are only in overlays.
[INFO] --preferred-configurations
[INFO] Like the -c option for filtering out unneeded configurations, but
[INFO] only expresses a preference. If there is no resource available with
[INFO] the preferred configuration then it will not be stripped.
[INFO] --rename-manifest-package
[INFO] Rewrite the manifest so that its package name is the package name
[INFO] given here. Relative class names (for example .Foo) will be
[INFO] changed to absolute names with the old package so that the code
[INFO] does not need to change.
[INFO] --rename-instrumentation-target-package
[INFO] Rewrite the manifest so that all of its instrumentation
[INFO] components target the given package. Useful when used in
[INFO] conjunction with --rename-manifest-package to fix tests against
[INFO] a package that has been renamed.
[INFO] --product
[INFO] Specifies which variant to choose for strings that have
[INFO] product variants
[INFO] --utf16
[INFO] changes default encoding for resources to UTF-16. Only useful when API
[INFO] level is set to 7 or higher where the default encoding is UTF-8.
[INFO] --non-constant-id
[INFO] Make the resources ID non constant. This is required to make an R java class
[INFO] that does not contain the final value but is used to make reusable compiled
[INFO] libraries that need to access resources.
[INFO] --error-on-failed-insert
[INFO] Forces aapt to return an error if it fails to insert values into the manifest
[INFO] with --debug-mode, --min-sdk-version, --target-sdk-version --version-code
[INFO] and --version-name.
[INFO] Insertion typically fails if the manifest already defines the attribute.
[INFO] --output-text-symbols
[INFO] Generates a text file containing the resource symbols of the R class in the
[INFO] specified folder.
[INFO] --ignore-assets
[INFO] Assets to be ignored. Default pattern is:
[INFO] !.svn:!.git:!.ds_store:!.scc:.:
__:!CVS:!thumbs.db:!picasa.ini:!_~
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Android SDK ApiDemos - Parent ..................... SUCCESS [ 0.358 s]
[INFO] Android SDK ApiDemos - Application ................ SUCCESS [ 29.072 s]
[INFO] Android SDK ApiDemos - Instrumentation Test ....... SUCCESS [ 14.319 s]
[INFO] HelloFlashlight ................................... SUCCESS [ 1.289 s]
[INFO] MorseFlash - Parent ............................... SUCCESS [ 0.016 s]
[INFO] MorseFlash - Library .............................. SUCCESS [ 1.940 s]
[INFO] MorseFlash - App .................................. SUCCESS [ 2.103 s]
[INFO] MorseFlash - Instrumentation Test ................. SUCCESS [ 12.573 s]
[INFO] Scala Application ................................. SUCCESS [ 25.554 s]
[INFO] Library Projects - Parent ......................... SUCCESS [ 0.005 s]
[INFO] Library Projects - AAR 1 .......................... FAILURE [ 0.561 s]
[INFO] Library Projects - APKLIB 1 ....................... SKIPPED
[INFO] Library Projects - Apklib from Apklib ............. SKIPPED
[INFO] Library Projects - AAR from AAR ................... SKIPPED
[INFO] Library Projects - Main App ....................... SKIPPED
[INFO] Library Projects - Instrumentation Tests .......... SKIPPED
[INFO] Library Projects - AAR Consumption ActionBarSherlock SKIPPED
[INFO] Android NDK - Aggregator .......................... SKIPPED
[INFO] Android NDK - Native Sample ...............