On Dec 3, 2007 5:33 PM, Kees van Dieren <[EMAIL PROTECTED]> wrote: > This would be helpful for us as well. We have a pom.xml with multiple > modules, e.g. > <module>modA</module> > <module>modB</module> > <module>modC</module> > <module>modD</module> > modB needs modA, modC needs modB. > > When modA is modified, modA, modB and ModC should be rebuilded; modD should > be skipped. > > Is there a way to achieve this, eventually via 3rdparty plugin?
This is by design not what Maven does. Think of modules as an easy way to group projects so that the same command can be run at the top level across all projects that are defined in a module. The most common use case for a module is to group projects together that should be released as one logical unit. We have a large collection of modules and we just run builds from the top level almost all the time. Our build takes about 10 minutes. If you want to build the modules independently then look at Continuous Integration to build the modules and publish them to an internal snapshot repository. This way developers will automatically pull down the latest snapshots of the other projects when they build a project that depends on that articact. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]