Android Maven Plugin 3.0.0 released (Yes, finally!)

2,268 views
Skip to first unread message

Hugo Josefson (Jayway)

unread,
Nov 26, 2011, 8:25:27 PM11/26/11
to maven-androi...@googlegroups.com
Hi all,

I'm pleased to announce that we have released stable version 3.0.0 of Android Maven Plugin!

For those of you who have been on the 3.0.0-alphas, the most interesting piece of news since 3.0.0-alpha-14, is that Proguard support is now built-in, using the same proguard.conf as Google's tools use. You no longer have to declare a separate Maven plugin for Proguard.

For current 2.x users of maven-android-plugin, the most obvious change is that the plugin has changed name. When upgrading to version 3.0.0, you must also change all occurances of maven-android-plugin in your poms, to android-maven-plugin. Some configuration parameters have also changed names. See the changelog for details. Note that from now on, the 2.x versions will not receive any more updates, so you should upgrade as soon as possible.

All the new features and configuration/API changes are in the Changelog:

Thank you to all the contributors who have made this release possible! There is a cool graph at github, which shows each contributor in its own color! The further to the right (forward in time) you scroll, the more contributors you find:

/Hugo

Alexey Zakharov

unread,
Nov 28, 2011, 7:14:54 AM11/28/11
to maven-androi...@googlegroups.com
To use last version what should put to version? 

Is this right?

                <plugin>
                    <groupId>com.jayway.maven.plugins.android.generation2</groupId>
                    <artifactId>android-maven-plugin</artifactId>
                    <version>3.0.0-SNAPSHOT</version>
                    <extensions>true</extensions>
                </plugin>

Alexey Zakharov

unread,
Nov 29, 2011, 1:27:17 AM11/29/11
to maven-androi...@googlegroups.com
If fix the problem. Version should be: <version>3.0.0</version>. If Im correct SNAPSHOT is used then plugin was build from master.

Manfred Moser

unread,
Nov 29, 2011, 1:40:45 AM11/29/11
to maven-androi...@googlegroups.com
No ... version should be just 3.0.0.

manfred

> --
> You received this message because you are subscribed to the Google
> Groups "Maven Android Developers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/maven-android-developers/-/spHASujEJhoJ.
> To post to this group, send email to
> maven-androi...@googlegroups.com.
> To unsubscribe from this group, send email to
> maven-android-deve...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/maven-android-developers?hl=en.

Manfred Moser

unread,
Nov 29, 2011, 1:43:23 AM11/29/11
to maven-androi...@googlegroups.com
Correct. -SNAPSHOT is appended to a version string in Maven to signifiy that it is currently under development.

After a release the version is reved so we are now at 3.0.1-SNAPSHOT on master..

On 11-11-28 10:27 PM, Alexey Zakharov wrote:
If fix the problem. Version should be: <version>3.0.0</version>. If Im correct SNAPSHOT is used then plugin was build from master. --
You received this message because you are subscribed to the Google Groups "Maven Android Developers" group.

Kostis Anagnostopoulos

unread,
Dec 21, 2011, 10:25:37 AM12/21/11
to maven-androi...@googlegroups.com
I'm trying to import 'helloflashlight' as m2 project and when clicking on 
  'discover new m2e connectors'
the fetching fails with message:"
 "No marketplace items are applicable."

Any help appreciated.


VERSION INFO:
-------------------------
Eclipse Indigo: 
  Version: 3.7.1
  Build id: M20110909-1335
  m2e: 1.0.100.20110804-1717 (with embeded maven 3.0.3/1.0.1.201106201304)
  Android Development Toolkit: 16.0.1.v201112150204-238534

Android-sdk-linux_x86-r12


Kostis

Maurizio Bellemo

unread,
Jan 10, 2012, 10:02:05 AM1/10/12
to maven-androi...@googlegroups.com
Hi all,

I am trying to use the plugin to launch a single test case,

-Dandroid.test.classes=class1,class2

but, unfortunately, I get a class cast exception.

Any suggestion?
Thanks
Reply all
Reply to author
Forward
0 new messages