If I'm not mistaken the property substitution feature has not yet been
released yet. You need to use the current SNAPSHOT version of doxia.
Curt Arnold wrote:
I've been migrating log4j over to Maven and I've run into a few little
issues that I haven't been able to work through. I would appreciate any
advice for more experienced Maven hands.
The first issue involves property substitution in APT. The maven-site
download.apt
(https://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/download.apt)
uses ${currentVersion} to insert the current version into the generated
HTML. The property currentVersion is set in the POM
(https://svn.apache.org/repos/asf/maven/site/trunk/pom.xml). When I've
tried to replicate, I do not get the substitution.
To reproduce:
svn co
https://svn.apache.org/repos/asf/logging/log4j/branches/v1_2-branch log4j12
Replace 1.2.15 with ${currentVersion} in src/site/apt/download.apt
cd log4j12
mvn site
View target/site/download.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]