jayway/maven-android-plugin — pull request #170 by emartynov (2013-01-10 13:42:36+00:00)
Title: Allow to zipalign apk to original apk

We don't need non-aligned apk when releasing application. Android maven plugin allow you to specify output same as input but zipalign itself doesn't accept them.

Reworked a little functionality - when out file is same as in file, plugin will align it to the temp file first and replace original file after. As well aligned file won't be added as artifact to the project.

I wrote several tests to check happy scenarios but there is room to write more tests for edge cases.