Now using eval in docbook to resolve version
This commit is contained in:
9
pom.xml
9
pom.xml
@@ -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">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<bookinfo>
|
||||
<title>Spring Web Services - Reference Documentation</title>
|
||||
<releaseinfo>&version;</releaseinfo>
|
||||
<releaseinfo><?eval ${project.version}?></releaseinfo>
|
||||
|
||||
<authorgroup>
|
||||
<author>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user