Gets the specific version string of a snapshot of the desired version of the artifact

       nexus_url
           URL of nexus instance
       repository
           Snapshot repository in nexus to retrieve artifact from, for example: libs-snapshots
       group_id
           Group Id of the artifact
       artifact_id
           Artifact Id of the artifact
       packaging
           Packaging type (jar,war,ear,etc)
       version
           Version of the artifact
       classifier
           Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
       username
           nexus username. Optional parameter.
       password
           nexus password. Optional parameter.

def get_snapshot_version_string(nexus_url, repository, group_id, artifact_id, packaging, version, classifier=None, username=None, password=None):
    '''
       Gets the specific version string of a snapshot of the desired version of the artifact

       nexus_url
           URL of nexus instance
       repository
           Snapshot repository in nexus to retrieve artifact from, for example: libs-snapshots
       group_id
           Group Id of the artifact
       artifact_id
           Artifact Id of the artifact
       packaging
           Packaging type (jar,war,ear,etc)
       version
           Version of the artifact
       classifier
           Artifact classifier name (ex: sources,javadoc,etc). Optional parameter.
       username
           nexus username. Optional parameter.
       password
           nexus password. Optional parameter.
       '''
    log.debug('======================== MODULE FUNCTION: nexus.get_snapshot_version_string(nexus_url=%s, repository=%s, group_id=%s, artifact_id=%s, packaging=%s, version=%s, classifier=%s)',
              nexus_url, repository, group_id, artifact_id, packaging, version, classifier)
    headers = {}
    if username and password:
        headers['Authorization'] = 'Basic {0}'.format(base64.encodestring('{0}:{1}'.format(username, password)).replace('\n', ''))
    return _get_snapshot_url(nexus_url=nexus_url, repository=repository, group_id=group_id, artifact_id=artifact_id, version=version, packaging=packaging, classifier=classifier, just_get_version_string=True)