| 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
|
|
Registered Member

Joined: May 12, 2005
Posts: 473
|
|
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
|
|
Registered Member

Joined: Nov 12, 2008
Posts: 41
|
|
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: 45
|
|
| 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
|
|
Registered Member

Joined: Nov 12, 2008
Posts: 41
|
|
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: 45
|
|
| 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
|
|
Registered Member

Joined: Nov 12, 2008
Posts: 41
|
|
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
|
|
Registered Member

Joined: Nov 12, 2008
Posts: 41
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Jun 30, 2009 - 05:59 PM
|
|
Registered Member


Joined: Jan 06, 2006
Posts: 17
|
|
I have recently upgraded to MyEclipse 7.5 and I'm now wondering what the status on MyEclipse and Maven4MyEclipse is. In particular I'm interested in the support for multimodule Maven projects. I have searched help, forums and Google without finding out the status. It seems to me that many suggests using m2eclipse in order to achieve multi module functionality using Maven. But these discussions seems to revolve around MyEclipse 6.5, hinting that in version 7 this will be possible to enable m2eclipse features. Other postings, however, seem to suggest that this might break other features for MyEclipse.
I'm in the process of starting up a new application which will contain several modules, so what is status the Maven integration in MyEclipse 7.5? And can anyone advice how I should approch this task (provided I want to use multimodule Maven for the application).
Anyone help here would be greatly appreciacted,
-aka |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Aug 19, 2009 - 09:24 AM
|
|
Registered Member


Joined: Jan 31, 2006
Posts: 14
|
|
I am in the same situation of alf-kenneth. I own 9 MyEclipse professional and 9 Pulse freelance license and I am disappointed of all the problems we had recently trying to use Maven4MyEclipse in MyEclipse 6.6. Please answer to the above question about the status of Maven integration in MyEclipse 7.5
Dario Sestero |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Aug 20, 2009 - 08:26 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
We don't have immediate plans for supporting Multi-module projects because there isn't a clear mapping between multi-module maven projects and MyEclipse projects... it would require some fancy-footwork engineering and the management team hasn't OK'ed it yet.
Maven project importing is actually being worked on for 8.0 and will be a really streamlined process making it dead easy to get your projects into MyEclipse. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Jan 21, 2010 - 05:02 PM
|
|
Joined: Dec 28, 2009
Posts: 19
|
|
What's the state of this feature in 8.0 now? I still cannot locate any instructions for setting up multi-module maven projects in MyEclipse 8.0. Please direct me to some useful documentation. Thanks.
Tom Harris |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: MultiModule maven project
Posted: Jan 28, 2010 - 04:18 PM
|
|
Veteran Member


Joined: Jan 09, 2004
Posts: 40
|
|
The Maven4MyEclipse support of nested modules in 7.5 is strange. I've enabled "all m2 features" and I can create a new Maven project, I can add nested modules to it and they show up as separate projects. So far so good.
If I check out a nested module project from CVS and enable dependency resolution, Maven4MyEclipse recognizes it as a maven project, but not the nested modules. If I enable Nested Modules, basically nothing happens. This is very strange. I don't see the nested modules as separate projects in MyEclipse.
**However** if I go and *add* a new module to this project that already has two nested modules, *that* module does show up as a separate project in MyEclipse.
What's going on here? If MyEclipse 7.5 doesn't support nested modules, then what's the workaround? Is it possible to update the m2eclipse plugins in 7.5 to a more recent version than 0.9.6? The latest versions are vastly better because of recent efforts by Sonatype to improve the reliability of m2eclipse and the dedication of additional resources to this effort. This isn't present in 0.9.6 as far as I know.
Thanks in advance. |
_________________ Software Engineer
Madison, WI
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 01, 2010 - 06:15 PM
|
|
Joined: Dec 28, 2009
Posts: 19
|
|
The only way to get multi-module projects working properly from within MyEclipse at this point in time is to remove Genuitec's Maven4MyEclipse feature and install the real m2eclipse project, along with the shunt Jason van Zyl added to help us.
Take a look at:
http://www.sonatype.com/people/2008/09/how-did-myeclipse-get-their-maven-integration-so-wrong/
This explains what Genuitec did wrong and how to get out of the situation. Remove the Maven4MyEclipse feature, then use Sonatype's update site (see article) to install the latest m2eclipse and the MyEclipse patch. Then, you'll need to disable and re-enable the "Dependency Management" function on each of your Mavenized Eclipse projects.
Tom Harris |
|
|
| |
|
|
|
 |
|
|