• 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

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: 41878
909
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic