Question

The sample code to reproduce the issue: https://github.com/ajorpheus/gmaven-site-test Try doing a mvn site:site on that project and then looking at the target\site\index.html.

I want to create a property via the gmaven plugin which is accessible in a .apt.vm file parsed during maven site.

This is how I am attempting to create a maven property:

enter image description here

Following that, I wish to access the maven properties created above (such as listOfFilesProp1) in a .apt.vm file as follows :

enter image description here

However, the custom properties are not resolved. The inbuilt properties are resolved properly:

enter image description here

Would you know how to create a custom maven property through the gmaven plugin such that it is accessible in a .apt.vm file ?

Thanks !!

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top