Daniel Einspanjer created NIFI-269:
--------------------------------------

             Summary: Unable to build on Mac OSX
                 Key: NIFI-269
                 URL: https://issues.apache.org/jira/browse/NIFI-269
             Project: Apache NiFi
          Issue Type: Bug
          Components: Tools and Build
    Affects Versions: 0.0.1
            Reporter: Daniel Einspanjer
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to