{"id":99,"date":"2013-02-06T20:22:27","date_gmt":"2013-02-06T19:22:27","guid":{"rendered":"http:\/\/www.flamingpenguin.co.uk\/blog\/?p=99"},"modified":"2013-02-06T20:22:27","modified_gmt":"2013-02-06T19:22:27","slug":"using-proguard-4-8-with-maven","status":"publish","type":"post","link":"https:\/\/www.flamingpenguin.co.uk\/blog\/2013\/02\/06\/using-proguard-4-8-with-maven\/","title":{"rendered":"Using proguard 4.8 with maven"},"content":{"rendered":"<p>The proguard\/maven ecosystem seems to be in a bit of a mess. Luckily <a href=\"https:\/\/github.com\/wvengen\">wvengen<\/a> and github have stepped up, and released <a href=\"https:\/\/github.com\/wvengen\/proguard-maven-plugin\">a fork of the com.pyx4me proguard maven plugin<\/a>.<\/p>\n<p>Anyone that wants to put stuff in maven central should check out this <a href=\"https:\/\/docs.sonatype.org\/display\/Repository\/Sonatype+OSS+Maven+Repository+Usage+Guide\" title=\"putting stuff in maven central\">guide to putting stuff in maven central using sonatype<\/a>. <\/p>\n<pre lang=\"xml\">\r\n<plugin>\r\n    <groupId>com.github.wvengen<\/groupId>\r\n    <artifactId>proguard-maven-plugin<\/artifactId>\r\n    <version>2.0.6<\/version>\r\n    <executions>\r\n       <execution>\r\n           <phase>package<\/phase>\r\n           <goals><goal>proguard<\/goal><\/goals>\r\n       <\/execution>\r\n    <\/executions>\r\n    <configuration>\r\n        <libs>\r\n            <lib>${java.home}\/lib\/rt.jar<\/lib>\r\n        <\/libs>\r\n    <\/configuration>\r\n    <dependencies>\r\n        <dependency>\r\n            <groupId>net.sf.proguard<\/groupId>\r\n            <artifactId>proguard-base<\/artifactId>\r\n            <version>4.8<\/version>\r\n            <scope>runtime<\/scope>\r\n        <\/dependency>\r\n    <\/dependencies>\r\n<\/plugin>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The proguard\/maven ecosystem seems to be in a bit of a mess. Luckily wvengen and github have stepped up, and released a fork of the com.pyx4me proguard maven plugin. Anyone that wants to put stuff in maven central should check &hellip; <a href=\"https:\/\/www.flamingpenguin.co.uk\/blog\/2013\/02\/06\/using-proguard-4-8-with-maven\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,40],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-java","category-maven"],"_links":{"self":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}