maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Overall principles of POM inheritance, or, MSITE-600
Date Thu, 28 Jul 2011 11:06:05 GMT
I think that there's a general principle at work in MSITE-600, so I
wonder whether anyone else agrees.

Quick summary:

Pom 1 has a distributionManagement/site/url element and a
modules/module element.

Pom 2 has a parent that indicates pom 1, with a relativePath. it also
has a distribution/site/url element.

My view is that a child value should override a parent value, period,
unless some other mechanism (c.f. the attributes on plugin
configuration elements) states otherwise.

The current implementation of the trunk of m-s-p is that the values in
the child and parent should be combined if there's a relativePath that
reaches the parent, even if the parent isn't in the reactor.

More details are available in the JIRA.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message