Using the multi-page converter from maven
Posted by rockyallen on Feb 28, 2021; 11:21pm
URL: https://discuss.asciidoctor.org/Using-the-multi-page-converter-from-maven-tp8549.html
This works:
asciidoctor -r asciidoctor-multipage -b multipage_html5 -D test test.adoc
But from the same terminal window, this doesn't:
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.1.0</version>
<configuration>
<sourceDirectory>src/asciidoc/userguide</sourceDirectory>
<outputDirectory>target</outputDirectory>
<sourceDocumentName>master.adoc</sourceDocumentName>
<doctype>book</doctype>
<attributes>
<basedir>${project.basedir}</basedir>
<numbered></numbered>
</attributes>
</configuration>
<executions>
<execution>
<id>output-html</id>
<phase>prepare-package</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>multipage_html5</backend>
<requires>asciidoctor-multipage</requires>
</configuration>
</execution>
</executions>
</plugin>
[ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:2.1.0:process-asciidoc (output-html) on project uom-manual: Execution output-html of goal org.asciidoctor:asciidoctor-maven-plugin:2.1.0:process-asciidoc failed: (LoadError) no such file to load -- asciidoctor-multipage -> [Help 1]
Any ideas?