This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-resources-plugin.git
commit f2e7244e2b897668bf3e0e14a3187f1c6167f08e Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 5 14:24:16 2026 +0000 Assert the unfiltered ${test.value} line in MRESOURCES-105 --- src/it/MRESOURCES-105/verify.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/it/MRESOURCES-105/verify.groovy b/src/it/MRESOURCES-105/verify.groovy index 7b84fe7..e1f5a3c 100644 --- a/src/it/MRESOURCES-105/verify.groovy +++ b/src/it/MRESOURCES-105/verify.groovy @@ -23,5 +23,6 @@ def lines = new File(basedir, 'target/classes/test.properties').readLines() assert lines.contains('#init test value (true|false) LINE IS essential for this bug report.#') // $toto.value$ is replaced assert lines.contains('toto.value=foo') -// #test.value# and @test.value@ are replaced -assert lines.findAll { it.startsWith('test.value=') }.take(2) == ['test.value=true', 'test.value=true'] +// #test.value# and @test.value@ are replaced; ${test.value} is not, because the $ delimiter takes its +// opening $ and finds no closing $ on the line (#572) +assert lines.findAll { it.startsWith('test.value=') } == ['test.value=true', 'test.value=true', 'test.value=${test.value}']
