[Commented] (MSITE-790) parent site.xml interpolation seems broken when using distributionManagement

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Commented] (MSITE-790) parent site.xml interpolation seems broken when using distributionManagement

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/MSITE-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576873#comment-16576873 ]

Michael Osipov commented on MSITE-790:
--------------------------------------

I can actually confirm this isssue and it is not in MSITE. It is in {{DefaultSiteTool}} where the interpolation of the site decoration model does not happen late, but only early ({{$this}}). [~hboutemy], is it intended or do we miss to perform late interpolation on parent models before we merge both?

> parent site.xml interpolation seems broken when using distributionManagement
> ----------------------------------------------------------------------------
>
>                 Key: MSITE-790
>                 URL: https://issues.apache.org/jira/browse/MSITE-790
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: doxia integration
>    Affects Versions: 3.6, 3.7.1
>            Reporter: Ulrich David
>            Priority: Minor
>         Attachments: example.zip
>
>
> When I use a property in the site descriptor e.g.
> {code:xml}<bannerLeft>
>   <name>Test</name>
>   <href>${my.project.url}</href>
> </bannerLeft>{code}
>  the site of a child project won't be created as soon as a add a distributionManagement for the site. The the property is not interpolated anymore.
>  Using maven-site-plugin:3.4 works.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)