Set SHIP Nexus credentials to your environment to download artifacts from SHIP Nexus code example
Example: api to access nexus repository manager
curl -u admin:admin123 -X GET 'http://localhost:8081/service/rest/v1/search?repository=maven-central&group=org.osgi'