maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Syer <david_s...@hotmail.com>
Subject Setting properties at runtime in a plugin component?
Date Sun, 28 Oct 2007 15:18:13 GMT

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


Mime
View raw message