RE: Compiling maven project from eclipse project

2007-01-10 Thread Trent Nelson

 Hello,
  you have to use m2 plugin for eclipse and make sure that your eclipse
 project is maven enabled.
 check plugin here  http://m2eclipse.codehaus.org/
 
 once installed, have you project imported in your workspace, you
should
 right-click on them and choose Maven2--enable

Is there any way to get 'mvn eclipse:eclipse' to automatically add the
Maven2 plugin nature to the generated .project file?  It gets a bit
tiresome having to continually re-enable the Maven2 plugin for each
project, especially if you need to 'mvn eclipse:clean' often.

Trent.

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



Eclipse, WTP Maven2

2006-07-12 Thread Trent Nelson

The last time I looked into it, the coherency between Eclipse's Maven2
plugin (http://m2eclipse.codehaus.org/) and Maven2's eclipse:eclipse was
quite poor; each one didn't seem to know about the other, and you
certainly couldn't use both in harmony.

What's the state of play now?  Can 'mvn eclipse:eclipse' be made to
produce an Eclipse environment that the Eclipse Maven2 plugin plays
nicely with?

Also, what's the state of all of the above when it comes to WTP support?
Can all three components be coerced to play together nicely?

The last time I tried, if I created a WTP-enabled web project directly
in Eclipse (or MyEclipse in my case), I'd get all the nice warm and
fuzzy features offered by WTP, but lost all the project/library
management offered by Maven2.  (And vice-versa with regards to taking
the Maven2 approach; I'd have to 'mvn compile|deploy' to push code
changes I was making back onto the app server.)


Regards,

Trent.

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