We hit the same problem. maven 2 plugin uses maven 2.1 and we prefer using
hte command line tool.
You can setup a launch configuration in eclipse which relies on variables
${project_loc} and ${maven_bin} which gives the launch the context of the
current project and maven_bin is user defined to point to the location of
the maven executable

You can then share these launch configurations by saving them to files. I
have attached a few that we use. You can add them to any project to your
workspace and they should be available for all from the external tools
runner. http://www.nabble.com/file/p12432410/maven%2Beclipse-eclipse.launch
maven+eclipse-eclipse.launch 
http://www.nabble.com/file/p12432410/maven%2Bpurge%2Blocal%2Brepository.launch
maven+purge+local+repository.launch 
http://www.nabble.com/file/p12432410/maven%2Bsite.launch maven+site.launch 
http://www.nabble.com/file/p12432410/maven%2Bdeploy.launch
maven+deploy.launch 

Dave Feltenberger wrote:
> 
> All,
> 
> Do you have recommendations on a good Maven2 plugin for Eclipse?  I just
> tried M2 Eclipse from Codehaus (http://m2eclipse.codehaus.org) and it
> seems
> a little klunky - my Eclipse projects have build errors (they didn't prior
> to the plugin, and compiling using the poms from the command line works
> fine) and trouble staying synchronized.  Are there others you've tried and
> like?  I actually prefer using External Launchers and/or the command line,
> but I'm trying to sell a Maven upgrade to co-workers who are very reliant
> on
> and set in their ways in Eclipse, so I need to make the transition as
> painless for them as possible.
> 
> Thanks.
> 
> Dave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-Plugins-for-Eclipse-tf4361079s177.html#a12432410
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to