Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from ivargrimstad/asccidoc-fix
Browse files Browse the repository at this point in the history
Modify Asciidoctor config
  • Loading branch information
wmhopkins authored Mar 27, 2017
2 parents 2189372 + 38aa0c8 commit 04a81f0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
20 changes: 17 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@
</mailingLists>

<properties>
<asciidoctor.version>1.5.2</asciidoctor.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<asciidoctor.maven.plugin.version>1.5.3</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>1.5.0-alpha.11</asciidoctorj.pdf.version>
<asciidoctorj.version>1.5.4</asciidoctorj.version>
<jruby.version>1.7.21</jruby.version>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
</properties>

<build>
Expand Down Expand Up @@ -71,7 +77,14 @@
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.version}</version>
<version>${asciidoctor.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj.pdf.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>output-html</id>
Expand All @@ -91,14 +104,15 @@
</attributes>
</configuration>
</execution>

<execution>
<id>output-docbook</id>
<phase>process-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>docbook45</backend>
<backend>pdf</backend>
<doctype>book</doctype>

<templateEngine>slim</templateEngine>
Expand Down
3 changes: 2 additions & 1 deletion src/main/doc/jsr375-spec.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
:doctype: book
:compat-mode:
= Java EE Security API 1.0 (EDR 1)

List of Authors
v${project.version}
include::license.asciidoc[]

include::preface.asciidoc[]
Expand Down

0 comments on commit 04a81f0

Please sign in to comment.