On Mon, 29 Aug 2005, Vincent Massol wrote:

Hi,

The inherited tag is only present for Report, ReportSet, Plugin, and
Execution (nested in Plugin).

Normally everything get's inherited. However, for some plugins you don't
want this, so you can override this behavior by specifying the
<inherited>false</inherited>.

At least, that's my understanding.

> 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]
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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

Reply via email to