[ 
https://issues.apache.org/jira/browse/MDEP-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628657#comment-16628657
 ] 

ASF GitHub Bot commented on MDEP-628:
-------------------------------------

mkarg opened a new pull request #5: [MDEP-628] Parameter `fileMappers` for 
unpack path rewriting
URL: https://github.com/apache/maven-dependency-plugin/pull/5
 
 
   Solving [MDEP-628](https://issues.apache.org/jira/browse/MDEP-628).
   
   The new parameter `fileMappers` (default: `null`) can be set to an 
implementation of the 
`org.codehaus.plexus.components.io.filemappers.FileMapper` interface to rewrite 
the target path of each unpacked file.
   
   This is useful in case prefixes of target files names within the target 
directory shall be added (using `PrefixFileMapper`), changed or omitted (using 
`RegExpFileMapper`).
   
   **This PR is dependent of [PR 
#100](https://github.com/codehaus-plexus/plexus-archiver/pull/100) of *Plexus 
Archiver*.**

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Unpacking File Mappers
> ----------------------
>
>                 Key: MDEP-628
>                 URL: https://issues.apache.org/jira/browse/MDEP-628
>             Project: Maven Dependency Plugin
>          Issue Type: New Feature
>          Components: unpack, unpack-dependencies
>    Affects Versions: 3.1.1
>            Reporter: Markus Karg
>            Priority: Major
>              Labels: FileMapper, Mapping, Path
>
> The new parameter {{fileMappers}} (default: {{null}}) can be set to an 
> implementation of the 
> {{org.codehaus.plexus.components.io.filemappers.FileMapper}} interface to 
> rewrite the target path of each unpacked file.
> This is useful in case prefixes of target files names within the target 
> directory shall be added (using {{PrefixFileMapper}}), changed or omitted 
> (using {{RegExpFileMapper}}).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to