maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Moser" <manf...@mosabuam.com>
Subject Re: Maven Plugin Refelction
Date Mon, 01 Dec 2014 23:58:22 GMT
We have implemented a mechanism for this in the Android Maven Plugin .. you can use the same..

https://github.com/simpligility/android-maven-plugin/blob/master/src/main/java/com/jayway/maven/plugins/android/PluginInfo.java

Also check out the build setup in the pom for populating the properties file.... 

manfred

Thomas Scheffler wrote on 30.11.2014 23:35:

> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

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


Mime
View raw message