You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Pedro De Almeida (JIRA)" <ji...@codehaus.org> on 2009/11/06 12:11:55 UTC

[jira] Commented: (MRESOURCES-112) Default delimiters break filtering

    [ http://jira.codehaus.org/browse/MRESOURCES-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197467#action_197467 ] 

Pedro De Almeida commented on MRESOURCES-112:
---------------------------------------------

Don't care about 'mycompany.com' and 'myorganization.com', it's only static text that I changed during my tests...

> Default delimiters break filtering
> ----------------------------------
>
>                 Key: MRESOURCES-112
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-112
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>         Environment: Maven 2.2.1
> Windows XP
>            Reporter: Pedro De Almeida
>
> As I upgraded the maven-resources-plugin to version 2.4.1 (version 2.3 has a major issue concerning windows paths, see [http://jira.codehaus.org/browse/MRESOURCES-81]), I'm facing another problem with default filtering delimiters.
> If one of the resources contains a delimiter character that is not part of an expandable expression, then all of the following expandable expressions after the character will not be processed.
> You can reproduce this using a resource property file that contains the default '@' character delimiter:
> {code:title=src/main/resources/test.properties|borderStyle=solid}
> Contact: ${pom.name}@mycompany.com
> URL: ${pom.url}
> Version: ${pom.version}
> {code}
> Processing the project resources with Maven will produce:
> {code:title=target/classes/test.properties|borderStyle=solid}
> Contact: myapp@myorganization.com
> URL: ${pom.url}
> Version: ${pom.version}
> {code}
> If the '@' delimiter character is removed, then it produces a correct output:
> {code:title=target/classes/test.properties|borderStyle=solid}
> Contact: myappmycompany.com
> URL: http://maven.apache.org
> Version: 1.0
> {code}
> I tried to configure the plugin but it seems that I'm not able to redefine/disable/remove the default delimiters.
> This bug was not present in version 2.3 but, as said before, this version has know bugs with windows paths (even if I hope that in future releases, my application will no more reference windows paths...).
> Thanks for your support!

-- 
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