Open scottkurz opened 1 year ago
Hi! I found this issue trying out the liberty-maven-plugin to run/debug our Java applications in Visual Code. These apps are multi-module EARs with WARs and JARs and we have the need to filter at least the web.xml file. Any chance this will be supported soon?
Hi! I found this issue trying out the liberty-maven-plugin to run/debug our Java applications in Visual Code. These apps are multi-module EARs with WARs and JARs and we have the need to filter at least the web.xml file. Any chance this will be supported soon?
Thanks for the question. No, I wouldn't expect this to be completed in the near term, but we will at least note your interest to prioritize. Completing the full support is not simple.
When I get the chance I'll try to see if there might be a workaround you might be able to issue "off to the side", i.e. manually, separately from the dev mode execution. In some cases that might be an option but it's not obvious to me whether it would in this case without looking more.
@doteo78 I started a discussion here: https://github.com/OpenLiberty/ci.maven/discussions/1817 about my workaround idea.
This issue continues the work described in epic https://github.com/OpenLiberty/ci.maven/issues/1104.
In that epic, we socialized and received approval for a design for handling resource filtering and WAR overlays, as well as for applying filtering to server config (server.xml, etc.).
At this point, we're refactoring the issue descriptions to carve out and separate the piece that we implemented vs. the pieces that we did not.
This issue will be used to track a key piece remaining: the addition of the web resources filtering to WAR modules within EAR modules.
Note the UFO design is at: https://ibm.box.com/s/k6zinwfzvwfzfp0fl4mv7fv9mbmuubfa
The part related to EAR modules is described in slides 23-27
Note we only set out to add filtering to WAR-level resources in EAR modules, and notably did NOT include filtering of the EAR-level application.xml in the design.