An example project that demonstrates how to convert AsciiDoc to EPUB using Asciidoctor EPUB3 with the Asciidoctor Maven plugin.
Convert the AsciiDoc to EPUB using Asciidoctor EPUB3 by invoking the process-resources
goal (configured as the default goal):
$ mvn
Open the file target/generated-docs/spine.epub in your epub viewer to see the generated epub.
If you want to generate a kindle document, you can enable a second execution block in the pom.xml. If kindlegen is in your path (you have to download it for your OS from amazon here: https://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211) a mobi file should be generated. Currently however the maven plugin exits with an error Errno::ECHILD) No child processes.