Skip to content

Commit

Permalink
Merge pull request #513 from jglick/pdfs
Browse files Browse the repository at this point in the history
Removing `pdfs` profile
  • Loading branch information
jtnord committed Mar 4, 2024
2 parents 60bd7bc + f86ad48 commit f64dada
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,79 +189,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>pdfs</id>
<properties>
<asciidoctor.maven.plugin.version>3.0.0</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>2.3.10</asciidoctorj.pdf.version>
<asciidoctorj.version>2.5.11</asciidoctorj.version>
<jruby.version>9.4.6.0</jruby.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj.pdf.version}</version>
</dependency>
<!-- Comment this section to use the default jruby artifact provided by the plugin -->
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>${jruby.version}</version>
</dependency>
<!-- Comment this section to use the default AsciidoctorJ artifact provided by the plugin -->
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
<version>${asciidoctorj.version}</version>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>docs</sourceDirectory>
<!-- Attributes common to all output formats -->
<attributes>
<sourcedir>${project.build.sourceDirectory}</sourcedir>
<imagesdir>.</imagesdir>
</attributes>
</configuration>
<executions>
<execution>
<id>generate-pdf-doc</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>pdf</backend>
<!-- Since 1.5.0-alpha.9 PDF back-end can use 'rouge' as well as 'coderay'
for source highlighting -->
<!-- Due to a known issue on windows, it is recommended to use 'coderay' until an new version of 'rouge' is released.
see discussions: https://github.com/asciidoctor/asciidoctor-maven-examples/pull/58
https://github.com/asciidoctor/asciidoctorj-pdf/issues/3
https://github.com/jneen/rouge/issues/661
-->
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<icons>font</icons>
<pagenums />
<toc />
<idprefix />
<idseparator>-</idseparator>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit f64dada

Please sign in to comment.