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: Converting a existing Java Project to a Maven Java Project?  PostPosted: Jul 14, 2010 - 07:40 PM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 22

Is there a way to do this?
 
 View user's profile Send private message  
Reply with quote Back to top
support-ram
Post subject: RE: Converting a existing Java Project to a Maven Java Proje  PostPosted: Jul 26, 2010 - 11:43 AM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 58

rbreitling,

Sorry for the delayed response.Please follow below steps to migrate from Java Project to Maven Java Project.
1) Create new folder "src/main/java" using File>New>Folder option
2) Enable Dependency Management from the context menu of project>M2 MyEclipse Maven
3) In the 2nd wizard,can add required Dependencies to your project if require.
4) Move already existing packages under "src" folder to "src/main/java" folder
5) Run "Maven Install" from the context menu of project, to install the created project in Maven local repository.

_________________
Ram
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
mcconnell_stephen
Post subject:   PostPosted: Oct 12, 2010 - 09:59 PM
Veteran Member
Veteran Member


Joined: Nov 21, 2003
Posts: 51

1) There is no context menu project>M2 MyEclipseMaven
2) I do not want to put my source under src/main/java.... I have been able to modify new projects to use just the plain source folder.

There should be a single step method to turn a regular project into a Maven Project. One can do it with the Maven For Eclipse plugin, but then there is an error in the project that does not let you check stuff back into CVS (if you have both Maven4MyEclipse and Maven for Eclipse installed.

Maybe the wonderful folks at MyEclipse can work on this task for the next release.

Stephen McConnell

_________________
Stephen McConnell
Scawa Enterprises
"Boredom is a personal defect"
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
newage144
Post subject: There is no context menu project>M2 MyEclipseMaven  PostPosted: Sep 07, 2012 - 06:42 PM



Joined: Oct 21, 2006
Posts: 1

I cannot find the "context menu project>M2 MyEclipseMaven" either. Do I have to install a plugin before that or enable features? Can anyone reply to this post?
 
 View user's profile Send private message  
Reply with quote Back to top
mcconnell_stephen
Post subject:   PostPosted: Sep 07, 2012 - 07:45 PM
Veteran Member
Veteran Member


Joined: Nov 21, 2003
Posts: 51

I don't see too much interest in answering this from ANYONE.

_________________
Stephen McConnell
Scawa Enterprises
"Boredom is a personal defect"
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Sep 10, 2012 - 07:07 AM



Joined: Nov 11, 2010
Posts: 2154

mcconnell_stephen,

Sorry for delayed response.

From Project explorer window, right click on project to convert > Configure > Convert to Maven Project.
To be able to see this option, "WTP deprecated" must be enabled in Properties->General->Capabilities->Advanced->MyEclipse Standard Tools.

Let us know if you see 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