JSF WABs using tag libraries from other bundles do not currently work out of the box.
See e.g. WarJSFPrimefacesIntegrationTest.
(The test misleadingly passes, but in fact it only checks that <panelGrid> gets rendered verbatim instead of being processed by PrimeFaces.)
In particular, the following JSF 2.1 and Servlet 3.0 requirements do not work at the moment:
Discovery of the ServletContainerInitializer of the JSF implementation
Discovery of META-INF/faces-config.xml of the taglib bundle
Discovery of META-INF/*.taglib.xml of the taglib bundle.
Loading static resources from META-INF/resources/ of the taglib bundle.
yeah, call me "old-school" though a std. JSP without JSF extras does work and the taglib "crawler" which scans through all connected bundles does provide them.
This did work for and to my knowledge it still does.
Does your test work with the 4.0.0-SNAPSHOT ( branch)?
fix for trunk
Date: 2013-10-29 (Tue, 29 Oct 2013)
Date: 2013-11-01 (Fri, 01 Nov 2013)
Merged the branch to master and 3.0.x
Note that the OSGi/WAB spec is quite clear and I think the current pax-web implementation does not follow the spec.
It seems to me that the spec, paragraph 128.3.7 says that TLDs can only discovered in the bundle class space, so scanning all transitively wired bundles for tld seems wrong (though I fully understand the idea beneath).