Hello everyone, :-)

 

I'm trying to create some content for the Maven site during the Maven
build process.

 

I recognized that the maven-site-plugin has a <generatedSiteDirectory>
configuration property which allows defining a directory which holds
such generated content.

Normally it's the target/generated-site folder.

So I placed an APT as well as a HTML file there.

But nothing happened.

So I defined it in the configuration of the maven-site-plugin in the
pluginManagement section:

<generatedSiteDirectory>${project.build.directory}/generated-site</gener
atedSiteDirectory>

But also that didn't change anything.

After the Maven build there is still no file in the target/site folder.

Neither the rendered APT file nor the HTML file.

 

Where is my mistake? :-(

 

Regards

Gerrit

 

Reply via email to