From thomas.diesler at jboss.com Mon Apr 20 09:11:17 2009 Content-Type: multipart/mixed; boundary="===============5557424978743853031==" MIME-Version: 1.0 From: Thomas Diesler To: jboss-development at lists.jboss.org Subject: [jboss-dev] HowTo parameterize your docbook Date: Mon, 20 Apr 2009 15:11:13 +0200 Message-ID: <49EC7471.1010302@jboss.com> --===============5557424978743853031== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Folks, If you are interested in a solution to Parameterized docbook sources https://jira.jboss.org/jira/browse/MPJDOCBOOK-30 here is how JBossOSGi does it: In you pom add src/main/resources true org.codehaus.mojo buildnumber-maven-plugin process-resources create {0,date,dd-MMM-yyyy} timestamp maven-resources-plugin process-resources resources = ${project.build.directory}/docbook/resources in src/main/resources/bookinfo.xml put JBossOSGi - User Guide Version: ${version} Date: ${buildNumber} in my master.xml put This includes the filtered bookinfo from target/docbook/resources May this be useful -thomas -- = xxxxxxxxxxxxxxxxxxxxxxxxxxxx Thomas Diesler JBoss, a division of Red Hat 2009 Red Hat Summit and JBoss World. Chicago. September 1-4, 2009. http://www.redhat.com/summit http://www.jbossworld.com xxxxxxxxxxxxxxxxxxxxxxxxxxxx --===============5557424978743853031==--