maven-issues mailing list archives

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

    [ http://jira.codehaus.org/browse/MASSEMBLY-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136151#action_136151
] 

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:

<outputDirectory>some_directory/${artifact.artifactId}.${artifact.extension}</outputDirectory>

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



> outputFileNameMapping not respected when the unpack=true
> --------------------------------------------------------
>
>                 Key: MASSEMBLY-312
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-312
>             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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message