You can do this w/o adding the dependency. JSF allows any jar file to contain a faces-config.xml file. You can place this inside your jar file at META-INF/faces-config.xml. You can look at jsftemplating.jar file for an example of how this is done.I did not know this. I think this should be enough if it works and I would not need the code change to the constant handler.