-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revoke stripping the dependency JARs from the WAR.
Due to Servlet 3.0 spec, web fragments like OmniFaces need to live inside WEB-INF/lib path. See also: * https://stackoverflow.com/questions/30535024 * http://showcase.omnifaces.org/#installation ``` OmniFaces is designed as a WAR library (web fragment library) and therefore can’t be placed elsewhere in the webapp’s runtime classpath outside WAR’s own /WEB-INF/lib, such as EAR’s /lib or even server’s or JRE’s own /lib. When OmniFaces JAR file is misplaced this way, then the webapp will be unable to find OmniFaces-bundled JSF/CDI annotated classes and throw exceptions related to this during deploy or runtime. ``` Developing a solution to include only some dependencies seems possible, but not easy to achieve or maintenance free... :-( This leads to a bigger layer in the Docker image, as the nice split cannot be made anymore. Thus pushes and pulls to and from a registry will be huger than necessary.
- Loading branch information
1 parent
adf1c9f
commit 43ccd30
Showing
2 changed files
with
9 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters