You're probably better getting the PluginParameterExpressionEvaluator
component and using that (it's not the same as the interpolator in the
POM unfortunately, but probably what you are looking for and more
accessible).
On 22/01/2009, at 6:55 AM, Stephen Connolly wrote:
I'm working on a mojo that needs to filter property and maven model
property-equivalents (i.e. ${project.parent.groupId}).
What is the preferred way to get these values?
My current theory is that I should use
http://maven.apache.org/ref/current/maven-project/xref/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.html
But I'm somewhat unsure... and given that that refers to a Model,
and not an
arbitrary string....
-Stephen
--
Brett Porter
br...@apache.org
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org