You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2009/01/03 10:54:20 UTC
[jira] Closed: (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:all-tabpanel ]
Stephane Nicoll closed MEAR-43.
-------------------------------
Resolution: Fixed
Fixed based on the patch provided by Martin Buechler.
A few extra features have been added, have a look to the samples for more information (http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/test/resources/projects/).
The doc has been updated as well (http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/site/apt/examples/)
It's not perfect (no includes/excludes) but you can exclude content based on the extension (typically binary files). I think the configuration is becoming increasingly complex so I may consider breaking it in 2.4
> 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: Critical
> 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