In addition, you can use the --pl option (requires Maven 3.2.1+) to exclude the child module of your choice.
This example excludes child module "foo": mvn --pl !foo Cheers, Paul On Tue, Aug 16, 2016 at 2:54 PM, Bernd Eckenfels <e...@zusammenkunft.net> wrote: > This describes how to control modules with profiles and how to activate > profiles based on os family: > > > http://books.sonatype.com/mvnref-book/reference/ > profiles-sect-activation.html > > Gruss > Bernd > > Am Tue, 16 Aug 2016 19:47:38 +0000 > schrieb "KARR, DAVID" <dk0...@att.com>: > > > I have a multiproject build with three modules, not counting the > > top-level. I can build this on either Windows or Linux, but if I'm > > building on Windows, one of the subprojects should not be built. I > > vaguely remember seeing ways to set architecture properties and check > > for those, but I can't find info on that right now. How do I set > > this up? > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >