Oh yeah, I forgot.

Define two profiles, both active unless things say otherwise.

Put parentPom1 as a module defined in profile 1

Put parentPom2 as a module defined in profile 2.

If you do nothing, compiling bigParent will compile everything

if you do mvn -Pprofile_1

then (as specifying an active profile deactivates all profiles that are
active by default) you'd only compile common and parentPom1

2008/12/4 Wayne Fay <[EMAIL PROTECTED]>

> > Can I configure my POM hierarchies in another way to be able to compile
> ONLY
> > parentPOM1 and common OR ONLY parentPOM2 and common
>
> Sure, with profiles.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to