[ 
https://issues.apache.org/jira/browse/MEAR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MEAR-84.
------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> Ability to interpolate filenamemapping using regex.
> ---------------------------------------------------
>
>                 Key: MEAR-84
>                 URL: https://issues.apache.org/jira/browse/MEAR-84
>             Project: Maven 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to