Fixing issue with assembly plugin installing wrong artefact.
Also replacing deprecated goal and updating to latest stable version.