You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/26 15:56:25 UTC

[jira] [Commented] (DOXIASITETOOLS-158) early interpolation: support ${this.*} as expression in site.xml interpolation

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

Hudson commented on DOXIASITETOOLS-158:
---------------------------------------

SUCCESS: Integrated in doxia-all #273 (See [https://builds.apache.org/job/doxia-all/273/])
[DOXIASITETOOLS-158] fixed late interpolation of project properties (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1736695])
* ./doxia-sitetools/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
* ./doxia-sitetools/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
* ./doxia-sitetools/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/stubs/SiteToolMavenProjectStub.java
* ./doxia-sitetools/doxia-integration-tools/src/test/resources/unit/interpolation-child-test/pom.xml
* ./doxia-sitetools/doxia-integration-tools/src/test/resources/unit/interpolation-parent-test/pom.xml
* ./doxia-sitetools/doxia-integration-tools/src/test/resources/unit/interpolation-parent-test/src/site/site.xml


> early interpolation: support ${this.*} as expression in site.xml interpolation
> ------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-158
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-158
>             Project: Maven Doxia Sitetools
>          Issue Type: New Feature
>          Components: Decoration model
>    Affects Versions: 1.7
>            Reporter: Hervé Boutemy
>             Fix For: 1.8
>
>
> with MSITE-135/DOXIASITETOOLS-118 fixed for consistency with general Maven interpolation principles (= "late interpolation", ie interpolation happens after inheritance), we see that interpolating early with current pom content is something quite natural in {{site.xml}}
> adding support for {{$\{this.\*}}} to interpolate with current pom (instead of classical {{$\{project.*}}}) would give back the feature expected in {{site.xml}}
> and would be consistent with MNG-5900 (not yet available in any Maven version)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)