You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin B <ma...@jpmorgan.com> on 2008/11/05 14:44:12 UTC

how do you read a pom and resolve references to built in properties ?

In a mojo i'm writing i need to read in a pom and find if a plugin property
has been set.

I can read in a pom using MavenXpp3Reader and get the property but what i
can't figure
out is how to resolve the references to built in properties.

i.e. 
<configuration>
 <outputFile>${project.build.directory}/classes/info.xml</outputFile>
</configuration>

Is there a trick i'm missing to get this returned with 
${project.build.directory} replaced with the actual
value.

Thanks in advance.
-- 
View this message in context: http://www.nabble.com/how-do-you-read-a-pom-and-resolve-references-to-built-in-properties---tp20341960p20341960.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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