I've added 2 amp extensions for Share and each of them overrides web.xml, adds some filters, is there any way to merge web.xml changes in the resulting war file? Now I can see only two solutions: 1. apply ALL changes in every amp's web.xml 2. create separate amp with the aggregated web.xml
in both cases I can not deploy a single amp separately and run integration tests for example.
May be someone invented a better approach for this. Many thanks
an adapted, aggregated web.xml should only be added in the final WAR build project, where you perform your AMP to WAR installations / overlay. I see no other way of doing this.
Why do your AMPs need to modify the web.xml? In all my years of Alfresco development I have never needed to do this except for some personal experiments…