|
189 | 189 | </plugin>
|
190 | 190 | </plugins>
|
191 | 191 | </build>
|
192 |
| - |
193 |
| - <profiles> |
194 |
| - <profile> |
195 |
| - <id>pdfs</id> |
196 |
| - <properties> |
197 |
| - <asciidoctor.maven.plugin.version>3.0.0</asciidoctor.maven.plugin.version> |
198 |
| - <asciidoctorj.pdf.version>2.3.10</asciidoctorj.pdf.version> |
199 |
| - <asciidoctorj.version>2.5.11</asciidoctorj.version> |
200 |
| - <jruby.version>9.4.6.0</jruby.version> |
201 |
| - </properties> |
202 |
| - <build> |
203 |
| - <plugins> |
204 |
| - <plugin> |
205 |
| - <groupId>org.asciidoctor</groupId> |
206 |
| - <artifactId>asciidoctor-maven-plugin</artifactId> |
207 |
| - <version>${asciidoctor.maven.plugin.version}</version> |
208 |
| - <dependencies> |
209 |
| - <dependency> |
210 |
| - <groupId>org.asciidoctor</groupId> |
211 |
| - <artifactId>asciidoctorj-pdf</artifactId> |
212 |
| - <version>${asciidoctorj.pdf.version}</version> |
213 |
| - </dependency> |
214 |
| - <!-- Comment this section to use the default jruby artifact provided by the plugin --> |
215 |
| - <dependency> |
216 |
| - <groupId>org.jruby</groupId> |
217 |
| - <artifactId>jruby-complete</artifactId> |
218 |
| - <version>${jruby.version}</version> |
219 |
| - </dependency> |
220 |
| - <!-- Comment this section to use the default AsciidoctorJ artifact provided by the plugin --> |
221 |
| - <dependency> |
222 |
| - <groupId>org.asciidoctor</groupId> |
223 |
| - <artifactId>asciidoctorj</artifactId> |
224 |
| - <version>${asciidoctorj.version}</version> |
225 |
| - </dependency> |
226 |
| - </dependencies> |
227 |
| - <configuration> |
228 |
| - <sourceDirectory>docs</sourceDirectory> |
229 |
| - <!-- Attributes common to all output formats --> |
230 |
| - <attributes> |
231 |
| - <sourcedir>${project.build.sourceDirectory}</sourcedir> |
232 |
| - <imagesdir>.</imagesdir> |
233 |
| - </attributes> |
234 |
| - </configuration> |
235 |
| - <executions> |
236 |
| - <execution> |
237 |
| - <id>generate-pdf-doc</id> |
238 |
| - <phase>generate-resources</phase> |
239 |
| - <goals> |
240 |
| - <goal>process-asciidoc</goal> |
241 |
| - </goals> |
242 |
| - <configuration> |
243 |
| - <backend>pdf</backend> |
244 |
| - <!-- Since 1.5.0-alpha.9 PDF back-end can use 'rouge' as well as 'coderay' |
245 |
| - for source highlighting --> |
246 |
| - <!-- Due to a known issue on windows, it is recommended to use 'coderay' until an new version of 'rouge' is released. |
247 |
| - see discussions: https://github.com/asciidoctor/asciidoctor-maven-examples/pull/58 |
248 |
| - https://github.com/asciidoctor/asciidoctorj-pdf/issues/3 |
249 |
| - https://github.com/jneen/rouge/issues/661 |
250 |
| - --> |
251 |
| - <sourceHighlighter>coderay</sourceHighlighter> |
252 |
| - <attributes> |
253 |
| - <icons>font</icons> |
254 |
| - <pagenums /> |
255 |
| - <toc /> |
256 |
| - <idprefix /> |
257 |
| - <idseparator>-</idseparator> |
258 |
| - </attributes> |
259 |
| - </configuration> |
260 |
| - </execution> |
261 |
| - </executions> |
262 |
| - </plugin> |
263 |
| - </plugins> |
264 |
| - </build> |
265 |
| - </profile> |
266 |
| - </profiles> |
267 | 192 | </project>
|
0 commit comments