Spring Cloud Build publishes its spring-cloud-build-docs module that contains
helpful scripts (e.g. README generation ruby script) and css, xslt and images
for the Spring Cloud documentation. If you want to follow the same convention
approach of generating documentation just add these plugins to your docs module
<profiles> <profile> <id>docs</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId></plugin> <plugin> <groupId>org.asciidoctor</groupId> <artifactId>asciidoctor-maven-plugin</artifactId>
</plugin> <plugin> <groupId>com.agilejava.docbkx</groupId> <artifactId>docbkx-maven-plugin</artifactId>
</plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId>
<inherited>false</inherited> </plugin> </plugins> </build> </profile> </profiles>
This plugin downloads and unpacks the resources of the | |
This plugin is required to parse the Asciidoctor documentation | |
This plugin converts the Asciidoctor documentation into single and multi page docs | |
This plugin is required to copy resources into proper final destinations and to generate main README.adoc |
![]() | Important |
|---|---|
The order of plugin declaration is important! |