Taglib inside Maven dependency jar. How do I configure this taglib inside the web.xml?
So I used to configure my taglib like that: <jsp-config> <taglib> <taglib-uri>myTags</taglib-uri> <taglib-location>/WEB-INF/lib/mylib-2.0.1.jar</taglib-location> </taglib> </jsp-config> But now mylib-2.0.1.jar is a maven dependency, so of course it is NOT on /WEB-INF/lib. How do I do to configure my taglib so I can do that in my JSPs: <%@ taglib uri="myTags" prefix="mt" %> EDIT1: To clafiry, the taglib.tld is inside the META-INF inside the jar so you can access the tld by referencing the jar itself. That's a convenient way to distribute your taglib along with the web application framework jar.