maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MSITE-848) sitedescriptor example page fails to describe restrictions on dotted properties
Date Sat, 03 Aug 2019 16:17:00 GMT

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

Christopher Tubbs updated MSITE-848:
------------------------------------
    Description: 
I tried injecting a property from {{pom.xml}} into {{src/site/markdown/index.md.vm}}.

It did not work when the property was {{accumulo.version}}, but did work when I switched the
property name to {{accumuloVersion}}.

With the dot present in the property name, nothing was interpolated, and instead, I got the
literal {{${accumulo.version\}}} in my html output.

EDIT: Title updated to reflect that this is a documentation bug. See the pull request for
proposed solution.

  was:
I tried injecting a property from {{pom.xml}} into {{src/site/markdown/index.md.vm}}.

It did not work when the property was {{accumulo.version}}, but did work when I switched the
property name to {{accumuloVersion}}.

With the dot present in the property name, nothing was interpolated, and instead, I got the
literal {{${accumulo.version\}}} in my html output.

        Summary: sitedescriptor example page fails to describe restrictions on dotted properties
 (was: Maven properties with dots do not get injected into site templates)

> sitedescriptor example page fails to describe restrictions on dotted properties
> -------------------------------------------------------------------------------
>
>                 Key: MSITE-848
>                 URL: https://issues.apache.org/jira/browse/MSITE-848
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: property interpolation
>    Affects Versions: 3.8.2
>            Reporter: Christopher Tubbs
>            Assignee: Robert Scholte
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I tried injecting a property from {{pom.xml}} into {{src/site/markdown/index.md.vm}}.
> It did not work when the property was {{accumulo.version}}, but did work when I switched
the property name to {{accumuloVersion}}.
> With the dot present in the property name, nothing was interpolated, and instead, I got
the literal {{${accumulo.version\}}} in my html output.
> EDIT: Title updated to reflect that this is a documentation bug. See the pull request
for proposed solution.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message