the build.sh script fails on Mac OS X:
$ ./build.sh clean install
Maven already exists
Maven is correct version
./build.sh: line 107: ulimit: open files: cannot modify limit: Invalid argument
The ulimit error was already present before but since
WFLY-4305, the build.sh script will exit after this error instead of continuing.