Re: [m2] plugin parameter value configuration for non primitive types?

2005-08-01 Thread John Fallows
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..] { /**

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-25 Thread Peter van de Hoef
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

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread Kenney Westerhof
On Fri, 15 Jul 2005, John Fallows wrote: What syntax is supported for M2 Plugin parameters of non-primitive types? For example, java.util.Collection (and subclasses), java.util.Map (and subclasses), arrays, Properties and JavaBeans. Collections / arrays: items whatever

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread Emmanuel Venisse
Kenney, Can you create an apt doc that explain this? Emmanuel Kenney Westerhof wrote: On Fri, 15 Jul 2005, John Fallows wrote: What syntax is supported for M2 Plugin parameters of non-primitive types? For example, java.util.Collection (and subclasses), java.util.Map (and subclasses),

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread Kenney Westerhof
On Fri, 15 Jul 2005, Emmanuel Venisse wrote: Kenney, Can you create an apt doc that explain this? Sure, where do you want me to put it? It should go in plexus somewhere, but then the m2 site has to have a reference to that page. Emmanuel Kenney Westerhof wrote: On Fri, 15 Jul 2005,

Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-15 Thread John Fallows
Thanks Kenney, this is very helpful. :-) Would you mind posting a message to this email thread that contains a link to the APT documentation after is available on maven site? Kind Regards, John Fallows. On 7/15/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Fri, 15 Jul 2005, John Fallows

[m2] plugin parameter value configuration for non primitive types?

2005-07-14 Thread John Fallows
What syntax is supported for M2 Plugin parameters of non-primitive types? For example, java.util.Collection (and subclasses), java.util.Map (and subclasses), arrays, Properties and JavaBeans. /** * Items to be processed, defaults to the empty set. * * @parameter */ private Set items =