I have a spring boot application with TestNG as the unit test framework. Took reference for the wiring from Spring TestNg Sample
My Pom Snippet for ascii doctor looks like:
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.6</version>
<executions>
<execution>
<id>generate-docs</id>
<phase>package</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html</backend>
<doctype>book</doctype>
<attributes>
<snippets>${snippetsDirectory}</snippets>
</attributes>
<sourceDirectory>src/docs/asciidocs</sourceDirectory>
<outputDirectory>target/generated-docs</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
I have the artifact spring-restdocs-mockmvc included in the pom. I see 6 small adoc snippets in target/generated-snippets but don't see any html file.
Read related StackOver Thread and manually included a api-guide.adoc file in src/docs/ascii-docs but still don't see any html file :(
I did go over numerous tutorial/examples thread but of no avail.