You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/05/22 14:38:16 UTC
(logging-log4j2) branch main updated: Fix `log4j-docgen:generate-documentation` plugin configuration
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/main by this push:
new 45919119a1 Fix `log4j-docgen:generate-documentation` plugin configuration
45919119a1 is described below
commit 45919119a1fa92d9d1bb87ff403482a04f2cc947
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Wed May 22 16:38:07 2024 +0200
Fix `log4j-docgen:generate-documentation` plugin configuration
---
pom.xml | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4319ae9268..64ed2421c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -861,14 +861,18 @@
<phase>pre-site</phase>
<configuration>
<templateDirectory>${project.basedir}/src/docgen</templateDirectory>
- <indexTemplate>
- <source>index.adoc.ftl</source>
- <target>${project.build.directory}/generated-site/antora/modules/ROOT/pages/plugin-reference.adoc</target>
- </indexTemplate>
- <typeTemplate>
- <source>type.adoc.ftl</source>
- <target>${project.build.directory}/generated-site/antora/modules/ROOT/pages/_plugin-reference/%g-%a-%c.adoc</target>
- </typeTemplate>
+ <indexTemplates>
+ <template>
+ <source>index.adoc.ftl</source>
+ <target>${project.build.directory}/generated-site/antora/modules/ROOT/pages/plugin-reference.adoc</target>
+ </template>
+ </indexTemplates>
+ <typeTemplates>
+ <template>
+ <source>type.adoc.ftl</source>
+ <target>${project.build.directory}/generated-site/antora/modules/ROOT/pages/_plugin-reference/%g-%a-%c.adoc</target>
+ </template>
+ </typeTemplates>
</configuration>
</execution>