Add support for merging <mime-mapping>

Description

See: http://old.nabble.com/Duplicate-entries-when-merging-wars-to33241645.html

I'm trying to merge 2 wars with cargo-maven2-plugin 1.2.0.

Merging context-params works as expected, but for mime-mappings there are duplicate entries in the resulting web.xml.

Each of the source web.xml contains an entry

1 2 3 4 <mime-mapping> <extension>js</extension> <mime-type>application/x-javascript</mime-type> </mime-mapping>

In the resulting web.xml there are 2 entries for mime-mapping.

Note: For servlet and filter elements this is not the case.

Status

Assignee

Savas Ali Tokmen

Reporter

Savas Ali Tokmen

Components

Fix versions

Affects versions

1.2.0

Priority

Minor
Configure