Re: site.xml: property interpolation and inheritance

2011-01-18 Thread Andreas Sewe

Hi Lukas,


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


*sigh* I should really check the issue tracker first. :-(


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


That would be great. Thanks.

Andreas

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: site.xml: property interpolation and inheritance

2011-01-18 Thread Lukas Theussl


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


${project.description}


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


Description of the *parent* project


Why is that? Inherited elements in the POM (e.g., ) 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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



site.xml: property interpolation and inheritance

2011-01-18 Thread Andreas Sewe

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

  
${project.description}
  

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

  
Description of the *parent* project
  

Why is that? Inherited elements in the POM (e.g., ) 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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org