Igor Passchier
unread,Jul 20, 2013, 2:55:34 PM7/20/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyx4me...@googlegroups.com
Hello,
I was using proguard via the maven plugin to obfuscate some of my classes. I wanted to keep classes based on annotations. Although the classes were identified as seeds, they were still obfuscated when done via the maven plugin. When I used exactly the same configuration, but using the latest standalone version of proguard, it was working as expected.
I found out that the maven plugin was still using proguard 4.4, whereas the latest version is 4.9. I modified the pom of the plugin to use the latest version, and that made the plugin behave as expected: all classes and methods selected as seeds where indeed not obfuscated.
I do not know whether it is on purpose that the latest version of proguard is not used, but if not, the patch below will fix this. Note, that I did not only change the version, but also the artifactId.
Regards,
Index: pom.xml
===================================================================
--- pom.xml (revision 9902)
+++ pom.xml (working copy)
@@ -30,8 +29,8 @@
<dependency>
<groupId>net.sf.proguard</groupId>
- <artifactId>proguard</artifactId>
- <version>4.4</version>
+ <artifactId>proguard-base</artifactId>
+ <version>4.9</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>