Anyone have an insite here?

Having all elements of the super POM get inherited can be confusing if
not dangerous.

For instance, generating site information for a project which has not
overriden SCM information, will display SCM information for the parent
project, not the actual one.

Someone else observed similar behaviour for mailing lists.

I have read that plugins can be set to private inheritence but this
doesn't seem to apply to all sections of a POM.

Comments/suggestions?

---
Todd Thiessen
 

> -----Original Message-----
> From: Thiessen, Todd (BVW:9T16) 
> Sent: Monday, December 08, 2008 10:32 AM
> To: Maven Users List
> Subject: POM Private Inheritence
> 
> From reading the POM documenation here:
> 
> http://maven.apache.org/pom.html#Inheritance
> 
> it sounds like only certain sections of the POM get 
> inheritied. For instance, the SCM section is one section that 
> is NOT mentioned as inherited.
> 
> However, when I use m2e to show a pom's "effective" pom, it 
> is pulling in the scm section from the parent. Is this a bug 
> of some kind? either in m2e or maven?
> 
> ---
> Todd Thiessen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to