Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 2.4
-
Fix Version/s: None
-
Component/s: filtering
-
Labels:None
-
Environment:Linux (CentOS) 2.6.18-164.el5
-
Number of attachments :
Description
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.
Issue Links
| This issue duplicates: | ||||
| MRESOURCES-104 | while filtering resources the token replacement stops at the character @ |
|
|
|
| This issue is related to: | ||||
| MRESOURCES-112 | Default delimiters break filtering |
|
|
|
| This issue depends upon: | ||||
| PLXCOMP-150 | [plexus-interpolator] interpolator functions don't support if delimiter is used for something else (like @ in an email) |
|
|
|
I meant to specify version 2.3 (not 1.3) of the resources plugin worked.