|
17 | 17 | <properties> |
18 | 18 | <version.asciidoctor-maven-plugin>3.2.0</version.asciidoctor-maven-plugin> |
19 | 19 | <version.org.asciidoctor.asciidoctorj-pdf>2.3.19</version.org.asciidoctor.asciidoctorj-pdf> |
| 20 | + <version.org.asciidoctor.asciidoctorj-epub3>2.2.0</version.org.asciidoctor.asciidoctorj-epub3> |
20 | 21 | </properties> |
21 | 22 |
|
22 | 23 | <build> |
|
31 | 32 | <artifactId>asciidoctorj-pdf</artifactId> |
32 | 33 | <version>${version.org.asciidoctor.asciidoctorj-pdf}</version> |
33 | 34 | </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>org.asciidoctor</groupId> |
| 37 | + <artifactId>asciidoctorj-epub3</artifactId> |
| 38 | + <version>2.2.0</version> |
| 39 | + </dependency> |
34 | 40 | </dependencies> |
35 | 41 | <executions> |
36 | | - <!-- User guide html + pdf --> |
| 42 | + <!-- User guide - HTML --> |
37 | 43 | <execution> |
38 | 44 | <id>output-html-user-guide</id> |
39 | 45 | <phase>package</phase> |
|
68 | 74 | <enableVerbose>true</enableVerbose> |
69 | 75 | </configuration> |
70 | 76 | </execution> |
| 77 | + <!-- User guide - PDF --> |
71 | 78 | <execution> |
72 | 79 | <id>output-pdf-user-guide</id> |
73 | 80 | <phase>generate-resources</phase> |
|
89 | 96 | <outputFile>mod_cluster-v2-user-guide.pdf</outputFile> |
90 | 97 | </configuration> |
91 | 98 | </execution> |
| 99 | + <!-- User guide - EPUB --> |
| 100 | + <execution> |
| 101 | + <id>output-epub-user-guide</id> |
| 102 | + <phase>generate-resources</phase> |
| 103 | + <goals> |
| 104 | + <goal>process-asciidoc</goal> |
| 105 | + </goals> |
| 106 | + <configuration> |
| 107 | + <backend>epub3</backend> |
| 108 | + <resources> |
| 109 | + <resource> |
| 110 | + <directory>src/main/asciidoc/images</directory> |
| 111 | + <targetPath>images</targetPath> |
| 112 | + </resource> |
| 113 | + </resources> |
| 114 | + <doctype>book</doctype> |
| 115 | + <sourceDirectory>src/main/asciidoc</sourceDirectory> |
| 116 | + <sourceDocumentName>index.adoc</sourceDocumentName> |
| 117 | + <enableVerbose>true</enableVerbose> |
| 118 | + <outputFile>mod_cluster-v2-user-guide.epub</outputFile> |
| 119 | + </configuration> |
| 120 | + </execution> |
92 | 121 | <!-- Developer resources html (migrated from old JBoss Wiki) --> |
93 | 122 | <execution> |
94 | 123 | <id>output-html-developer-resources</id> |
|
0 commit comments