I haven't found a way to get it to, so I compensated by having the web.xml file specify the versions in the taglib-location and then the JSPs only need the actual URI. In a way, it also makes sure you have the correct dependencies.
Here's an example: <taglib> <taglib-uri>struts-tiles.tld</taglib-uri> <taglib-location>/WEB-INF/tld/struts-tiles-1.1.tld</taglib-location> </taglib> <taglib> <taglib-uri>struts-bean.tld</taglib-uri> <taglib-location>/WEB-INF/tld/struts-bean-1.1.tld</taglib-location> </taglib> Hope this helps, Chris > Hi, > > I've got a struts application described by maven, in my > dependencies I add all the struts 1.1 TLDS. When I build the > war (maven war), maven copy all the TLDs in my webapp but > it's keeping the version suffix (struts-html-1.1.tld). > > How can I tell maven to remove the version suffix in my > webapp structure (WEB_INF/tld/*) ? > > Here the declaration : > > <dependency> > <groupId>struts</groupId> > <artifactId>struts-nested</artifactId> > <version>1.1</version> > <type>tld</type> > <properties> > <war.bundle>true</war.bundle> > </properties> > </dependency> > > Thx, > -emmanuel > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]