Hi Sachin,

> -----Original Message-----
> From: Sachin Patel [mailto:[EMAIL PROTECTED]
> Sent: lundi 29 août 2005 14:21
> To: Maven Users List
> Subject: POM inheritence in M2
> 
> I'm looking at POM inheritence in M2.. If I specify a parent POM what
> gets included in the child POM, only elements in the Parent POM that
> specify <inherited>? In M1, everything was pushed down, so how do things
> like organization, url, etc.. get inherited?

I think the inherited element affects only cases where the configuration
element is both in the parent and in the children. If there are no such
conflict elements are always inherited I think.

That said, I agree with you that the new <inherited> element is misleading.
Also, I still don't understand why it is required seen that there's already
an attribute to specify in the children POM when you wish to merge same
config elements. That said, I'm sure it is required for a good reason :-)

John, could you please shed some light on it?

Personally I would have expected that all elements would be inherited by
default and merge would happen by default with children taking precedence
when there is a conflict.

-Vincent






___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com

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

Reply via email to