[ http://jira.codehaus.org/browse/MEAR-42?page=all ]
Stephane Nicoll closed MEAR-42.
-------------------------------
Resolution: Fixed
This is fixed, simply specify the fileNameMapping you wanna use.
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<fileNameMapping>full</fileNameMapping>
</configuration>
</plugin>
{code}
> Ability to handle file name clashes with artifacts with the same id and
> different group ids
> -------------------------------------------------------------------------------------------
>
> Key: MEAR-42
> URL: http://jira.codehaus.org/browse/MEAR-42
> Project: Maven 2.x Ear Plugin
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Jonas Olsson
> Assigned To: Stephane Nicoll
> Priority: Minor
> Fix For: 2.3
>
>
> When adding dependencies to the EAR, the "brief" filename from the repository
> is used (i.e. <artifactId>-<version>.jar).
> I some cases this will result in a name collision, required to be manually
> resolved with bundleFilename, but wouldn't an option to use the "full"
> filename (i.e. <groupId>-<artifactId>-<version>.jar) be better, allowing
> automatic re-use of the already established namespace?
--
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