there is some doc about this:
http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering
Regards,
Hervé
Le lundi 16 octobre 2017, 20:22:04 CEST Alex O'Ree a écrit :
> I have some pom defined properties that I'm trying to inject into a maven
> site markdown file. The file is named "test.md.vm" and it's referenced in
> the site descriptor.
>
> <properties>
>
> > <testProject.property>This property is used to test PDF .vm
> >
> > project injection. If you can read this in the PDF output, it's
> > working.</testProject.property>
> >
> > <testProjectProperty>This property is used to test PDF .vm project
> >
> > injection. If you can read this in the PDF output, it's
> > working.</testProjectProperty>
> >
> > </properties>
>
> And in the test markdown file has this
>
> ### User defined properties in the parent pom
>
> > testProject.property = ${testProject.property}
> > testProjectProperty = ${testProjectProperty}
>
> I've noticed that pom defined properties containing a period do not resolve
> for some reason. Properties without the dot work just fine.
>
>
> Output:
>
> testProject.property = ${testProject.property}
>
> > testProjectProperty = This property is used to test PDF .vm project
> > injection. If you can read this in the PDF output, it’s working.
>
> Am I missing something or this is a plexus configuration injection related
> thing? This also affects the pdf plugin too
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]