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

Commit 04a81f0

Browse files
authored
Merge pull request #1 from ivargrimstad/asccidoc-fix
Modify Asciidoctor config
2 parents 2189372 + 38aa0c8 commit 04a81f0

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

pom.xml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@
3838
</mailingLists>
3939

4040
<properties>
41-
<asciidoctor.version>1.5.2</asciidoctor.version>
41+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42+
<asciidoctor.maven.plugin.version>1.5.3</asciidoctor.maven.plugin.version>
43+
<asciidoctorj.pdf.version>1.5.0-alpha.11</asciidoctorj.pdf.version>
44+
<asciidoctorj.version>1.5.4</asciidoctorj.version>
45+
<jruby.version>1.7.21</jruby.version>
46+
<timestamp>${maven.build.timestamp}</timestamp>
47+
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
4248
</properties>
4349

4450
<build>
@@ -71,7 +77,14 @@
7177
<plugin>
7278
<groupId>org.asciidoctor</groupId>
7379
<artifactId>asciidoctor-maven-plugin</artifactId>
74-
<version>${asciidoctor.version}</version>
80+
<version>${asciidoctor.maven.plugin.version}</version>
81+
<dependencies>
82+
<dependency>
83+
<groupId>org.asciidoctor</groupId>
84+
<artifactId>asciidoctorj-pdf</artifactId>
85+
<version>${asciidoctorj.pdf.version}</version>
86+
</dependency>
87+
</dependencies>
7588
<executions>
7689
<execution>
7790
<id>output-html</id>
@@ -91,14 +104,15 @@
91104
</attributes>
92105
</configuration>
93106
</execution>
107+
94108
<execution>
95109
<id>output-docbook</id>
96110
<phase>process-resources</phase>
97111
<goals>
98112
<goal>process-asciidoc</goal>
99113
</goals>
100114
<configuration>
101-
<backend>docbook45</backend>
115+
<backend>pdf</backend>
102116
<doctype>book</doctype>
103117

104118
<templateEngine>slim</templateEngine>

src/main/doc/jsr375-spec.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@
143143
:doctype: book
144144
:compat-mode:
145145
= Java EE Security API 1.0 (EDR 1)
146-
146+
List of Authors
147+
v${project.version}
147148
include::license.asciidoc[]
148149

149150
include::preface.asciidoc[]

0 commit comments

Comments
 (0)