You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Buechler (JIRA)" <ji...@codehaus.org> on 2008/08/03 23:49:27 UTC

[jira] Commented: (MEAR-43) add ability to do filtering (i.e. template var replacement) for files in src/main/application/

    [ http://jira.codehaus.org/browse/MEAR-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144003#action_144003 ] 

Martin Buechler commented on MEAR-43:
-------------------------------------

Today maven-filtering left the sandbox(http://svn.apache.org/repos/asf/maven/shared/trunk/maven-filtering), and I would suggest to take a decision on this issue.  I really wish to get its priority increased, since the lack of filtering makes the ear plugin quite useless for serious configuration management. Ok, just an opinion ;) 
The submitted patch stopped working whith version 678595, because maven-filtering switched to 'plexus-interpolation', whatever this means, but they deleted ReflectionProperties.java, which  my patch imports. But anyway, to keep this functionality going until its gets hopefuly included to the MEAR trunk, I updated the patch, but do not want to submit it, until the future direction of this issue gets clearer.
Stephane suggested to use the resources plugin. Any news on that approach?



> add ability to do filtering (i.e. template var replacement) for files in src/main/application/
> ----------------------------------------------------------------------------------------------
>
>                 Key: MEAR-43
>                 URL: http://jira.codehaus.org/browse/MEAR-43
>             Project: Maven 2.x Ear Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.2
>            Reporter: Ian Springer
>            Assignee: Stephane Nicoll
>            Priority: Minor
>             Fix For: 2.3.2
>
>         Attachments: maven-ear-plugin-2.3.2-SNAPSHOT_sourceFilter.patch
>
>
> I need to do some template var replacements in files in src/main/application/. It would be great if the ear plugin could provide a filtering configuration in a similar manner to the war plugin. That is, something along the lines of:
> <configuration>
>   ...
>   <!-- enable filtering -->
>   <filtering>true</filtering>
> </configuration>

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