You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kenney Westerhof (JIRA)" <ji...@codehaus.org> on 2005/04/14 14:00:31 UTC

[jira] Updated: (MNG-178) filter definition

     [ http://jira.codehaus.org/browse/MNG-178?page=history ]

Kenney Westerhof updated MNG-178:
---------------------------------

    Attachment: MNG-178-update.tgz

Added a replacement maven-resources-plugin that does filtering on copying resources.
Currently it tries to load build.properties from the #basedir, and if present
uses the contents as filter key/value pairs (resolving keys in the values too).
It supports @tokens@ and ${tokens}.

Suggested modifications: add a <filtering>true</filtering> tag to the <resources/> tag,
so it can be read by this plugin to determine wheter to filter or not.
And ofcourse support for more property file locations (profiles, as Brett suggested).

I thought this would be a good starting point for that.

Sorry I didn't include a patch but the replacement files..

> filter definition
> -----------------
>
>          Key: MNG-178
>          URL: http://jira.codehaus.org/browse/MNG-178
>      Project: m2
>         Type: Improvement
>     Reporter: Brett Porter
>  Attachments: MNG-178-update.tgz
>
>
> we need to be able to define filters for resources. It should be configurable by different profiles, and include properties files as well as individual property files.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org