/**
     * This plugin's descriptor
     */
    @Parameter(property = "plugin")
    private PluginDescriptor pluginDescriptor;

>From there you use
http://maven.apache.org/ref/3.2.3/maven-plugin-api/apidocs/org/apache/maven/plugin/descriptor/PluginDescriptor.html#getVersion()

On 1 December 2014 at 07:35, Thomas Scheffler <thomas.scheff...@uni-jena.de>
wrote:

> Hi there,
>
> I try to write a simple plugin. I want to have access to the version of
> this plugin. As maven already knows it, I wondered, if I can get access to
> this version string somehow without hardcoding it in properties or java
> code.
>
> kind regards,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to