Profiles are not inherited, period. Now, having said that, profiles in parent POMs can be triggered by the building of a child. When activated, they are applied directly to the parent POM, prior to that parent being used for inheritance into the child. So, the effects of an active profile in a parent POM will be felt by the child. Also, since a parent's profile is applied to it before inheritance calculations take place, inheriting the profile itself (and presumably, re-applying it at the child level) would lead to double-application of that profile.
It's a little bit of a confusing topic, so I'm sorry if that explanation is a bit jumbled. I hope if makes sense now. -john On 1/10/07, David Jackman <[EMAIL PROTECTED]> wrote:
I've searched the mail archives, and this question seems to be asked a lot and answered never. Are profiles inherited from parent poms? The scant (and confusing) docs seem to imply that they are, but doing a help:active-profiles command does not agree with this. Please someone explain how this is supposed to work. ..David.. FASTforward '07 The Industry's Largest Business & Technology Conference Focused on Search February 7th - 9th, San Diego, CA www.fastforward07.com
