Further work on build file to support artifactory