| Author |
Message |
|
|
Post subject: MultiModule maven project
Posted: Jun 26, 2008 - 09:24 AM
|
|

Joined: Oct 20, 2007
Posts: 1
|
|
How can i create a multi module maven project?
and how can i import a maven project?
I tried to import a maven project but myeclipse didn't realize it's maven identity!! |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: MultiModule maven project
Posted: Jun 26, 2008 - 11:28 AM
|
|
Moderator


Joined: May 12, 2005
Posts: 283
|
|
| These features are not yet supported. Our focus for the first release was to allow MyEclipse projects to be built using Maven. We plan to expand the scope in the upcoming releases. |
_________________ Eugene
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: MultiModule maven project
Posted: Nov 13, 2008 - 04:00 AM
|
|
Joined: Nov 12, 2008
Posts: 18
|
|
I too would like to add my name to request the multi-module maven projects. Since MyEclipse does not support that feature, it sorta kills being able to use it for the large project I purchased it to assist with. Will have to return to using standard Eclipse with Mevenide plugin to have the multi-project capability.
Ed |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: MultiModule maven project
Posted: Nov 18, 2008 - 12:04 AM
|
|
Registered Member

Joined: Nov 05, 2007
Posts: 35
|
|
| mohhmekk wrote: | How can i create a multi module maven project?
and how can i import a maven project?
I tried to import a maven project but myeclipse didn't realize it's maven identity!! |
Hello mohhmekk,
Other people have encountered the exact situation you are encountering, what they have done is uninstall maven4eclipse and replaced it with the much more powerful m2eclipse. Theres a eclipse update url that will disable maven4eclipse and replace it with m2eclipse. I have used it myself and it works fine for me.
http://www.jroller.com/eu/entry/on_maven_support_in_myeclipse |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: MultiModule maven project
Posted: Nov 18, 2008 - 03:07 AM
|
|
Joined: Nov 12, 2008
Posts: 18
|
|
I went to the site listed above and tried to install the update it says will disable the maven4eclipse (using version 7.0 M2) and it would not install saying that it was already installed and missing a bunch of things.
How do you uninstall maven4eclipse to install the m2eclipse? I have a large project I am trying to get working with multiple modules and the installed maven just does not function right with a parent project. It does not recognize the modules as being java code sections and lots of other issues that work fine in standard Eclipse.
Thanks for any help,
Ed |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: MultiModule maven project
Posted: Nov 18, 2008 - 05:00 AM
|
|
Registered Member

Joined: Nov 05, 2007
Posts: 35
|
|
| mongonv wrote: | I went to the site listed above and tried to install the update it says will disable the maven4eclipse (using version 7.0 M2) and it would not install saying that it was already installed and missing a bunch of things.
How do you uninstall maven4eclipse to install the m2eclipse? I have a large project I am trying to get working with multiple modules and the installed maven just does not function right with a parent project. It does not recognize the modules as being java code sections and lots of other issues that work fine in standard Eclipse.
Thanks for any help,
Ed |
7.0 M2 already has m2eclipse installed go here for instructions on how to enable it.
http://www.myeclipseide.com/module-htmlpages-display-pid-370.html#maven |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Nov 18, 2008 - 05:03 AM
|
|
Joined: Nov 12, 2008
Posts: 18
|
|
| Thanks for the followup, shortly after I posted this I found another post that said to use that (looked for a while before the post.) Checking that did make the multi-module projects work in 7.0 and they seem to be working well so far. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Nov 19, 2008 - 06:52 PM
|
|
Joined: Nov 12, 2008
Posts: 18
|
|
After working with the multiple modules, I found there are problems. If I try to run the parent as a package, it cannot find any of the modules. If I move the modules into the parent's folder structure, it builds, but then MyEclipse does not recognize any of the source packages or classes of the modules in the editor. What is the proper configuration to get the parent to see the modules and the modules to be recognized within the editor?
Secondly, I tried to move the projects back into the workspace as projects and import them back into the workspace with import/general/maven project, but it won't let me import them if the project folder structure exists in the workspace. It will let me import module projects to the workspace if the sources are in another folder, but then the sources are not in the workspace folder structure they are in the temp area I am importing from. How do I import a maven project and have it put a copy of the source structure into the workspace folder?
Thanks for any help,
Ed |
|
|
| |
|
|
|
 |
|
|