Adam; [Adam Hardy <[EMAIL PROTECTED]> @ Thu, 16 Aug 2007 09:54:01 +0100]
> I don't know what the current status is in Eclipse as far as maven > parent projects and multiple modules is concerned. I beg to differ here: Running "mvn clean" is something that might be done on each and every single maven2 project regardless of whether or not these projects depend upon each other. By now, running "Project -> Clean", I assume Eclipse to make its way across all the projects in my workspace and do some "magical cleaning" on each of them. Replace that "magical cleaning" with running "mvn clean" for projects that seem to be maven2 / have a pom.xml / whatever possibly would already solve my "problem" here. > You would need m2eclipse to operate from the parent project, and I > don't have an Eclipse project for my maven parent project, so how > would I do that? This, however, is a different interesting thing: Looking to one of my war project and browsing maven2 dependencies, I can see that the plugin indeed figures out which dependencies are actually projects in the local workspace and which are jar files to be found elsewhere. Likewise, browsing any maven2 jar project, I can see other "local" mvn jar projects in its maven2 dependencies as being "local" projects. From that point of view, I do not see the need to have a "parent project" to be honest, as building these projects recursively "seems" rather easy: - Build invoked on project X. 1. see whether there are local projects in mvn2 dependencies. 2. invoke mvn recursive build for local dependencies. 3. actually build project X when all local dependencies are built. It _seems_ reasonable to me. But I do not at all know whether something like this is possible... Cheers, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
