maven-parent icon indicating copy to clipboard operation
maven-parent copied to clipboard

Provide download template for each relevant parent

Open kwin opened this issue 1 year ago • 4 comments

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.

kwin avatar Dec 03 '24 18:12 kwin

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/

slawekjaranowski avatar Dec 05 '24 18:12 slawekjaranowski

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 avatar Dec 06 '24 10:12 kwin

@kwin please look #218

slawekjaranowski avatar Dec 06 '24 20:12 slawekjaranowski

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).

kwin avatar Dec 08 '24 11:12 kwin