tarball build with assembly:single command fails with user id(mac) or group id(ubuntu) too big error:
$ mvn clean install package assembly:single -DskipTests
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (default-cli) on project hbase-assembly: Execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single failed: user id 'xxxxxxxx' is too big ( > 2097151 ). -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http:
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hbase-assembly
To avoid this error and to get better features for tarball build, we should upgrade tarLongFileMode from gnu to posix:
This works for assembly plugin >= 2.5.0: