Nexus pull using jenkinsfile

I am able to push the artifacts (snapshot or release) to Nexus using Jenkisfile.

Please help me on these :

  1. How to download/pull the latest version of artifact from Nexus using jenkinsfile
    Without using hard coded nexus url
    2.Do we have any maven goal for this activity so that we can consume directly in Jenkinsfile

Thanks in advance

In the maven-snapshots , i have multiple jar. Out of these jar, i want to download test-0.0.1-snapshot.aws.jar.

Thanks