Closed GoogleCodeExporter closed 9 years ago
Thats actually a proguard configuration issue and not an issue with the maven
android plugin. Maybe ask on the proguard mailinglist or forum about that.
Original comment by mosa...@gmail.com
on 11 Dec 2010 at 5:02
[deleted comment]
Thanks to Manfred Moser I've gotten this working. No more logging in the
release builds, and an improved build overall. I've followed his example at
https://github.com/mosabua/maven-android-plugin-samples/tree/master/morseflash.
I refactored the project and its instrumentation to use the same hierarchy as
Moser in order to leverage the maven profiles he wrote. I basically have it
working out-of-the-box, but there's a minor tweak I'm fiddling with to use
Eclipse alongside, and the "filtered-resources" concept is creating a little
quirkiness in the build. Aside from that it's pretty golden.
Now that I refactored the project, the POM sample in this report doesn't apply
anymore. I'll leave it for another person to figure out how to take the sample
(which originally comes from the example(s) in the android-maven-plugin
project) and get "-assumenosideeffects" to work. I adopted the new setup
because I've seen similar setups in other open-source projects, and my projects
were in a position to be easily migrated. It's turned out better than figuring
out how to get the same Proguard options in
https://github.com/mosabua/maven-android-plugin-samples/tree/master/morseflash/m
orseflash-app/pom.xml to work in my pom.
Original comment by fbeach...@gmail.com
on 18 Dec 2010 at 10:11
I will close this issue since there is a solution as commented. PS: Manfred
Moser == mosabua ;-)
Original comment by mosa...@gmail.com
on 18 Jan 2011 at 5:35
Original comment by mosa...@gmail.com
on 18 Jan 2011 at 5:36
Just a hint here: use a proguard.cfg file instead of embedding the proguard
configuration on the pom.xml.
Original comment by Martin.K...@gmail.com
on 20 Jun 2011 at 7:41
Original issue reported on code.google.com by
fbeach...@gmail.com
on 10 Dec 2010 at 9:29