maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MRESOURCES-70) Filter does not process nested ${} variables
Date Sun, 06 Sep 2015 20:51:56 GMT

     [ https://issues.apache.org/jira/browse/MRESOURCES-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov closed MRESOURCES-70.
------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> Filter does not process nested ${} variables
> --------------------------------------------
>
>                 Key: MRESOURCES-70
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-70
>             Project: Maven Resources Plugin
>          Issue Type: New Feature
>          Components: delimiters
>    Affects Versions: 2.2
>            Reporter: Matt Steele
>         Attachments: MRESOURCES-70.zip
>
>
> When I try filtering this under src/main/resources:
> jms.username=${${env}.jms.username}
> with this filtering strategy:
>   	<resources>
>   		<resource>
>   			<directory>src/main/resources</directory>
>   			<filtering>true</filtering>
>   		</resource>
>   	</resources>
> Setting the property (from command line, <property>, etc.) fails to properly filter
the nested element:
> jms.username=${${env}.jms.username} 
> For example, I'd like the filter to convert to this (using a property of -Denv=dev):
> jms.username=${dev.jms.username} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message