I have a Maven project, where under src/main directory there is a sub dir called output. this folder needs to be packaged into tar.gz. when using the assembly plugin as follows:
Try setting outputDirectory in the fileSet. That should remove the src/main/output directories.
outputDirectory
src/main/output .
You may also need to set includeBaseDirectory to false. That would remove the name directory.
bundle false