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] [Commented] (MRESOURCES-22) Being able to filter resources based on solely the filter files ?
Date Mon, 07 Sep 2015 04:47:45 GMT

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

Grégory Joseph commented on MRESOURCES-22:
------------------------------------------

After looking into the current sources of the plugin, I can't even find evidence that system
properties are still used for interpolation. I also can't find trace of a project where this
was actually a problem for me, so I'll leave it at that. Thanks

> 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