for that, you can copy content to the generatedSiteDirectory [1]:
either $generatedSiteDirectory/resources if you already have html content, or 
$generatedSiteDirectory/markdown if the generated content is in Markdown, and 
so on

another option that I sometimes use is to include generated content with a 
snippet macro: see [2] for example.
The ${project.basedir}/target/test-classes/options.html content was generated 
by a Unit test.

HTH

Regards,

Hervé

[1] 
https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#generatedSiteDirectory

[2] 
https://github.com/apache/maven/blob/master/maven-embedder/src/site/apt/cli.apt.vm

Le jeudi 8 novembre 2018, 20:11:19 CET Russell Gold a écrit :
> And at the same time, I would like to copy to the site directory some files
> that were generated during the build (and are now in one of the module
> jars).
> > On Nov 8, 2018, at 1:31 PM, Russell Gold <[email protected]> wrote:
> > 
> > I want to generate a site for my multi-module project only from the
> > top-level. How do I tell maven to skip running the site plugin on each
> > module?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to