jayway/maven-android-plugin — pull request #341 by marchelo (2014-05-01 18:31:00+00:00)
Title: Aapt commands builder

Hello everyone,
by making this pull-request I'm proposing to have some kind of builder for aapt commands in android-maven-plugin.
The main goal: is to have builder that will hold all logic for constructing aapt commands and use such builder everywhere we need to execute aapt commands.

Pros:
- more readable and understandable
- all aapt request can now fit into ~20 lines so we can faster and easily understand what it does;
- all request part now have name(name of a method in builder) instead of some tag(for ex: "-J" or "-m");
- all methods have javadoc(similar to: aapt --help), so we could easily check what does some method of find proper method to use;
- all logic holds in single place, so if we need to change smth we will change it in builder and we don't need to search everywhere it is used;
- a lot of duplicate code will move to builder(like: "if-else" checks or iterations).

If it is acceptable -> I will move all aapt requests to builder and carefully check everything for correctness.