On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote:

In a mutli-level project, is there a way to exclude modules from a
build?  Our use case is that we want to minimize build lifecycle time
for developer check-ins by excluding less frequently changed modules.
For our full builds (nightly), we obviously want to include all modules.

An example would be:  Given that module A is the parent of module B
which has sub-modules 1 and 2, and the parent of module C which has
sub-modules 3 and 4, how might we exclude sub-modules 2 and sub-modules
4 when executing the build of module A.

Profiles?  We (Struts) have some modules that can't be in the 'default
build' because they have dependencies that aren't freely available or
have incompatible licenses.

So 'mvn install' will not build those modules, but 'mvn install -Pextras' will.

HTH,
--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to