maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Syer <>
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:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message