No, maven pom file does not support iteration. your plugin need to support
some type on Collection
configuration to trigger it to iterate inside the plugin.
However you can run a mojo mutiple times by configuring mulitple <execute>s
On 9/21/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]>
wrote:
Is it possible to execute a Maven plugin multiple times by iterating
over a list to get properties. I am going for something like the
Antcontrib foreach task where inside in Ant I could have a property like
<property name="list" value="a,b,c">
<foreach list="list" param="param">
<exec>print ${param}</exec>
</foreach>
Here, I would like to execute a Maven plugin in a for loop, I will be
checking out different projects from an SVN repository in particular. I
will be doing this in Maven2. Thanks.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message.
Any disclosure, copying, or distribution of this message, or the taking of
any action based on it, is strictly prohibited. [v.E.1]