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
[email protected]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]