build and upload java artifacts to artifactory