Skip to content

Commit b167deb

Browse files
ante003pivovarit
authored andcommitted
maven-plugin for pdf generation (eugenp#2135)
* - added classes for asciidoctor article - added tests for that article - added exclusion in pom.xml in libraries * - fixed test * - fixed formating in pom * - added dependency to the pom.xml - created plugin in pom.xml * - changed output generation to pdf * Revert "- changed output generation to pdf" This reverts commit 26cfaeb. * - changed output generation to pdf
1 parent ef74004 commit b167deb

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎libraries/pom.xml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,16 @@
7474
<groupId>org.asciidoctor</groupId>
7575
<artifactId>asciidoctor-maven-plugin</artifactId>
7676
<version>1.5.5</version>
77+
<dependencies>
78+
<dependency>
79+
<groupId>org.asciidoctor</groupId>
80+
<artifactId>asciidoctorj-pdf</artifactId>
81+
<version>1.5.0-alpha.15</version>
82+
</dependency>
83+
</dependencies>
7784
<executions>
7885
<execution>
79-
<id>output-html</id>
86+
<id>output-pdf</id>
8087
<phase>generate-resources</phase>
8188
<goals>
8289
<goal>process-asciidoc</goal>
@@ -86,8 +93,7 @@
8693
<configuration>
8794
<sourceDirectory>src/docs/asciidoc</sourceDirectory>
8895
<outputDirectory>target/docs/asciidoc</outputDirectory>
89-
<backend>html</backend>
90-
<doctype>book</doctype>
96+
<backend>pdf</backend>
9197
</configuration>
9298
</plugin>
9399
</plugins>

0 commit comments

Comments
 (0)