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 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 implementation="java.lang.String">value</whatever> > > <whatever2 implementation="your.complex.Object"> > <fieldname>value</fieldname> > <field2name>value2</field2name> > </whatever2> > > <!-- this seems to be broken right now: --> > <complete.class.Name>....</complete.class.Name> > > <!-- java.lang.* : --> > <integer>1</integer> > <string>stringvalue</string> > > </items> > > Map: > > <items> > <the_key>the value</the_key> > <another_key>another value</another_key> > ... > </items> > > > > Properties: > > <items> > <whatever> > <name>the key</name> > <value>the value</value> > </whatever> > .. > </items> > > JavaBeans: > > when 'items' maps to a field that is a JavaBean, it is treated > the same as the top-level 'configuration' tag, that is mapped > to the component instance. > > > > > /** > > * Items to be processed, defaults to the empty set. > > * > > * @parameter > > */ > > private Set items = Collections.EMPTY_SET; > > > > <configuration> > > <items>???</items> > > </configuration> > > > > Kind Regards, > > John Fallows. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > Kenney Westerhof > http://www.neonics.com > GPG public key: http://www.gods.nl/~forge/kenneyw.key > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
