Enable AsciiDoc support in maven-site-plugin.
<!-- 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>
<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>
<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>
