Re: How to rebuild modules that depend on a changed module?
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. > modA > modB > modC > modD > 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]
Re: How to rebuild modules that depend on a changed module?
Not an answer, just same question as you http://www.nabble.com/How-to-do-incremental-build--tf4602698s177.html Kees van Dieren-2 wrote: > > This would be helpful for us as well. We have a pom.xml with multiple > modules, e.g. > modA > modB > modC > modD > 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? > > Thanks very much! > Best regards, > > Kees van Dieren > > On Nov 27, 2007 4:43 AM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> > wrote: > >> Hi, >> >> >> I'm working on a multimodule project and after making a change in a >> module X, I would like to do the following: >> >> - mvn clean install on all modules in the project that have compile >> dependencies on X; >> >> - mvn test on all modules in the project that have runtime and test >> dependencies on X. >> >> Any idea of how I can automate that process? Is there any plugin or >> product integrated with Maven that will help me do that? >> >> Thanks >> -- >> Jean-Sebastien >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Kees van Dieren > Oranjestraat 23 > 2983 HL Ridderkerk > Phone: +31 180 41 45 20 > Mobile: +31 6 30 41 38 41 > www: keesvandieren.nl > LinkedIn:www.linkedin.com/in/keesvandieren > Hyves:keesvandieren.hyves.net > > -- View this message in context: http://www.nabble.com/How-to-rebuild-modules-that-depend-on-a-changed-module--tf4880236s177.html#a14132544 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to rebuild modules that depend on a changed module?
This would be helpful for us as well. We have a pom.xml with multiple modules, e.g. modA modB modC modD 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? Thanks very much! Best regards, Kees van Dieren On Nov 27, 2007 4:43 AM, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: > Hi, > > > I'm working on a multimodule project and after making a change in a > module X, I would like to do the following: > > - mvn clean install on all modules in the project that have compile > dependencies on X; > > - mvn test on all modules in the project that have runtime and test > dependencies on X. > > Any idea of how I can automate that process? Is there any plugin or > product integrated with Maven that will help me do that? > > Thanks > -- > Jean-Sebastien > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kees van Dieren Oranjestraat 23 2983 HL Ridderkerk Phone: +31 180 41 45 20 Mobile: +31 6 30 41 38 41 www: keesvandieren.nl LinkedIn:www.linkedin.com/in/keesvandieren Hyves:keesvandieren.hyves.net
How to rebuild modules that depend on a changed module?
Hi, I'm working on a multimodule project and after making a change in a module X, I would like to do the following: - mvn clean install on all modules in the project that have compile dependencies on X; - mvn test on all modules in the project that have runtime and test dependencies on X. Any idea of how I can automate that process? Is there any plugin or product integrated with Maven that will help me do that? Thanks -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]