What's new? | Help | Directory | Sign in
Google
android-maven
Android Maven
  
  
  
  
    
Join project
Project owners:
  charlie.collins
Project members:
goo...@thismetalsky.org

Maven 2 support for Android

M2 Android plugin that allows use of customized directory structure for Android projects (and defaults to Maven standards), generates the Android R.java resource file, runs AIDL tool to generate IPC interfaces, creates the Android DEX file, builds the Android APK file, and can optionally launch emulator and install and run APK.

This project is in the early stages and - help, suggestions, criticism, etc - all welcome. (Please feel free to join the project if you want to help.)

To get started using Android-Maven see the sample.

Also, though we don't have official documentation yet, there are some useful notes in the docs folder.

For questions/feedback please use the Android-Maven Group.


NOTE There is another Android Maven plugin in the wild too. In the Apache Maven sandbox: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-android/. This one actually looks very good. It was written by Shane Isbell and it appears to re-use some of the stuff from NMaven. It has modules for the various Android tools, and it works to compile and create an apk archive (much like Android-Maven). I (Charlie Collins) did not notice this plugin until after I had started this project - just after. I elected to keep this separate project going, because I want to be able to commit changes and allow anyone else that is willing to participate to do so as well. To use the Maven Sandbox it appears you need to be an ASF member/committer - which I am not. In order to become an ASF member you have to contribute and get nominated, then pass a vote, and then sign a contributor license agreement. All processes that I am frankly not interested in, though I have contributed patches and bug reports to various ASF projects over the years (rather than the formal process, I believe in giving everyone who is willing to contribute an account, and managing from there as needed). Also, because the existing maven-android stuff is only in the "sandbox" it does not have a project home page and issue tracker and such - so there is basically nowhere to contribute if you are not already a member. Even if I were an ASF committer, I would not have the authority to allow others to join the project, without the vote and the signed agreement. Long story short, I think a separate project, outside of the ASF, is valid and worthwhile - at least for now until the ASF project gets more formalized.