Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.0.1
-
None
Description
I was attempting to build the latest NiFi from the develop branch on my Mac and received the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.2:single (make shared resource) on project nifi: Execution make shared resource of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.2:single failed: user id '748104463' is too big ( > 2097151 ) -> [Help 1]
After a bit of research I found that this error can happen frequently on Macs and can be prevented by setting assembly.tarLongFileMode to posix rather than gnu.
I adjusted my pom.xml as described and the build worked fine. Might be worth one of the devs taking a look and determining if it has any detrimental effects.
See also an issue I found in the Phoenix project describing the same thing: PHOENIX-1503