| Author |
Message |
|
|
Post subject: Converting a existing Java Project to a Maven Java Project?
Posted: Jul 14, 2010 - 07:40 PM
|
|
Registered Member


Joined: Nov 03, 2008
Posts: 22
|
|
Is there a way to do this? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Converting a existing Java Project to a Maven Java Proje
Posted: Jul 26, 2010 - 11:43 AM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2010 - 09:59 PM
|
|
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"
|
| |
|
|
|
 |
|
|
Post subject: There is no context menu project>M2 MyEclipseMaven
Posted: 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? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 07, 2012 - 07:45 PM
|
|
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"
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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
|
| |
|
|
|
 |
|
|