Provides API and clients for Sonatype OSS Index.
See Javadocs for API and client reference.
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:
- HttpUrlConnectionTransport makes use of standard JRE
HttpUrlConnection
- HttpClientTransport makes use of Apache HttpClient
- Apache Maven 3.3+ (prefer to use included
mvnw
) - JDK 7+ (10 is NOT supported)
./mvnw clean install
Checkout the release tag first, then:
-
To do a dry run:
./mvnw clean javadoc:aggregate scm-publish:publish-scm -Pdocs -Dscmpublish.dryRun=true
-
To publish:
./mvnw clean javadoc:aggregate scm-publish:publish-scm -Pdocs