[ http://jira.codehaus.org/browse/MNG-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130694#action_130694 ]
Barend Garvelink commented on MNG-3374: --------------------------------------- I think this is an important improvement. Maven's filtering support is rather limited at the moment (compared to ant) and a centralized component would make it a lot easier to gain some ground. Some of the features I'd (eventually) like to say: * Don't constrain placeholders to {{${..}}} syntax, it's a good default but you need to allow any literal to solve some edge cases, for instance, to filter a property where the unfiltered value has to be meaningful, e.g. in an deployment descriptor that's also interpreted by an IDE. * To allow XPath-like expressions in the replacement value, e.g. it'd be mighty useful to allow something like {{xpath:/project/dependencies/dependency[artifactId='commons-logging']/version}} as a replacement value. > Create a common component for files filtering > --------------------------------------------- > > Key: MNG-3374 > URL: http://jira.codehaus.org/browse/MNG-3374 > Project: Maven 2 > Issue Type: Improvement > Components: Maven Resources Filtering > Affects Versions: Reviewed Pending Version Assignment > Reporter: Olivier Lamy > Assignee: Olivier Lamy > > Currently we have some duplicated code in some plugins for filtering. > This means some plugins use a different logic. > This component will a common filtering logic for all plugins. -- 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