You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2012/09/19 12:17:21 UTC

[jira] (MDEP-232) Avoid version numbers in unpacked artifact directory names

    [ https://jira.codehaus.org/browse/MDEP-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309001#comment-309001 ] 

Anders Hammar commented on MDEP-232:
------------------------------------

dependency:unpack-dependencies has a stripVersion parameter.
                
> Avoid version numbers in unpacked artifact directory names
> ----------------------------------------------------------
>
>                 Key: MDEP-232
>                 URL: https://jira.codehaus.org/browse/MDEP-232
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack, unpack-dependencies
>            Reporter: Marc Rohlfs
>            Assignee: Brian Fox
>            Priority: Minor
>
> It might be easier and more convenient to (re-)use the resources, that are unpacked using the {{unpack}} or  {{unpack-dependencies}} goal, with another plugin (e.g. re-package them with the Assembly plugin), if the directory name of the unpacked artifact doesn't include the version number.
> I'd suggest 2 possible solutions:
> # Those two mojos should respect the {{stripVersion}} parameter.
> # Introduce another parameter like {{outputDirNameMapping}} or {{outputFileNameMapping}} (this might be applied to the {{copy*}} mojos, too).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira