Provide download template for each relevant parent
In order to reuse the same template filled by closer.lua for the downloads, those should be maintained together with the according parent POMs. Some hints on the templating mechanism is in https://infra.apache.org/release-download-pages.html#custom. The standard template is maintained in https://github.com/apache/infrastructure-p6/blob/production/modules/closer_cgi/files/closer.html. Further information about the templating language EZT is provided at https://github.com/gstein/ezt.
It looks like we need a way to provide templates in some of external resources and generate output in target project.
commons project do similar by own plugin https://commons.apache.org/proper/commons-build-plugin/
I am wondering if we can use remote resources together with the according plugin to download those shared site resources and put it in the according src/site folder of the current project with some POM configuration. Probably this behaviour should be opt-in via an explicit property. WDYT?
@kwin please look #218
Another approach is outlined at https://issues.apache.org/jira/browse/MSITE-911?focusedCommentId=17616984&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17616984 (leveraging https://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html). The best would be though if the support would be built into m-site-p directly though (MSITE-911).