项目作者: sonatype

项目描述 :
Sonatype OSS Index - Public
高级语言: Java
项目地址: git://github.com/sonatype/ossindex-public.git
创建时间: 2018-05-15T22:02:08Z
项目社区:https://github.com/sonatype/ossindex-public

开源协议:Apache License 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:

  1. <dependency>
  2. <groupId>org.sonatype.ossindex</groupId>
  3. <artifactId>ossindex-service-client</artifactId>
  4. <version>1.8.1</version>
  5. </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

  1. ./mvnw clean install

Publish the docs

Checkout the release tag first, then:

  1. To do a dry run:

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

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