Re: Site plugin to document properties in the pom?

2013-01-15 Thread Mark H. Wood
On Mon, Jan 14, 2013 at 10:26:56PM +0200, Graham Leggett wrote: On 14 Jan 2013, at 10:02 PM, Mirko Friedenhagen mfriedenha...@gmail.com wrote: I once was successful with referencing injected properties in velocity by using the get method. Maybe something like:

Re: Site plugin to document properties in the pom?

2013-01-15 Thread Hervé BOUTEMY
I wrote some documentation about properties available during Velocity processing in Doxia [1] project (type MavenProject) should be available, which has getProperties() method: this should be what you are looking for this documentation can probably be enhanced: any feedback appreciated

Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
Hi all, I am looking for a plugin that will take the properties defined in the POM, and include these properties in the generated site. Does such a plugin exist? The problem I am trying to solve is that I have properties defined in a parent POM, and would like to expose these properties in

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Olivier Lamy
maybe http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering 2013/1/14 Graham Leggett minf...@sharp.fm: Hi all, I am looking for a plugin that will take the properties defined in the POM, and include these properties in the generated site. Does such a

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
On 14 Jan 2013, at 6:36 PM, Olivier Lamy ol...@apache.org wrote: maybe http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering Doesn't seem to fit, alas, as you have to come up with your own template and manually add the new properties to the template. In

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Mirko Friedenhagen
Hello Graham, I once was successful with referencing injected properties in velocity by using the get method. Maybe something like: ${project.properties.get(tomcat.port.http.confluence43.live)} will work? Regards Mirko On Mon, Jan 14, 2013 at 5:40 PM, Graham Leggett minf...@sharp.fm wrote: On

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
On 14 Jan 2013, at 10:02 PM, Mirko Friedenhagen mfriedenha...@gmail.com wrote: I once was successful with referencing injected properties in velocity by using the get method. Maybe something like: ${project.properties.get(tomcat.port.http.confluence43.live)} will work? Alas, no. The idea is