You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sebastien Arbogast <se...@gmail.com> on 2006/07/16 19:38:37 UTC
[M2] Mojo and access to another plugin's configuration
Is it possible to access a configuration option of another plugin?
I'm currently developing a plugin that needs to get a reference to the
path where the WAR plugin writes the exploded web application. More
specifically, my mojo is linked to the generate-resources phase and
needs to have a File parameter corresponding to the webappDirectory
parameter of the war plugin.
Is it possible? If yes, how can I do that?
FYI, I tried the following but webappDirectory is null:
/**
* WAR plugin target directory
* @parameter default-value="${war.webappDirectory}"
* @readonly
*/
private File webappDirectory;
--
Sébastien Arbogast
http://www.sebastien-arbogast.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org