[ http://jira.codehaus.org/browse/MRESOURCES-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MRESOURCES-117: --------------------------------------- Component/s: filtering > maven-resources-plugin 2.4+ filtering broken > -------------------------------------------- > > Key: MRESOURCES-117 > URL: http://jira.codehaus.org/browse/MRESOURCES-117 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Components: filtering > Affects Versions: 2.4 > Environment: Linux (CentOS) 2.6.18-164.el5 > Reporter: Sheldon Daigle > Priority: Critical > > Using maven-resources-plugin version 2.4 or newer, fails to filter some > files. This was a nasty one to find because it only affects certain files. If > you create a file to be filtered with the following lines: > <%@ taglib prefix="NAME1" uri="http://www.sun.com/tags2" %> > <%@ taglib prefix="NAME2" uri="http://www.sun.com/tags" %> > <%@ taglib prefix="NAME3" uri="http://www.sun.com/test/tags" %> > ${taglibFnInclude} > and define the taglibFnInclude property to some value, e.g: > <taglibFnInclude>MY-STRING</taglibFnInclude> > a "mvn resources:resources" build will will not filer the file. If you add > another line above the property value or delete a line, the file gets > filtered properly. E.g, the following work: > <%@ taglib prefix="NAME1" uri="http://www.sun.com/line1" %> > <%@ taglib prefix="NAME2" uri="http://www.sun.com/line2" %> > <%@ taglib prefix="NAME3" uri="http://www.sun.com/line3/tags" %> > <%@ taglib prefix="NAME4" uri="http://www.sun.com/line4/tags" %> > ${taglibFnInclude} > AND > <%@ taglib prefix="NAME1" uri="http://www.sun.com/line1" %> > <%@ taglib prefix="NAME2" uri="http://www.sun.com/line2" %> > ${taglibFnInclude} > If I go back to version 1.3 of this plugin, everything works as it should. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira