That's an old bug: http://jira.codehaus.org/browse/MSITE-135

I am currently looking at site inheritance issues, maybe I'll get to it...

-Lukas


Andreas Sewe wrote:
Hi all,

I have a question regarding property interpolation and inheritance in
the case of site descriptors. I looks to my like these behave
differently than property interpolation and inheritance in the case of
the POM.

Suppose I have the following element within my parent project's site.xml

<bannerRight>
<name>${project.description}</name>
</bannerRight>

Now a child project's site:effective-site contains the following:

<bannerRight>
<name>Description of the *parent* project</name>
</bannerRight>

Why is that? Inherited elements in the POM (e.g., <url>) are subject to
property interpolation in the context of the child project rather than
the parent project. Why is this different for site descriptors? And is
there a workaround other than copy-and-pasting the site.xml into the
child project.

FWIW, I am using Maven 3.0.2, the maven-site-plugin version 3.0-beta-3,
and have attached my descriptor to the parent project; the attached
descriptor is already fully interpolated. :-(

Best wishes,

Andreas

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