maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Theussl <ltheu...@apache.org>
Subject Re: [jira] Closed: (MAVEN-1693) Remove unused <properties/> from POM model, documentation and XSD
Date Wed, 25 Jan 2006 23:58:02 GMT
I knew I was missing something big! ;)

Thanks Arnaud, that worked. However, it's not what is used in the 
touchstone tests ... ?

-Lukas


Arnaud HERITIER wrote:
> 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
>>
> 
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message