New version of plugin?

33 views
Skip to first unread message

Manfred Moser

unread,
Nov 23, 2010, 1:21:08 AM11/23/10
to pyx4me-users
Hi!

I am wondering if a new version of the plugin is coming sometime that
will upgrade to proguard 4.5. I have upgraded to 4.4 myself by just
adding the dependency since I found the 4.4 artifact is in Maven
central. 4.5. however does not seem to be. Did you get it there?

manfred

Vlad Skarzhevskyy

unread,
Nov 23, 2010, 2:55:34 AM11/23/10
to pyx4me...@googlegroups.com
I believe I tried to upgrade default version of proguard to 4.5 but the build of the projects (microemulator) I'm maintaining failed...  So I decided to postpone it until better times (4.6) and do more investigations.

In general proguard-maven-plugin should not have had version of proguard bound from the beginning. It is simply the maven v2 bug that it is found and attached by default.  (See it is <optional>true</optional>  in proguard-maven-plugin  pom)

So suggestion is explicitly declare the version of progurad you want to use in your own pom!

In a real life the version is used proguard-maven-plugin would be the last available in maven central repository on the time of release.

As to release of next version there have not been any significant changes yet.
Old version 2.0.4. works fine on maven 3 as well.....

Vlad



--
You received this message because you are subscribed to the Google Groups "pyx4me-users" group.
To post to this group, send email to pyx4me...@googlegroups.com.
To unsubscribe from this group, send email to pyx4me-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyx4me-users?hl=en.


Manfred Moser

unread,
Nov 23, 2010, 12:11:33 PM11/23/10
to pyx4me...@googlegroups.com
Sounds good. I am using the plugin with Maven 3 already.

I have tried it with 4.5 and it seems to work fine for me,

Btw. when you say declaring the dependency in the pom I assume you
mean like this:

<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.sf.proguard</groupId>
<artifactId>proguard</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<proguardVersion>4.4</proguardVersion>

This is for 4.4 and works fine for me. If that is correct it would be
great to document that on the site somewhere so that people that want
to use 4.4. have an idea how to do that. If not I am going to write a
blog post about this and other proguard maven related stuff with
Android shortly and will have that information in there..

Imho it would still be nice to get the plugin updated to at least have
4.4. out of the box. I have already created an issue with proguard to
get the 4.5 artifacts into Maven central....

manfred

Vlad Skarzhevskyy

unread,
Nov 23, 2010, 1:25:48 PM11/23/10
to pyx4me...@googlegroups.com
The version change is documented for versions '4.0betta1'  as the last paragrapth on plugin documentation page

You are welcome to contribute any documentation change to plugin docs.

Also having Android build example is cool. If you want we can post the link to your docs and example on the plugin page.

Creating bug for proguard to post artifact to maven repo will not get you anywhere (See comments)! But we have it done before. All you need is to create the bundle yourself and submit a request like this one we had done before:
http://jira.codehaus.org/browse/MAVENUPLOAD-2105
http://jira.codehaus.org/browse/MAVENUPLOAD-2555
http://jira.codehaus.org/browse/MAVENUPLOAD-1357


Vlad

Manfred Moser

unread,
Nov 23, 2010, 1:31:21 PM11/23/10
to pyx4me...@googlegroups.com
Are you going to do it for 4.5?

Vlad Skarzhevskyy

unread,
Nov 23, 2010, 1:39:44 PM11/23/10
to pyx4me...@googlegroups.com
On Tue, Nov 23, 2010 at 1:31 PM, Manfred Moser <mos...@gmail.com> wrote:
Are you going to do it for 4.5?


I would appreciate if somebody else would do this. I don't use the latest proguard in my projects so I can't really test how all this works together....

Manfred Moser

unread,
Nov 23, 2010, 1:46:55 PM11/23/10
to pyx4me...@googlegroups.com
I dont either.. anyway. Do you have some sort of setup ready to go to
create the bundle? E.g. a mavenized build of proguard or something?

Oh and in terms of blog post I will put a message up when I did it and
it would be great if you can link to it. Probably next week ;-)

manfred

Vlad Skarzhevskyy

unread,
Nov 23, 2010, 1:57:43 PM11/23/10
to pyx4me...@googlegroups.com
I don't have it I do it old school: Use Frirefox to download jar and source, text editor to edit the pom midnight commander to rename the jar to match the maven convention and so on...

Vlad

Manfred Moser

unread,
Nov 23, 2010, 2:12:43 PM11/23/10
to pyx4me...@googlegroups.com
ouch..

On Tue, Nov 23, 2010 at 10:57 AM, Vlad Skarzhevskyy
<skarzh...@gmail.com> wrote:
> I don't have it I do it old school: Use Frirefox to download jar and source,
> text editor to edit the pom midnight commander to rename the jar to match
> the maven convention and so on...
>
> Vlad
>
>
> On Tue, Nov 23, 2010 at 1:46 PM, Manfred Moser <mos...@gmail.com> wrote:
>>
>> I dont either.. anyway. Do you have some sort of setup ready to go to
>> create the bundle? E.g. a mavenized build of proguard or something?
>>

>> Oh and in terms blog post I will put a message up when I did it and

Reply all
Reply to author
Forward
0 new messages