You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Syer <da...@hotmail.com> on 2007/10/28 16:18:13 UTC

Setting properties at runtime in a plugin component?

Anyone know if it is possible to override component property values inside
plugins in the pom somehow.  The process of converting the <configuration>
XML elements from <build><plugins><plugin> is a little bit of a dark art. 
It is obvious from the "mvn -X" debug output when you add a <configuration>
element, and it does seem to be injected into the plugin Mojo directly into
an annotated @parameter .  But @component dependencies of the plugin (e.g.
doxiaBook in the DoxiaRenderBooksMojo) do not seem to be accessible from the
pom.  I figure Plexus ought to be able to do something like this, but I
can't find any examples or documentation.
-- 
View this message in context: http://www.nabble.com/Setting-properties-at-runtime-in-a-plugin-component--tf4707240s177.html#a13454401
Sent from the Maven - Users mailing list archive at Nabble.com.


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