all you need is to have access to 'project' instance and use it to get pom's
info.
put the below fragment in your mojo
/**
* [EMAIL PROTECTED] expression="${project}"
* [EMAIL PROTECTED]
*
*/
*protected* MavenProject project;
On 2/22/07, Paul Gier <[EMAIL PROTECTED]> wrote:
I would like to be able to access the scm settings (connection, tag,
etc) in the pom.xml from within a plugin. Is this possible? It seems
like there should be an easy way to get access to all of the pom
configuration from within a plugin, but I haven't found it yet. I tried
looking in project.properties, but it was empty. Is project.properties
used for anything?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]