maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (MASSEMBLY-617) Add a suffix element in fileSet (same as destName in file)
Date Mon, 02 Jul 2018 05:08:00 GMT


ASF GitHub Bot commented on MASSEMBLY-617:

plamentotev commented on issue #4: [MASSEMBLY-617] add ability to give a fileSuffix to a FileSet
   No. `InputStreamTransformer` modifies the content of the file (like changing the line ending).
`FileMapper` changes the file name based on some logic (so it is actually a file name mapper).
You need to make a similar change to one already did. But instead of String you need to configure
an array of [``](
And after that you need to propagate the array to `AbstractPlexusIoResourceCollection`. I
don't think `BaseFileSet` accepts `FileMapper[]` so I think you need to change it as well.
   Hope this helps.

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:

> Add a suffix element in fileSet (same as destName in file)
> ----------------------------------------------------------
>                 Key: MASSEMBLY-617
>                 URL:
>             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
> 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
> Regards

This message was sent by Atlassian JIRA

View raw message