Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

DocBook Plugin Options

cbeams edited this page Mar 4, 2013 · 1 revision

${version} (the current version of the project to which the document belongs) is only expanded in `**/index.xml' by default. This is because the plugin has to copy the file while making the replacement.

A new property now exists to allow a project to specify additional file patterns to which the ${version} expansion is applied. For example, the Spring-AMQP project has a maven snippet in the quick-tour.xml docbook file.

To perform the expansion on other files (in addition to index.xml), add the file patterns as a comma-delimited list to the expandPlaceholders property:

ext {
	expandPlaceholders='**/quick-tour.xml'
}
Clone this wiki locally