• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android with Maven

 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There seem to be a couple of Maven plugins for Android -
http://code.google.com/p/masa/
http://code.google.com/p/android-maven/

I have been using Ant so far, and happy with it.
I want to try Maven as soon as there is a full featured plugin, but not if it is going to be a hassle to set up (many other things to learn that I can spend my time on ).

Has anyone tried it? what was your experience like?

Cheers.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sonny Gill wrote:
I have been using Ant so far, and happy with it.
I want to try Maven as soon as there is a full featured plugin, but not if it is going to be a hassle to set up (many other things to learn that I can spend my time on ).

Has anyone tried it? what was your experience like?

Cheers.



Are you asking about Maven and its comparison against Ant in general? Or are you asking specifically for using the plugins on Android. If you are looking for a general comparison, then our "Ant & other build tools" forum would be a good choice

Anyways, having used both Ant and Maven, i would say that both are targeted to do things in a different way. Each one has its advantages and its disadvantages. Maven works on the principle of conventions. So it regulates that your project has a standard folder hierarchy. Its a different point that you can always override the defaults. Ant on the other hand has no such convention and its upto the build configuration manager to create the appropriate "tasks" of pulling in the necessary source/resource from various locations.

Maven also works on the principle that your project dependencies (like dependency on a logging library) should come from a repository.
 
Sonny Gill
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Sorry, if I wasn't clear.. I was asking specifically about the Android plugins.

My workplace prefers Maven where possible, so at some stage I will have to move from Ant to Maven for the Android development I am doing. I don't have to do it right away, so I just wanted to find out what other people's experience has been with using the Maven plugins.

As an aside, I was rather reluctant to switch from Ant to Maven for a long time. But it changed when I found "mvn jetty:run"
Now I use Maven where ever I can.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let me recommend you to check out http://code.google.com/p/maven-android-plugin

It is being actively developed and we use it ourselves at Jayway, dogfood-wise

/Hugo
 
Sonny Gill
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Hugo,

Welcome to JavaRanch.

Yeah I just happened to find out about that yesterday via Peter Neubauer - http://twitter.com/peterneubauer/status/2116964127

Thanks for putting that together. Good Work!

Sonny

Hugo Josefson wrote:Let me recommend you to check out http://code.google.com/p/maven-android-plugin

It is being actively developed and we use it ourselves at Jayway, dogfood-wise

/Hugo

 
Self destruct mode activated. Instructions for deactivation encoded in this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic