[ http://jira.codehaus.org/browse/MEAR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130886#action_130886 ]
Mads P. commented on MEAR-84: ----------------------------- This would be a nice feature. I would like to package my EAR with bundles that do not have any version numbers in them. > 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: 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