Sonatype Nexus Golang Client
Start a Nexus Docker container
$ docker run -d -p 8081:8081 --name nexus sonatype/nexus3
Get the Admin password
$ docker exec -ti nexus /bin/bash -c 'cat /nexus-data/admin.password'
Set config as environment variables
$ export NEXUS_URL=http://127.0.0.1:8081
$ export NEXUS_USERNAME=admin
$ export NEXUS_PASSWORD=<random-password-from-above>
Run tests
$ make test