/go-nexus-client

Nexus Client library written in Golang

Primary LanguageGoMozilla Public License 2.0MPL-2.0

Golang Nexus Client

Introduction

Sonatype Nexus Golang Client

Development and testing

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

Author

Datadrivers GmbH