I think when/if Eclipse supports nested projects, that might help. Eclipse.org appears to be working on it for version 4. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973
I have also ran into problems with m2eclipse, however I have kept it installed for use with small projects and for the POM editor. We continue to use eclipse:eclipse for our projects because they are large multi-project builds. However, m2eclipse can be useful when you want to browse a smaller project. I just checkout the project from the command line, then use File > Import > General > Maven Projects and point it at the project's root directory where the POM resides. That's faster than using eclipse:eclipse. The POM editor is useful for viewing the dependency hierarchy. On Fri, Feb 27, 2009 at 7:19 AM, nino martinez wael < [email protected]> wrote: > Replying inline > > 2009/2/27 Emond Papegaaij <[email protected]> > > > Some of the benefits are: > > - You can edit the pom and the results are immediately visible (like > when > > editing java code). > > Okay I see some benefit from this... > > > > > - Working with snapshots is much easier. You just checkout the project > and > > m2eclipse removes the jar dependency and adds a project dependency. This > > saves > > you from performing a deploy and eclipse:eclipse cycle on every update. > > This too are done if you are working a multimodule project with maven and > use eclipse:eclipse > > > > > - Eclipse projects are created automatically for multi-module projects. > > You > > don't have to import them by hand. > > The same with mvn eclipse:eclipse if setup properly > > > > > - You don't need a prompt to update. > > > True, but I actually like to build once in a while from cmd line, because > the fact that eclipse cant handle scopes.. So sometimes something goes > wrong, but you only discover it on your ci server... > > > > > > > On Friday 27 February 2009 11:49:21 nino martinez wael wrote: > > > Sure, if you change project structure, you need to invoke mvn > > > eclipse:eclipse one projects that are changed.. But it works... And > true > > > it's not integrated in eclipse.. > > > > > > I just dont see what the integrations bring, but It might just be > because > > I > > > too have been unlucky, when I tried m2eclipse... > > > > > > The subversion (subversive) integration though, that I see the benefits > > of > > > (and for me it works 95% of the time)... > > > > > > 2009/2/27 Emond Papegaaij <[email protected]> > > > > > > > Yes, mvn eclipse:eclipse works, but it's not really integrating maven > > in > > > > eclipse. I have to run it manually after changing the pom or the > > project > > > > structure and it often results in a complete rebuild of all projects. > > > > > > > > On Friday 27 February 2009 10:08:58 nino martinez wael wrote: > > > > > I just use mvn eclipse:eclipse , it works every time :) > > > > > > > > > > 2009/2/27 Emond Papegaaij <[email protected]> > > > > > > > > > > > That is the plugin Martijn is talking about, and I am one of the > > > > > > co-workers he > > > > > > mentioned. I tried the m2eclipse plugin and used it for a day. > The > > > > > > > > plugin > > > > > > > > > > (version 0.9.7.200902090947) was able to checkout the project > from > > > > > > svn and create eclipse projects for all modules, so far so good, > > > > > > although > > > > > > > > the > > > > > > > > > > browse > > > > > > button in the svn window didn't work. At that moment the trouble > > > > > > > > started. > > > > > > > > > > Somehow, after even the slightest code change, eclipse started to > > > > > > > > rebuild > > > > > > > > > > the > > > > > > entire project over and over, taking ages. After some more > changes > > > > > > > > (some > > > > > > > > > > of them might have been in the pom), some of my projects got > > > > > > corrupted and I had > > > > > > to clean everything, doing a complete rebuild. A few hours later, > > > > > > while > > > > > > > > I > > > > > > > > > > was > > > > > > working on a Java file, about 30,000 errors suddenly appeared. > > > > > > Somehow, m2eclipse had reversed some of my module-to-module > > > > > > dependencies. I > > > > > > > > tried > > > > > > > > > > cleaning, updating, refreshing the project configuration, nothing > > > > > > > > helped. > > > > > > > > > > I was > > > > > > unable to get the project to build again. > > > > > > > > > > > > My experience with m2eclipse is that it is slow and very > unstable. > > My > > > > > > last attempt was not the first attempt. I tried to use it several > > > > > > > > times, > > > > > > > > > > because running mvn eclipse:eclipse all the time is just a pain > in > > > > > > the > > > > > > > > *, > > > > > > > > > > but every time I ran into some strange problem I could not solve. > > > > > > > > > > > > Emond Papegaaij > > > > > > > > > > > > On Thursday 26 February 2009 17:20:04 Brill Pappin wrote: > > > > > > > I don't think we're talking about the same plugin then > (although > > > > > > > you seem to be calling it the same thing)... > > > > > > > I'm referring to: > > > > > > > > > > > > > > http://m2eclipse.codehaus.org/ > > > > > > > > > > > > > > It's the *only* one I've found that *actually works* properly, > > > > > > > particularly for larger projects... although I run the dev > > version > > > > > > > so I'm not sure how well the released version is working at > this > > > > > > > moment. Of course I could simply go back to the console and use > > the > > > > > > > maven plugin to generate the eclipse project files, but I find > > the > > > > > > > plugin > > > > > > > > to > > > > > > > > > > > be light-years ahead in maintaining a clean build env. > > > > > > > > > > > > > > I guess people's experience with various tools also depends a > lot > > > > > > > on *how* they work not just what they work with :) > > > > > > > > > > > > > > > > > > > > > - Brill Pappin > > > > > > > > > > > > > > On 24-Feb-09, at 12:38 PM, Martijn Dashorst wrote: > > > > > > > > m2eclipse is absolutely worthless for anything beyond a > > > > > > > > quickstart. It is constantly reparsing poms, grinding eclipse > > to > > > > > > > > a halt. It failed to generate the right project dependencies > > for > > > > > > > > our > > > > > > > > multimodule > > > > > > > > > > > > project that consists of 2 multimodule child projects. It > > failed > > > > > > > > miserably to uninstall, needing me to axe my eclipse > > > > > > > > installation. > > > > > > > > > > > > > > > > In short: my experience (and that of my co-workers) with > > > > > > > > m2eclipse > > > > > > > > is > > > > > > > > > > > > that it is far from ready for prime time. > > > > > > > > > > > > > > > > Martijn > > > > > > > > > > > > > > > > On Tue, Feb 24, 2009 at 5:55 PM, Brill Pappin < > [email protected] > > > > > > > > > > > wrote: > > > > > > > >> I should add something about the Eclipse maven plugins... > > don't > > > > > > > >> go for the > > > > > > > >> official eclipse Q4 plugin... use the "Maven Integration 4 > > > > > > > > Eclipse" > > > > > > > > > > > >> plugin > > > > > > > >> (and actually the development version if your jiggy with it, > > it > > > > > > > >> works and > > > > > > > >> gets updated/fixed way more often). > > > > > > > >> > > > > > > > >> If your on Netbeans, I think Maven will generate Netbeans > > > > > > > >> project files for > > > > > > > >> you as well (it will do so for eclipse), so you could > actually > > > > > > > > flip > > > > > > > > > > > >> back and > > > > > > > >> forth if you wanted. > > > > > > > >> > > > > > > > >> - Brill Pappin > > > > > > > >> > > > > > > > >> On 23-Feb-09, at 5:19 PM, Pierre Goupil wrote: > > > > > > > >>> +1, I like Wicket Bench. And with M2Eclipse, you have the > > full > > > > > > > >>> sources & > > > > > > > >>> JavaDoc just by adding Wicket as a dependency, which is > very > > > > > > > >>> convenient. > > > > > > > >>> But > > > > > > > >>> don't expect Wicket Bench to do too much, it's just a > small, > > > > > > > >>> useful tool. > > > > > > > >>> > > > > > > > >>> Pierre > > > > > > > >>> > > > > > > > >>>> Hi, I use Eclipse with Wicket Bench plugin and it works > very > > > > > > > > fine. > > > > > > > > > > > >>> -- > > > > > > > >>> Sans amis était le grand maître des mondes, > > > > > > > >>> Eprouvait manque, ce pour quoi il créa les esprits, > > > > > > > >>> Miroirs bienveillants de sa béatitude. > > > > > > > >>> Mais au vrai, il ne trouva aucun égal, > > > > > > > >>> Du calice du royaume total des âmes > > > > > > > >>> Ecume jusqu'à lui l'infinité. > > > > > > > >>> > > > > > > > >>> (Schiller, "l'amitié") > > > > > > > > -------------------------------------------------------------------- > > > > > > > > > > > >>- To unsubscribe, e-mail: > [email protected] > > > > > > > >> additional commands, e-mail: [email protected] > > > > > > > > > > > > > > > > -- > > > > > > > > Become a Wicket expert, learn from the best: > > > > > > > > http://wicketinaction.com Apache Wicket 1.3.5 is released > > > > > > > > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > > > > To unsubscribe, e-mail: [email protected] > > > > > > > > For additional commands, e-mail: > [email protected] > > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > > > >-- To unsubscribe, e-mail: > [email protected] > > > > > > > additional commands, e-mail: [email protected] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [email protected] > > > > > > For additional commands, e-mail: [email protected] > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
