[
http://jira.codehaus.org/browse/MRESOURCES-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251628#action_251628
]
Rémy Sanlaville commented on MRESOURCES-134:
--------------------------------------------
The [escapeString
parameter|http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html]
seems to have default value
{noformat}Expression preceded with the String won't be interpolated \${foo}
will be replaced with ${foo}.
Default value is: ${maven.resources.escapeString}.
{noformat}
Also I don't understand why I have to configure the plugin if I don't need any
escapeString. If I remove this configuration, it does not work...
{code:title=pom.xml|borderStyle=solid}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5-SNAPSHOT</version>
<configuration>
<escapeString>§</escapeString>
</configuration>
</plugin>
{code}
> EspaceString doesn't work
> -------------------------
>
> Key: MRESOURCES-134
> URL: http://jira.codehaus.org/browse/MRESOURCES-134
> Project: Maven 2.x Resources Plugin
> Issue Type: Bug
> Components: escape string
> Affects Versions: 2.5
> Environment: maven 2.2.1
> Reporter: Rémy Sanlaville
> Assignee: Olivier Lamy
> Attachments: maven-resources-plugin-EscapeString.zip
>
>
> if I configure the maven-resource-plugin in order to escape a delimiter in a
> comment, the escapeString is not removed in the target.
> {code:title=src/main/resources/properties/test.properties|borderStyle=solid}
> #%comment to espace:§@toto
> question=@message@
> {code}
> {code:title=pom.xml|borderStyle=solid}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-resources-plugin</artifactId>
> <version>2.5-SNAPSHOT</version>
> <configuration>
> <escapeString>§</escapeString>
> </configuration>
> </plugin>
> {code}
> {code:title=target/classes/properties/test.properties|borderStyle=solid}
> #%comment to espace:§@toto
> question=A nice message...
> {code}
--
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