[
https://jira.codehaus.org/browse/MRESOURCES-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302710#comment-302710
]
Grégory Joseph edited comment on MRESOURCES-22 at 7/4/12 6:04 AM:
------------------------------------------------------------------
Sorry to reopen, but there's a misunderstanding, due to me forgetting a word in
the original description.
{quote}I'd like to be able to switch the interpolation of pom and system
properties, so that the filtering uses only the properties in <filters>{quote}
... should have read ...
{quote}I'd like to be able to switch *<off>* the interpolation of pom and
system properties, so that the filtering uses only the properties in
<filters>{quote}
It is thus not about changing the order of these, but completely disabling
*both* of them, "so that the filtering uses *only* the properties in <filters>".
_edit: and if I could edit the issue myself, I would;)_
was (Author: gjoseph):
Sorry to reopen, but there's a misunderstanding, due to me forgetting a
word in the original description.
{quote}I'd like to be able to switch the interpolation of pom and system
properties, so that the filtering uses only the properties in
<filters>â¨{quote}
⦠should have read ...
{quote}I'd like to be able to switch *<off>* the interpolation of pom and
system properties, so that the filtering uses only the properties in
<filters>â¨{quote}
It is thus not about changing the order of these, but completely disabling
*both* of them, "so that the filtering uses *only* the properties in
<filters>â¨"
> Being able to filter resources based on solely the filter files ?
> -----------------------------------------------------------------
>
> Key: MRESOURCES-22
> URL: https://jira.codehaus.org/browse/MRESOURCES-22
> Project: Maven 2.x Resources Plugin
> Issue Type: Improvement
> Reporter: Grégory Joseph
> Assignee: Olivier Lamy
>
> I'd like to be able to switch the interpolation of pom and system properties,
> so that the filtering uses only the properties in <filters>
> Specifically, I think it comes down to enable/disabling lines 198-202 in
> ResourcesMojo
> // System properties
> filterProperties.putAll( System.getProperties() );
>
> // Project properties
> filterProperties.putAll( project.getProperties() );
>
> Alternatively, being able to specify the token delimiters to use could also
> make my day. (lines 255/258 still in ResourcesMojo)
> WDYT?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira