This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit c08496b7cbb789c9af59f8f2d9fd4c3ab9f2ec1a Author: Volkan Yazıcı <volkan.yaz...@gmail.com> AuthorDate: Tue Aug 25 09:21:37 2020 +0200 Enable AsciiDoc support in maven-site-plugin. --- pom.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index ed6921d..d232bde 100644 --- a/pom.xml +++ b/pom.xml @@ -225,6 +225,7 @@ <!-- Maven site depends on Velocity and the escaping rules are different in newer versions. --> <!-- See https://maven.apache.org/plugins/maven-site-plugin/migrate.html --> <velocity.plugin.version>1.5</velocity.plugin.version> + <asciidoc.plugin.version>1.5.6</asciidoc.plugin.version> <remote.resources.plugin.version>1.5</remote.resources.plugin.version> <manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile> <maven.compiler.source>1.8</maven.compiler.source> @@ -1188,9 +1189,9 @@ <version>${site.plugin.version}</version> <dependencies> <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-ssh</artifactId> - <version>3.1.0</version> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <version>${asciidoc.plugin.version}</version> </dependency> </dependencies> <configuration> @@ -1202,6 +1203,14 @@ <moduleExcludes> <xdoc>navigation.xml,changes.xml</xdoc> </moduleExcludes> + <asciidoc> + <attributes> + <!-- copy any site properties wanted in asciidoc files --> + <Log4jReleaseVersion>${Log4jReleaseVersion}</Log4jReleaseVersion> + <Log4jReleaseManager>${Log4jReleaseManager}</Log4jReleaseManager> + <Log4jReleaseKey>${Log4jReleaseKey}</Log4jReleaseKey> + </attributes> + </asciidoc> </configuration> </plugin> <!-- <plugin>