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 <[email protected]> wrote:
> On 14 Jan 2013, at 6:36 PM, Olivier Lamy <[email protected]> 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 addition, my properties contain dots:
>
>   <properties>
>     
> <tomcat.port.http.confluence43.live>7999</tomcat.port.http.confluence43.live>
>     
> <tomcat.port.shutdown.confluence43.live>7998</tomcat.port.shutdown.confluence43.live>
>     <httpd.port.http.repo.core>7997</httpd.port.http.repo.core>
>     <httpd.address.http.repo.core>127.0.0.1</httpd.address.http.repo.core>
>   </properties>
>
> Regards,
> Graham
> --
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to