An open API service indexing awesome lists of open source software.

https://github.com/datadrivers/go-nexus-client

Nexus Client library written in Golang
https://github.com/datadrivers/go-nexus-client

golang

Last synced: 4 months ago
JSON representation

Nexus Client library written in Golang

Awesome Lists containing this project

README

          

# Golang Nexus Client

![codeql workflow](https://github.com/datadrivers/go-nexus-client/actions/workflows/codeql-analysis.yml/badge.svg)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)
[![Go Report Card](https://goreportcard.com/badge/github.com/datadrivers/go-nexus-client)](https://goreportcard.com/report/github.com/datadrivers/go-nexus-client)

## Introduction

Sonatype Nexus Golang Client

Implemented and tested with Sonatype Nexus `3.85.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

```shell
make start-services
```

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

Now start the tests

```shell
$ 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:

```shell
$ SKIP_PRO_TESTS=true make test
```

To `SKIP_AZURE_TESTS` environment variable:

```shell
$ SKIP_AZURE_TESTS=true make test
```

## Author

[Datadrivers GmbH](https://www.datadrivers.de)