Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.2.1
-
Component/s: None
-
Labels:None
-
Environment:Hidemvn -v
Apache Maven 2.2.1 (rNON-CANONICAL_2010-08-13_17-44_abuild; 2010-08-13 19:44:44+0200)
Java version: 1.6.0_22
Java home: /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux" version: "2.6.34.7-0.7-desktop" arch: "amd64" Family: "unix"
Showmvn -v Apache Maven 2.2.1 (rNON-CANONICAL_2010-08-13_17-44_abuild; 2010-08-13 19:44:44+0200) Java version: 1.6.0_22 Java home: /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "linux" version: "2.6.34.7-0.7-desktop" arch: "amd64" Family: "unix"
-
Testcase included:yes
-
Number of attachments :
Description
Files containing the '@' sign as eg within e-mail URLs are only filtered up to the occurrence of this sign.
To check this, unpack the attached ZIP, cd into the created directory 'filter-test-01' and run
mvn assembly:single
The created target/filter-test-1.0-filtertest.zip contains a README, which has only the first occurrence of $
{project.artifactId}replaced, but not the second one.
Issue Links
- depends upon
-
MSHARED-176
Add support of stopping at the end of line to prevent issue with endToken not found
-
- is duplicated by
-
MASSEMBLY-525
Ant Tokens can now be multi-line when filtering - regression from 2.2-beta-5
-
I noticed this with .bat files. Since $
{var}and @var@ both work, I think it has to do with the pattern matching. This should be a higher severity level.
<file-doesn't work>
{cmd} ${args}@echo off
$
<file-workaround>
@echo off
rem @ (matching 'at')
${cmd}
$
{args}