On 7/25/05, Peter van de Hoef <[EMAIL PROTECTED]> wrote:
> I think the PlexusConfiguration type is also worth mentioning here.
> It enabled me to pass a piece of xml right through to the plugin:
>
> import org.codehaus.plexus.configuration.PlexusConfiguration;
> ...
> class MyMojo [etc..]
> {
> /**
> * @parameter
> */
> private PlexusConfiguration anything;
> }
>
> Then, in the pom:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> [etc...]
> <configuration>
> <anything>
> <can go="here"/>
> <nested>
> <elements and="attributes"/>
> </nested>
> </anything>
> </configuration>
> </plugin>
Thanks Peter, this is certainly very useful for passing XML fragments.
Kind Regards,
John Fallows.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]