On 11-Aug-09, at 7:37 AM, Jochen Wiedmann wrote:
On Tue, Aug 11, 2009 at 12:13 PM, Jason van
Zyl<[email protected]> wrote:
Brian semi-abused the configuration mechanism to achieve what he
wanted. But
he did get it to work :-) We'll devise something that uses the
components
for 3.x but what's happening is that configuration elements
translate into
classes in the same package as the plugin itself. Plexus uses an
XStream-like mechanism to instantiate the objects and populate
their values.
May not work internally exactly as you imagined but it does work
and is
effective.
Okay, understood. Thanks, that will be sufficient for me to go on.
Just out of curiosity: Can you point me to the location in the
configurator sources, which does that? Perhaps, I'd like to spend some
work in that area.
For Maven 2.x you'll be interested in this:
http://svn.codehaus.org/plexus/plexus-containers/branches/PLX-343-plexus-container-default-1.0-alpha-9-stable-1/src/main/java/org/codehaus/plexus/component/configurator/
Jochen
--
Base64 decoding, 300% faster than sun.misc.BASE64Decoder:
http://archive.netbsd.se/?ml=commons-dev&a=2008-05&t=7522166
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------
We all have problems. How we deal with them is a measure of our worth.
-- Unknown