We're updating the issue view to help you get more done. 

Duplicate entries when merging <filter-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 filter-mappings there are duplicate entries in the resulting web.xml.

Each of the source web.xml contains an entry:

1 2 3 4 <filter-mapping> <filter-name>Trinidad Filter</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping>

In the resulting web.xml there are 2 entries for filter-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