Changed the build script. Need to clear the dist dir before creating jar.
Prevents clogging up the jenkins workspace.