This would work as well but doesn't make a lot of sense.  My suggestion
was just for readablity.

<links>
  <foo>http://...</foo>
  <bar>http://...</bar>
</links> 

Basically Maven ignores the names of child elements of List/Array types
AFAIK.

-----Original Message-----
From: gdub [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 04, 2006 2:06 PM
To: Maven Users List
Subject: Re: configure ArrayList in POM

Mike Perham wrote:

 > <links>
 >   <link>http://...</link>
 >   <link>http://...</link>
 > </links>

Thanks, Mike.

Is configuration syntax like
that specifically written into
each each plug-in? Or does
Maven somehow automatically
discern that "link" is the
element that holds list items
for a property named "links?"

I'm just wondering how one
might determine the configuration
syntax for a plug-in generally.
Is it just convention or is there
actually code that reflects on
plug-in objects and uses property
names to infer XML element names?

   -dub





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



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

Reply via email to