Thanks, Robert,

the reference to the PluginParameterExpressionEvaluator in the
maven-help-plugin was what I need. It's a bit clumsy to obtain, but
does exactly what I want.

Jochen

On Thu, Dec 27, 2018 at 9:55 AM Robert Scholte <rfscho...@apache.org> wrote:
>
> Hi,
>
> try to find a plugin which does similar things and have a look at its
> sources.
> In this case help:evaluate[1]
>
> thanks,
> Robert
>
> [1] https://maven.apache.org/plugins/maven-help-plugin/evaluate-mojo.html
>
> On Wed, 26 Dec 2018 22:36:32 +0100, Jochen Wiedmann
> <jochen.wiedm...@gmail.com> wrote:
>
> > Hi,
> >
> > I have written a Maven plugin, which must interpret values like
> > ${project.artifactId}, and the like.
> > My first attempt was to use
> > project.getProperties().get("project.artifactId"), but that seems
> > to work only for the values, which are configured in the POM's
> > property section. So, what would be a better approach?
> >
> > Thanks,
> >
> > Jochen
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

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

Reply via email to