android-leha / go-nexus-client

Nexus Client library written in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Nexus Client library written in Golang

License:Mozilla Public License 2.0


Languages

Language:Go 98.2%Language:Shell 1.6%Language:Makefile 0.2%