Now using eval in docbook to resolve version

This commit is contained in:
Arjen Poutsma
2011-03-29 08:42:39 +00:00
parent 7b1862ad1a
commit 371440f71b
3 changed files with 4 additions and 9 deletions

View File

@@ -208,7 +208,7 @@
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.6</version>
<version>2.0.11</version>
<executions>
<execution>
<goals>
@@ -230,15 +230,10 @@
<includes>index.xml</includes>
<chunkedOutput>true</chunkedOutput>
<htmlStylesheet>css/html.css</htmlStylesheet>
<highlightSource>1</highlightSource>
<xincludeSupported>true</xincludeSupported>
<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
<foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
<entities>
<entity>
<name>version</name>
<value>${pom.version}</value>
</entity>
</entities>
<postProcess>
<copy todir="target/site/reference">
<fileset dir="target/docbkx">

View File

@@ -4,7 +4,7 @@
<bookinfo>
<title>Spring Web Services - Reference Documentation</title>
<releaseinfo>&version;</releaseinfo>
<releaseinfo><?eval ${project.version}?></releaseinfo>
<authorgroup>
<author>

View File

@@ -474,7 +474,7 @@
</para>
<screen>mvn archetype:create -DarchetypeGroupId=org.springframework.ws \
-DarchetypeArtifactId=spring-ws-archetype \
-DarchetypeVersion=2.0.0-RC2 \
-DarchetypeVersion=<?eval ${project.version}?> \
-DgroupId=com.mycompany.hr \
-DartifactId=holidayService
</screen>