that is not possible, plugin configuration uses javabean reflection, so you
need to put your
vars in a collection container like list

-D


On 10/13/06, pjungwir <[EMAIL PROTECTED]> wrote:


Hello,

I'm writing a plugin, and I would like to accept configuration xml like
this:

<someOption>
<anotherOption>
<var>
<var>
<var>
... [more <var>s] ...

Is this possible without wrapping the <var> tags inside a container like
<vars>? In the docs, all the examples have a wrapper tag for lists and
arrays.

I know I can just get the full xml and query it, but is there an easier
way?
I'd like to keep a "private String[] vars" with javadoc so when maven
builds
the documentation, it is included.

Thanks,
Paul

--
View this message in context:
http://www.nabble.com/lists---arrays-as-plugin-parameters-tf2437539.html#a6797048
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to