You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by William Ferguson <Wi...@yarris.com> on 2007/08/23 02:10:35 UTC
Accessing POM properties in a filter
Resending as its been 24 hours and the message hasn't shown up.
In a resource filter, I can specify tokens like:
token1=${project.version}
token2=${project.properties}
Which when used in a resource file evaluates to:
valueForToken1=1.0-SNAPSHOT
valueForToken2={myProp1=value1, myProp2=value2}
How do I specify a token in the resource filter that resolves to the
value of myProp1?
I've tried all variants (that I can think of) of
${project.properties.myProp1}.
I'm sure there's a way, but I can't find documentation spelling out the
syntax that is required.
William
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org