Trying to resolve dependency problem in Jenkins build