Hello Hugo, It's great to see this kind of work being done!
Just a quick question though: in the "getting started" page, step 4 indicates one needs to delete default.properties as it's not used. In fact, this file contains a very important information: the target of the project. The Eclipse plugin and the Ant build script use this to know against which .jar files the application must be compiles. it's always an android.jar file (but there are several in the SDK) and possibly others if the target is an add-on. It would be a really good idea for the Maven plug-in to use this file, to figure out the project target. The library sdklib.jar provides support to deal with SDK targets (platforms and add-ons) and you can certainly use it in your plug-in if you need to (it's under APL2.0 of course). If you want to look at the code is under development/tools/sdkmanager/libs/sdklib. regards Xav On Thu, Jul 16, 2009 at 8:42 AM, Hugo Josefson<[email protected]> wrote: > > For those of you who like to use Maven for application development, > there is now a much improved Maven Android Plugin available. Version > 2.0.0 was released yesterday. > > It lets you focus on programming, and takes care of compiling the apk > for you. It generates R.java, Java files from aidl files and more. It > even autodetects instrumentation test classes and runs them on device. > Sample projects for using these features are available. > > http://code.google.com/p/maven-android-plugin/ > > Maven Android Plugin is a new project, originally based on Masa, but > has since received numerous improvements in terms of bugfixing, > features and ease-of-use. > > It has gone through a number of test releases, and is now quite stable > and ready for mass consumption. Some of the new features include: > > * Dynamic detection and support for Android SDK versions 1.1 -- 1.5r2 > and beyond. > * No need to double-configure parameters in the pom if the plugin can > read them from somewhere else, for example from your > AndroidManifest.xml of even from inside binary apk files. > * No <pluginRepository> config necessary - we're published on Maven > Central servers. > > New features will be added during the 2.x series, but none that will > break backwards compatibility. You should feel safe in starting to use > it right now! > > Go ahead --> http://code.google.com/p/maven-android-plugin/ > > /Hugo > > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
