rewrite setup script

4 jobs for weigl-sync in 1 minute and 40 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Setup
passed #22277
setup

00:00:37

 
  Build
failed #22278
build

00:01:03

 
  Test
skipped #22279
test
 
  Deploy
skipped #22280
allowed to fail
deploy
 
Name Stage Failure
failed
build Build There is an unknown failure, please try again
51412 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
51412 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
51412 [ERROR]
51412 [ERROR] For more information about the errors and possible solutions, please read the following articles:
51412 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
51412 [ERROR]
51412 [ERROR] After correcting the problems, you can resume the build with the command
51413 [ERROR] mvn <goals> -rf :ui
ERROR: Job failed: exit code 1