MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rbreitling
Post subject: Enable Maven Dependencies missing from context menu...  PostPosted: Mar 07, 2012 - 02:57 PM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 22

I am running MyEclipse IDE 10.0.2.
I have Maven4MyEclipse enabled (i have tried turning it off, then back on with and without restarts in between). I never see the Enable Maven Dependencies in the Package Manager context menu popup. I can create new projects but not convert old ones. The online help seem documentation seems to be very out of date.

I have projects I want to convert to using Maven and I can not proceed.

In other version of the IDE this menu entry seems to come and go and I have not idea what seems to be controlling this.
 
 View user's profile Send private message  
Reply with quote Back to top
rbreitling
Post subject: Re: Enable Maven Dependencies missing from context menu...  PostPosted: Mar 07, 2012 - 05:38 PM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 22

rbreitling wrote:
I am running MyEclipse IDE 10.0.2.
I have Maven4MyEclipse enabled (i have tried turning it off, then back on with and without restarts in between). I never see the Enable Maven Dependencies in the Package Manager context menu popup. I can create new projects but not convert old ones. The online help seem documentation seems to be very out of date.

I have projects I want to convert to using Maven and I can not proceed.

In other version of the IDE this menu entry seems to come and go and I have not idea what seems to be controlling this.


If I switch back to 8.6.1, there in the context menu is "MyEclipse Maven" which allows you to convert your project to use Maven. In 10.0.2 this is gone!
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Mar 08, 2012 - 06:38 AM



Joined: Nov 11, 2010
Posts: 2191

rbreitling ,

We have moved to the new version of m2eclipse. The interface is quite a bit different now. You should be using Configure -> Convert to Maven project if you want m2eclipse to manage your dependencies.

Go to Window > Preferences > General > Capabilities > Advanced > MyEclipse Standard Tools > check the option WTP (Deprecated). Apply and close the wizard. You will now be able to see on the context menu of project Configure > Convert to Maven Project.

The Configure action is hidden by default because the conversion process simply adds the Maven nature to the project but does not perform other actitives such as adding all the existing project's dependencies to the pom.xml or adding the expected Maven plugins to the pom.xml file. You have to manually add them.

Let us know if you see any issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
rbreitling
Post subject:   PostPosted: Mar 08, 2012 - 03:27 PM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 22

support-swapna wrote:
rbreitling ,

We have moved to the new version of m2eclipse. The interface is quite a bit different now. You should be using Configure -> Convert to Maven project if you want m2eclipse to manage your dependencies.

Go to Window > Preferences > General > Capabilities > Advanced > MyEclipse Standard Tools > check the option WTP (Deprecated). Apply and close the wizard. You will now be able to see on the context menu of project Configure > Convert to Maven Project.

The Configure action is hidden by default because the conversion process simply adds the Maven nature to the project but does not perform other actitives such as adding all the existing project's dependencies to the pom.xml or adding the expected Maven plugins to the pom.xml file. You have to manually add them.

Let us know if you see any issues.


That all worked very nicely.

Thanks,

Bob
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Mar 09, 2012 - 05:54 AM



Joined: Nov 11, 2010
Posts: 2191

Bob,

Glad that it is working.
Do let us know if you have any issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits