You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/01 18:15:00 UTC

[jira] [Commented] (MASSEMBLY-617) Add a suffix element in fileSet (same as destName in file)

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

ASF GitHub Bot commented on MASSEMBLY-617:
------------------------------------------

plamentotev commented on issue #4: [MASSEMBLY-617] add ability to give a fileSuffix to a FileSet
URL: https://github.com/apache/maven-assembly-plugin/pull/4#issuecomment-401623387
 
 
   The same functionality can be achieved using `FileMapper`. It would be great if you consider implementing it using file mappers as that would solve other uses cases as well (for example [MASSEMBLY-886](https://issues.apache.org/jira/projects/MASSEMBLY/issues/MASSEMBLY-886)). For example on how to implement such functionality you can take a look here - https://www.mojohaus.org/xml-maven-plugin/examples/transform-change-extension.html

----------------------------------------------------------------
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:
users@infra.apache.org


> Add a suffix element in fileSet (same as destName in file)
> ----------------------------------------------------------
>
>                 Key: MASSEMBLY-617
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-617
>             Project: Maven Assembly Plugin
>          Issue Type: Wish
>    Affects Versions: 2.3
>            Reporter: thomas collignon
>            Priority: Minor
>
> The purpose of the wish is to add a "fileSuffix" attribute in fileSet descriptor. This will add a suffix in all files in the fileSet.
> Exemple : 
> test.xml with TOTO suffix => testTOTO.xml (in the zip)
> This is the same as destName in file descriptor but this is for all the files in the fileSet.
> I think this need to modify this jars too : 
> - plexus-io
> - plexus-archiver
> I have already made all of this modification and if you want the source code, I can give you.
> Regards



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