On Tue, May 12, 2009 at 11:01 PM, Joerg Hohwiller <jo...@j-hohwiller.de>wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Milos, > > > > relying on the reactor and giving up on being able to build the one > project > > separately is very bad (read: completely breaks) any IDE integration. > > I totally disagree. I am successfully using maven-eclipse-plugin (mvn > eclipse:eclipse) and this works perfectly with Eclipse except if you > do a lot of filtering. The suggested approach would have no influence on > my IDE, omitted versions would become inter-project-dependencies in eclipse > and everything is fine. mvn eclipse:eclipse does perform a build (partially) and might even produce 1 eclipse project for multiple maven projects (correct me if I'm wrong) In NetBeans (IDE I use and develop maven integration for) no build is performed and we rely entirely on maven metadata when it comes to project representation. Doing a build is out of questions, opening of projects would be too slow. And it's a perfectly sound to assume that one wants to open just a single maven project from apache geronimo codebase without actually building the 200+ multiproject. Even with brutal performance hacks the 200 projects take about 10 minutes to open, while the single project is just a snap. I'm not sure what the "auto-reactor" feature in eclipse does, but in general and especially for large projects it's hard to figure automatically what the "reactor" is.. is it just the geronomo plugins pom, or we need all of geronimo, or just geronimo aspectj plugin parent? if you are the geronimo dev you might know, but will everyone figure that out? Milos > > I tried m2eclipse and iam about 20 times and always gave up, because > they were simply NOT able to run my project. E.g. I have source/target > set to 1.5 for compiler-plugin but require 1.6 for development. m2eclipse > thinks that it needs to replace 1.6 with 1.5 wenn I do m2 enable of my > project. > > However if all the bugs of these plugins would be fixed, and the > "auto-reactor" feature was working, everything could be fine as well > together with the suggested feature. One day there will be eclipse 4.x > and support multi-projects so the entire project (and its reactor) > can be managed as a whole. > I heard this already works for idea. > > > > > Milos > > > > Regards > Jörg > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkoJ47EACgkQmPuec2Dcv//5iACfc1jnc4F33uoOKQ/JFKO8IUuP > x5sAn2m0GO5n32Uz+r0C1Fa23x1PjXxx > =zmBx > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >