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

Reply via email to