Why don't you inject a parameter with expression ${plugin.version} in the
Mojo and
use the info level to log it? Don't know if that's what you are asking...
/**
* @parameter expression=${plugin.version}
*/
private String pluginVersion;
..
Thanks,
mohan kr
-----Original Message-----
From: Christiaan Veerman [mailto:[email protected]]
Sent: Thursday, June 25, 2009 3:44 PM
To: [email protected]
Subject: Logging Plugin Version Without Debug -X Mode
Hello:
I am trying to find how to log the plugin version when running my plugin.
The reason I ask is that my plugin version is not explicitly set so
maven will bring down a new version with the default daily interval
(hopefully).
The question I have is how can I get the plugin version currently
running inside the mvn reaction without running in debug mode -X.
Any help is greatly appreciated.
Cheers,
Christiaan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]