You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ruzicka Cestmir (JIRA)" <ji...@codehaus.org> on 2008/08/04 13:21:26 UTC
[jira] Updated: (MEAR-84) Ability to interpolate filenamemapping
using regex.
[ http://jira.codehaus.org/browse/MEAR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruzicka Cestmir updated MEAR-84:
--------------------------------
Attachment: maven-ear-plugin.patch
${... expresion is replaced while reading pom.xml
expression for mapping changed to @{...}@ (see maven-war-plugin)
Tested and works OK
> Ability to interpolate filenamemapping using regex.
> ---------------------------------------------------
>
> Key: MEAR-84
> URL: http://jira.codehaus.org/browse/MEAR-84
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Tuomas Kiviaho
> Priority: Minor
> Attachments: maven-ear-plugin.patch, regex.patch
>
>
> I was trying to have an impact how artifact files would be mapped based on previous knowledge about assembly plugin but noticed that there's a fundamental difference in implementations.
> Both the 'stardard' and 'full' file name mapping of ear plugin could have been implemented using org.codehaus.plexus.util.interpolation.RegexBasedInterpolator quite identically to org.apache.maven.plugin.assembly.utils.AssemblyFormatUtils.evaluateFileNameMapping used in assembly plugin. The class name based pluggability is only available at EAR side.
> Regular expressions of the interpolator have a distinctive pattern separating them from classes and predefined mappings making it backwards compatible to extend the FileNameMappingFactory to match regular expressions.
--
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