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 2010/09/05 20:23:34 UTC
[jira] Closed: (MEAR-98) Add an implementation of FileNameMapping
that allows to remove version of artefact in the ear.
[ http://jira.codehaus.org/browse/MEAR-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MEAR-98.
-------------------------------
Resolution: Fixed
Used your patch, thanks. Also added a "no-version" entry in the mapping registry so that you can do something like:
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<fileNameMapping>no-version</fileNameMapping>
</configuration>
</plugin>
{code}
> Add an implementation of FileNameMapping that allows to remove version of artefact in the ear.
> ----------------------------------------------------------------------------------------------
>
> Key: MEAR-98
> URL: http://jira.codehaus.org/browse/MEAR-98
> Project: Maven 2.x Ear Plugin
> Issue Type: Improvement
> Affects Versions: 2.3.1
> Environment: Any
> Reporter: Benjamin LERMAN
> Assignee: Stephane Nicoll
> Fix For: 2.4.3
>
> Attachments: 02-patch-simplified-name-mapping.patch, 02-patch-simplified-name-mapping.patch
>
>
> Right now there is 2 implementations of FileNameMapping, one that bundle artifact in the form ${artifactId}{$dashClassifider?}-${version}.${type} and one in the form ${groupId}-${artifactId}{$dashClassifider?}-${version}.${type}. This add a new FileNameMapping that bundle artifact in the form ${artifactId}{$dashClassifider?}.${type} (it removes the version information).
--
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