Re: Bug in maven-site-plugin?

Hervé Boutemy <[email protected]> Thu, 18 Sep 2025 07:57:26 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.user
Organization Apache Software Foundation
Message-ID <4680830.LvFx2qVVIh@orchid>
Le mercredi 17 septembre 2025, 11:12:45 CEST Claude Warren a écrit :
> Greetings,
> 
> The maven site plugin indicates that properties defined in the pom.xml
> should be available within the velocity engine as "${propertyName}".  This
> works for most cases.  However, I have found that pom properties with dots
> (".") in the name do not work.  Thus "${property.name}" does not work.
> 
> Is this a bug or a known limitation that should be documented?

it is a known and documented edge case of Velocity handling of dotted notation:
https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#common-issues-and-workarounds

Regards,

Hervé