note to self: get maven nature on projects in (my)eclipse

myeclipse: v8.6

plugins/ software:
mavensupport for myeclipse (m4e)
maven integration for eclipse (m2)

now, if a project wasn’t “maven-enabled”, i often had to manually edit the .project file to make it so, even with mavensupport installed.

but if you also install “maven integration for eclipse”, you can right-click a project without maven nature and select “(m2) myeclipse maven -> enable dependency management”.

a last piece of the puzzle seems to be needed – i think i enabled some advanced option in m4e (might even have been seemingly unrelated, like advanced tabs in pom).  but a coworker disabled m4e after installing m2 and then got the right-click option to enable maven for a project…

if you try this, let me know how it works out…

edit: it seems i only had to enter the maven settings (myeclipse -> maven), and then exit (apply).  without changing anything… then the “(m2) myeclipse maven -> enable dependency management” option emerged…

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>