title: For hosted repos: No versions could be resolved for groupid.artifactid
body: <p>I have a hosted nexus repo. Am using repository connector to download the artifact from nexus. Here I face "No versions could be resolved for groupid.artifactid" in maven repository artifact step.</p>
  
  <p>I did followed <a href="https://stackoverflow.com/questions/34541331/no-versions-could-be-resolved-for-groupid-artifactid">No versions could be resolved for groupid.artifactid</a> and updated maven-metadata still I face the same issue.</p>
  
  <p>My pom file <a href="https://i.stack.imgur.com/2WFFV.png" rel="nofollow noreferrer">pom</a></p>
  
  <p>Exception in jenkins <a href="https://i.stack.imgur.com/UjcBO.png" rel="nofollow noreferrer">No versions resolved from nexus- in jenkins</a></p>
  
  <p>Note: This is an ant built project. For the sake of artifact resolver I have created the pom. In order to avoid the pom file missing warnings.</p>
  
  <p>Any suggestions would be appreciated.
  Thanks In Advance</p>