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

https://github.com/sonatype/ossindex-public

Sonatype OSS Index - Public
https://github.com/sonatype/ossindex-public

java lift ossindex

Last synced: about 1 year ago
JSON representation

Sonatype OSS Index - Public

Awesome Lists containing this project

README

          

# Sonatype OSS Index - Public

![license](https://img.shields.io/github/license/sonatype/ossindex-public.svg)

![maven-central](https://img.shields.io/maven-central/v/org.sonatype.ossindex/ossindex-service.svg)

Provides API and clients for [Sonatype OSS Index](https://ossindex.sonatype.org/).

See [Javadocs](https://sonatype.github.io/ossindex-public/) for API and client reference.

## Using the client

To add a dependency on the OSS Index client, use the following:

```xml

org.sonatype.ossindex
ossindex-service-client
1.8.1

```

Two options for transports are provided:

* [HttpUrlConnectionTransport](https://sonatype.github.io/ossindex-public/org/sonatype/ossindex/service/client/transport/HttpUrlConnectionTransport.html) makes use of standard JRE `HttpUrlConnection`
* [HttpClientTransport](https://sonatype.github.io/ossindex-public/org/sonatype/ossindex/service/client/transport/HttpClientTransport.html) makes use of [Apache HttpClient](https://hc.apache.org/httpcomponents-client-ga/)

## Building

### Requirements

* [Apache Maven](https://maven.apache.org/) 3.3+ (prefer to use included `mvnw`)
* JDK 7+ (10 is **NOT** supported)

### Build

./mvnw clean install

### Publish the docs

Checkout the release tag first, then:

1. To do a dry run:

./mvnw clean javadoc:aggregate scm-publish:publish-scm -Pdocs -Dscmpublish.dryRun=true

1. To publish:

./mvnw clean javadoc:aggregate scm-publish:publish-scm -Pdocs