Use ${project.version} as the value for the skin: http://github.com/brettporter/centrepoint/blob/master/centrepoint/documentation/src/site/site.xml
On 7 April 2010 09:53, Andrew Hughes <ahhug...@gmail.com> wrote: > Hi All, > > I've written a site skin (com.acme:acme-maven-site-skin-1.0.0-SNAPSHOT) and > of course I want "the site skin project" to use the skin for its site :) > so.... > > ./src/site/site.xml: > > <skin> > <groupId>com.acme</groupId> > <artifactId>acme-maven-site-skin</artifactId> > <version>1.0.0-SNAPSHOT</version> > </skin> > > However, when I *release:prepare release:perform* the project the > ${project.version} will become 1.0.0 but the site.xml's ${skin.version} > will > remain at 1.0.0-SNAPSHOT (unless I am wrong). > > How can I sync the ${project.version} and the skin.version when performing > a > release? > > CHEERS :) > -- Brett Porter http://brettporter.wordpress.com/