diff --git a/README.md b/README.md index 912488c..c20bf54 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,19 @@ Java client for the [ControlResell](https://controlresell.com) public API (Java 11+). +## Install + +From the 0.1.0 release, on Maven Central: + +```xml + + com.controlresell + java-sdk + 0.1.0 + +``` + + ```java ControlResell client = new ControlResell("cr_live_..."); // or ControlResell.builder().build() with CONTROLRESELL_API_KEY Me me = client.me().get(); @@ -43,4 +56,4 @@ Retries (rate limits, 502/503/504, network errors), `Idempotency-Key` on every ` mvn test ``` -Maven coordinates, once published: `com.controlresell:java-sdk`. Not published yet. Licensed under the Apache License 2.0. +Licensed under the Apache License 2.0. diff --git a/pom.xml b/pom.xml index 1319d79..6a5b323 100644 --- a/pom.xml +++ b/pom.xml @@ -19,8 +19,16 @@ https://github.com/controlresell/java-sdk - scm:git:https://github.com/controlresell/java-sdk.git + scm:git:git://github.com/controlresell/java-sdk.git + scm:git:ssh://git@github.com/controlresell/java-sdk.git + + + controlresell + ControlResell + https://controlresell.com + + 11 @@ -77,4 +85,51 @@ + + + + + release + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.12.0 + + none + true + + + + attach-javadocs + jar + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.8 + + + sign-artifacts + verify + sign + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.12.0 + true + + central + + + + + +