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/04/05 12:01:58 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=129878#action_129878 ] 

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

The maven-ear-plugin-2.3.2-SNAPSHOT includes datasources into jboss-app.xml. Thats great, but without the ability to filter a template DS file in src/main/application there is no chance to configure another datassource target, than the one that has to be hardcoded into src/main/application/whatever-ds.xml. But Database-Connection Parameters usually differ in local, development, integration, staging and live environments. 
I herebey vote for filtering capabilities of the ear plugin.

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