maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Heß (JIRA) <>
Subject [jira] Commented: (MASSEMBLY-312) outputFileNameMapping not respected when the unpack=true
Date Mon, 26 May 2008 10:14:21 GMT


Michael Heß commented on MASSEMBLY-312:

We have this issue as well.

Calvin, our current workaround is to just use outputDirectory, e.g. for the example given
above, we would use:


and leave out the outputFileNameMapping . Maybe this helps in your case as well.

> outputFileNameMapping not respected when the unpack=true
> --------------------------------------------------------
>                 Key: MASSEMBLY-312
>                 URL:
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>            Reporter: Calvin Yu
> If I configure a dependencySet to unpack = true, the outputFileNameMapping is not respected,
and instead the artifact is decompressed into the output directory.  Looking at the code,
this looks like it'll affect moduleSets as well.
> For example:
> <dependencySet>
>     <outputDirectory>some_directory</outputDirectory>
>     <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
>     <unpack>true</unpack>
> </dependencySet>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message