/ossindex-public

Sonatype OSS Index - Public

Primary LanguageJavaApache License 2.0Apache-2.0

Sonatype OSS Index - Public

license

maven-central

Provides API and clients for Sonatype OSS Index.

See Javadocs for API and client reference.

Using the client

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

<dependency>
  <groupId>org.sonatype.ossindex</groupId>
  <artifactId>ossindex-service-client</artifactId>
  <version>1.8.1</version>
</dependency>

Two options for transports are provided:

Building

Requirements

  • Apache Maven 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
    
  2. To publish:

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