You need to put them in a separate <executions> tag and use a different
id. If you don't specify an execution, then it uses the default one and
will merge the config. 

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jochen Kuhnle
Sent: Thursday, November 23, 2006 8:51 AM
To: dev@maven.apache.org
Subject: Merging list properties in plugin configurations?

Hi,

I am writing some plugins that have list properties, e.g.:

<warnings>
        <warning>all</warning
        <warning>special</warning
        <warning>etc.</warning
</warnings>

I now want to have different configurations (through parents, profiles,
etc.), but when merging, Maven2 only keeps entries from one
configuration (see
DefaultPluginManager.buildTopDownMergedConfiguration). Is there a way
around this?

Regards,
Jochen



---------------------------------------------------------------------
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