-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: ZZZ: Legacy - Support
-
Labels:None
The liferay-faces-init.jar module enables zero-config registration of the Mojarra com.sun.faces.config.ConfigureListener or the MyFaces org.apache.myfaces.webapp.StartupServletContextListener. This would be necessary when the servlet container does not have the ability to discover these servlet context listeners via TLD scanning and the developer does not want to specify them as listeners in the WEB-INF/web.xml descriptor.
According to the Liferay Faces Wiki article titled Deploying JSF Portlets on Jetty, the liferay-faces-init.jar dependency is only necessary on Jetty when Mojarra is specified in the WEB-INF/lib folder of the portlet's webapp context.
Since the liferay-faces-init.jar module has not required any maintenance since it was created and older versions like liferay-faces-init-3.2.4-ga5.jar are available at Maven Central, this module can be removed from the source tree.