maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud HERITIER <aherit...@gmail.com>
Subject Re: [jira] Closed: (MAVEN-1693) Remove unused <properties/> from POM model, documentation and XSD
Date Wed, 25 Jan 2006 23:48:07 GMT
Isn't it ? :
${pom.getProperties().getProperty('propertyA')}

Arnaud

On 1/25/06, Lukas Theussl <ltheussl@apache.org> wrote:
>
>
>
> Brett Porter wrote:
> > IIRC, touchstone tests it.
>
> Thanks for the tip. Now I don't know how touchstone works, but as I
> understand it, the following should work:
>
> if you put in your project.xml:
>
>    <properties>
>      <propertyA>pomPropertyA</propertyA>
>    </properties>
>
> then you should access the property in a custom jelly script like:
>
> <echo>propertyA = ${pom.getProperty('propertyA')}</echo>
>
> But this doesn't work, I get no output. What am I missing?
>
> -Lukas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message