Win a copy of Head First Android this week in the Android forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Maven app vs M2E in Eclipse

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have just started to explore Maven for Java and I am using Eclipse.

I understand that Maven can be used as a standalone application (mvn.exe) and also I noticed that there is an Eclipse plug-in called "M2E" that could be used via Eclipse IDE.

Could someone please mention:-

1) If, in practice, Java/Eclipse developers use Maven (mvn.exe) or a M2E? What is the best practice?

2) It seems that using M2E might be slight more convenient that using the command-line mvn.exe. Is there any features/functionality that I lose if I use M2E rather than Mvn.exe?

Thanks
 
author & internet detective
Posts: 40797
829
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use M2E. The main advantage is that it automatically sets my Eclipse classpath for me so I can develop complete in Eclipse without manual setup.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All of our official builds are done using the mvn command line (no Eclipse involved). But we do have each project configured for Eclipse with m2e; as Jeanne pointed out it makes manual Eclipse project configuration unnecessary because m2e will update the eclipse project config with the info in the pom.xml. Personally, I do my bootleg builds from the command line but most of my colleagues build their bootlegs within Eclipse.
 
Manish Verma
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks guys. helpful
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic