Skip to content

datadrivers/go-nexus-client

Repository files navigation

Golang Nexus Client

codeql workflow Contributor Covenant Go Report Card

Introduction

Sonatype Nexus Golang Client

Implemented and tested with Sonatype Nexus 3.72.0 with java17 and DB H2.

Development and testing

NOTE: For testing Nexus Pro features, place the license.lic in scripts/.

For testing start a local Docker containers using make

make start-services

This will start a Docker and MinIO containers and expose ports 8081 and 9000.

Now start the tests

$ make test

The tests assume Nexus Pro features. If you do not have a Nexus Pro license you can skip the pro tests by setting the SKIP_PRO_TESTS environment variable:

$ SKIP_PRO_TESTS=true make test

To SKIP_AZURE_TESTS environment variable:

$ SKIP_AZURE_TESTS=true make test

Author

Datadrivers GmbH