Re: property substitution in site files?
On Wed, Oct 18, 2006 at 3:48 PM, pjungwir <[EMAIL PROTECTED]> wrote: > I am trying to generate some site files using the .apt format. (I'm not > wedded to that format, but I'm starting there since it's the easiest.) I was > hoping to do something like this: > ${project.name} See 'Filtering' at the bottom of http://maven.apache.org/plugins/maven-site-plugin/usage.html (Name the file whatever.apt.vm, and it will first filter, then convert from apt to html. Requires maven-site-plugin 2.0-beta-6.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: property substitution in site files?
Hi Krish, what you want is absolutely ok with maven. Paul was talking about the apt format for the site documentation. I think this was just not made to include maven properties. See http://maven.apache.org/doxia/references/apt-format.html Curly braces mean anchor, not property. Stefan dasarikm wrote: Hey Paul, Did you resolve this issue. I have a parent pom and I want the properties in parent to be substituted in the child's pom when I do mvn install. Is it possible. Thanks Krish pjungwir wrote: Hello, I am trying to generate some site files using the .apt format. (I'm not wedded to that format, but I'm starting there since it's the easiest.) I was hoping to do something like this: ${project.name} ${project.description} But that doesn't work. The curly braces disappear, but the properties aren't replaced. So I guess maven doesn't do property substitution before processing these files, huh? Is there a switch to turn that on? Should I just hack it by running my site files through a resource filter? Thanks, Paul -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: property substitution in site files?
Hey Paul, Did you resolve this issue. I have a parent pom and I want the properties in parent to be substituted in the child's pom when I do mvn install. Is it possible. Thanks Krish pjungwir wrote: > > Hello, > > I am trying to generate some site files using the .apt format. (I'm not > wedded to that format, but I'm starting there since it's the easiest.) I > was hoping to do something like this: > > ${project.name} > > ${project.description} > > > But that doesn't work. The curly braces disappear, but the properties > aren't replaced. So I guess maven doesn't do property substitution before > processing these files, huh? Is there a switch to turn that on? Should I > just hack it by running my site files through a resource filter? > > Thanks, > Paul > > -- View this message in context: http://www.nabble.com/property-substitution-in-site-files--tp6887419s177p15855620.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
property substitution in site files?
Hello, I am trying to generate some site files using the .apt format. (I'm not wedded to that format, but I'm starting there since it's the easiest.) I was hoping to do something like this: ${project.name} ${project.description} But that doesn't work. The curly braces disappear, but the properties aren't replaced. So I guess maven doesn't do property substitution before processing these files, huh? Is there a switch to turn that on? Should I just hack it by running my site files through a resource filter? Thanks, Paul -- View this message in context: http://www.nabble.com/property-substitution-in-site-files--tf2470206.html#a6887419 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]