seppinho / haplogrep-cmd

HaploGrep - mtDNA haplogroup classification. Supporting rCRS and RSRS.
https://haplogrep.i-med.ac.at/
MIT License
74 stars 23 forks source link

Bug: Fails to build when user ID is too big. Add tarLongFileMode to pom.xml #38

Closed david-ma closed 3 years ago

david-ma commented 3 years ago

There is an error for macOS users who build this project and have very long user ids (in my case due to my work assigned user id)

I get an error like this: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single (create-assembly) on project haplogrep: Execution create-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single failed: user id '1704299068' is too big ( > 2097151 ). -> [Help 1]

This can be fixed by adding one line to the pom.xml: posix

See this stack overflow for an explanation of why this works: https://stackoverflow.com/a/46698905

I've forked and will create a pull request. Thanks!

seppinho commented 3 years ago

Thank you so much for the pull request!