Hi,

following the "Mapping complex objects" section from

    http://maven.apache.org/guides/mini/guide-configuring-plugins.html

I would like to develop a plugin, which takes a configuration like

        <beans>
            <bean>
                 <subbean>
                      <foo>this</foo>
                      <bar>that</bar>
                 </subbean>
            </bean>
        </beans>

I understand, that I have to create classes Bean, and SubBean in the
Mojo's package.
The latter has to have properties "foo", and "bar", and the latter has
a property "subbean" with type Subbean. Additionally, the Mojo itself
may have a property Bean[] beans.

I can easily compile the plugin. However, it seems the configuration
is never injected into the plugin.

Are there any examples for such a configuration? Any ideas what I
might be doing wrong?

Regards,

Jochen


--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to