Warning - m2 programming noobie here.
I'm trying to write a very simple mojo to display a message which will
include the version number of the plugin.
I use the following annotations to access the plugin:
/**
* Plugin descriptor.
* @parameter default-value=${plugin}
* @required
OK, I'm answering my own question. Found the maven code that evaluates the
expressions, and it seems that the string plugin does not get evaluated,
but strings starting with plugin. such as plugin.version DO get
evaluated. The eBook Better Builds With Maven indicates (in A.2.1) that
${plugin}