maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grégory Joseph (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (MRESOURCES-22) Being able to filter resources based on solely the filter files ?
Date Mon, 07 Sep 2015 04:46:46 GMT

    [ https://issues.apache.org/jira/browse/MRESOURCES-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14446317#comment-14446317
] 

Grégory Joseph edited comment on MRESOURCES-22 at 9/7/15 4:46 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;)_
_edit2: I was able to edit the issue now_


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

_edit: and if I could edit the issue myself, I would;)_

> Being able to filter resources based on solely the filter files ?
> -----------------------------------------------------------------
>
>                 Key: MRESOURCES-22
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-22
>             Project: Maven Resources Plugin
>          Issue Type: Improvement
>            Reporter: Grégory Joseph
>            Assignee: Olivier Lamy (*$^¨%`£)
>
> 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>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message