Skip to content

Commit 371440f

Browse files
committed
Now using eval in docbook to resolve version
1 parent 7b1862a commit 371440f

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

pom.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
<plugin>
209209
<groupId>com.agilejava.docbkx</groupId>
210210
<artifactId>docbkx-maven-plugin</artifactId>
211-
<version>2.0.6</version>
211+
<version>2.0.11</version>
212212
<executions>
213213
<execution>
214214
<goals>
@@ -230,15 +230,10 @@
230230
<includes>index.xml</includes>
231231
<chunkedOutput>true</chunkedOutput>
232232
<htmlStylesheet>css/html.css</htmlStylesheet>
233+
<highlightSource>1</highlightSource>
233234
<xincludeSupported>true</xincludeSupported>
234235
<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
235236
<foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
236-
<entities>
237-
<entity>
238-
<name>version</name>
239-
<value>${pom.version}</value>
240-
</entity>
241-
</entities>
242237
<postProcess>
243238
<copy todir="target/site/reference">
244239
<fileset dir="target/docbkx">

src/docbkx/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<bookinfo>
66
<title>Spring Web Services - Reference Documentation</title>
7-
<releaseinfo>&version;</releaseinfo>
7+
<releaseinfo><?eval ${project.version}?></releaseinfo>
88

99
<authorgroup>
1010
<author>

src/docbkx/tutorial.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
</para>
475475
<screen>mvn archetype:create -DarchetypeGroupId=org.springframework.ws \
476476
-DarchetypeArtifactId=spring-ws-archetype \
477-
-DarchetypeVersion=2.0.0-RC2 \
477+
-DarchetypeVersion=<?eval ${project.version}?> \
478478
-DgroupId=com.mycompany.hr \
479479
-DartifactId=holidayService
480480
</screen>

0 commit comments

Comments
 (0)