You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/03/05 16:32:00 UTC

[jira] [Closed] (DOXIASITETOOLS-292) parent site.xml interpolation seems broken when using distributionManagement

     [ https://issues.apache.org/jira/browse/DOXIASITETOOLS-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed DOXIASITETOOLS-292.
-----------------------------------------
    Resolution: Information Provided

This works for me now. Updated the sample. The key was to read: https://maven.apache.org/doxia/doxia-sitetools/doxia-integration-tools/index.html:

{quote}
with early interpolation, replacement happens before inheritance: this was the default behaviour for project.* values until Doxia Sitetools 1.7 (used in Maven Site Plugin 3.5), when these early and late interpolation definitions didn't exist. Since Doxia Sitetools 1.7.1 (used in Maven Site Plugin 3.5.1), early interpolation happens for this.* values.
{quote}

This is why you see the change in behavior.

> parent site.xml interpolation seems broken when using distributionManagement
> ----------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-292
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-292
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>            Reporter: Ulrich David
>            Priority: Minor
>         Attachments: example-1.zip, 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
(v8.20.10#820010)