File tree Expand file tree Collapse file tree 5 files changed +61
-11
lines changed Expand file tree Collapse file tree 5 files changed +61
-11
lines changed Original file line number Diff line number Diff line change 21
21
<module >spring-batch-jsr352-tck</module >
22
22
<module >spring-batch-docs</module >
23
23
</modules >
24
-
24
+
25
25
<organization >
26
26
<name >Spring</name >
27
27
<url >https://spring.io</url >
113
113
<quartz .version>2.3.2</quartz .version>
114
114
<prometheus_pushgateway .version>0.10.0</prometheus_pushgateway .version>
115
115
<groovy .version>2.5.14</groovy .version>
116
-
116
+
117
117
<!-- documentation dependencies -->
118
118
<spring-doc-resources .version>0.2.5</spring-doc-resources .version>
119
119
<asciidoctorj-pdf .version>1.5.4</asciidoctorj-pdf .version>
120
+ <asciidoctorj-epub .version>1.5.1</asciidoctorj-epub .version>
120
121
121
122
<!-- plugin versions -->
122
123
<maven-compiler-plugin .version>3.8.1</maven-compiler-plugin .version>
276
277
</plugin >
277
278
</plugins >
278
279
</build >
279
-
280
+
280
281
<profiles >
281
282
<profile >
282
283
<id >test-coverage</id >
334
335
</build >
335
336
</profile >
336
337
</profiles >
337
-
338
+
338
339
<repositories >
339
340
<repository >
340
341
<id >maven-central</id >
385
386
</snapshots >
386
387
</pluginRepository >
387
388
</pluginRepositories >
388
-
389
+
389
390
<developers >
390
391
<developer >
391
392
<id >dsyer</id >
Original file line number Diff line number Diff line change 18
18
<type >zip</type >
19
19
</dependency >
20
20
</dependencies >
21
-
21
+
22
22
<build >
23
23
<resources >
24
24
<resource >
66
66
<artifactId >asciidoctorj-pdf</artifactId >
67
67
<version >${asciidoctorj-pdf.version} </version >
68
68
</dependency >
69
+ <dependency >
70
+ <groupId >org.asciidoctor</groupId >
71
+ <artifactId >asciidoctorj-epub3</artifactId >
72
+ <version >${asciidoctorj-epub.version} </version >
73
+ </dependency >
69
74
</dependencies >
70
75
<configuration >
71
76
<sourceDirectory >${project.basedir} /src/main/asciidoc</sourceDirectory >
120
125
</attributes >
121
126
</configuration >
122
127
</execution >
128
+ <execution >
129
+ <id >generate-epub</id >
130
+ <phase >site</phase >
131
+ <goals >
132
+ <goal >process-asciidoc</goal >
133
+ </goals >
134
+ <configuration >
135
+ <backend >epub3</backend >
136
+ <doctype >book</doctype >
137
+ <attributes >
138
+ <icons >font</icons >
139
+ <pagenums />
140
+ <sectnums />
141
+ <sectanchors />
142
+ <toc />
143
+ <source-highlighter >coderay</source-highlighter >
144
+ <project-version >${project.version} </project-version >
145
+ <revnumber >${project.version} </revnumber >
146
+ </attributes >
147
+ </configuration >
148
+ </execution >
123
149
</executions >
124
150
</plugin >
125
151
<plugin >
155
181
</plugin >
156
182
</plugins >
157
183
</build >
158
-
184
+
159
185
<repositories >
160
186
<repository >
161
187
<id >spring-releases</id >
167
193
</repository >
168
194
</repositories >
169
195
170
- </project >
196
+ </project >
Original file line number Diff line number Diff line change 28
28
<destName >spring-batch-reference.pdf</destName >
29
29
<outputDirectory >reference/pdf</outputDirectory >
30
30
</file >
31
+ <file >
32
+ <source >target/asciidoc/index-single.epub</source >
33
+ <destName >spring-batch-reference.epub</destName >
34
+ <outputDirectory >reference/epub</outputDirectory >
35
+ </file >
31
36
</files >
32
37
</assembly >
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ include::header/index-header.adoc[]
2
2
3
3
// ======================================================================================
4
4
5
- Welcome to the Spring Batch reference documentation! This documentation is also available
6
- as single link:index-single.html[html] and link:../pdf/spring-batch-reference.pdf[pdf] documents.
5
+ This documentation is also available
6
+ as a link:index-single.html[single HTML file] and as link:../pdf/spring-batch-reference.pdf[PDF]
7
+ and link:../epub/spring-batch-reference.epub[EPUB] documents.
7
8
8
9
The reference documentation is divided into several sections:
9
10
Original file line number Diff line number Diff line change 2
2
:toc: left
3
3
:toclevels: 4
4
4
5
- [[spring-batch-intro]]
5
+ ifdef::backend-html5[]
6
+ This documentation is also available
7
+ as link:index.html[multiple HTML files] and as link:../pdf/spring-batch-reference.pdf[PDF]
8
+ and link:../epub/spring-batch-reference.epub[EPUB] documents.
9
+ endif::[]
10
+
11
+ ifdef::backend-pdf[]
12
+ This documentation is also available
13
+ as link:index.html[multiple HTML files], a link:index-single.html[single HTML file],
14
+ and an link:../epub/spring-batch-reference.epub[EPUB] document.
15
+ endif::[]
16
+
17
+ ifdef::backend-epub3[]
18
+ This documentation is also available
19
+ as link:index.html[multiple HTML files], a link:index-single.html[single HTML file],
20
+ and a link:../pdf/spring-batch-reference.pdf[PDF] document.
21
+ endif::[]
6
22
23
+ [[spring-batch-intro]]
7
24
== Spring Batch Introduction
8
25
9
26
Many applications within the enterprise domain require bulk processing to perform
You can’t perform that action at this time.
0 commit comments