The documentation on POM inheritance
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance
says the things that are inherited are:

    * dependencies
    * developers and contributors
    * plugin lists (including reports)
    * plugin executions with matching ids
    * plugin configuration
    * resources

This list seems incomplete to me.  For instance, I see in many poms,
people leave out even basic things like <groupId>, expecting it to be
inherited from the parent.

I've also tried leaving out of POMs things like <license>, or <scm>, and
then doing a mvn help:effective-pom and I see in that pom these elements
appear to be "inherited" from the parent.

Is the documentation incorrect - in that there are many more things than
listed that are inherited?

-Marshall Schor

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

Reply via email to