diff --git a/README.md b/README.md index 008f637..811ca38 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,24 @@ SolanaJ implementations of popular Solana programs, including the Project Serum DEX. # Installation -solanaj-programs is not yet on Maven Central. You'll need to install it using `mvn clean install`. +1. Add Sonatype repository to your project's pom.xml file: + +```xml + + + Sonatype Releases + https://oss.sonatype.org/content/repositories/releases/ + + +``` + +2. Add `solanaj-programs` dependency -After running `mvn clean install`: ```xml com.mmorrell solanaj-programs - 1.2-SNAPSHOT + 1.2 ``` diff --git a/bonfida/pom.xml b/bonfida/pom.xml index cf3c6ea..c8cc3e2 100644 --- a/bonfida/pom.xml +++ b/bonfida/pom.xml @@ -5,7 +5,7 @@ solanaj-programs com.mmorrell - 1.2-SNAPSHOT + 1.2 4.0.0 diff --git a/magiceden/pom.xml b/magiceden/pom.xml index 833021b..2283afe 100644 --- a/magiceden/pom.xml +++ b/magiceden/pom.xml @@ -5,7 +5,7 @@ solanaj-programs com.mmorrell - 1.2-SNAPSHOT + 1.2 4.0.0 diff --git a/mango/pom.xml b/mango/pom.xml index 4a4e94b..4f15f2b 100644 --- a/mango/pom.xml +++ b/mango/pom.xml @@ -5,7 +5,7 @@ solanaj-programs com.mmorrell - 1.2-SNAPSHOT + 1.2 4.0.0 diff --git a/pom.xml b/pom.xml index 9dc8740..12b2c28 100644 --- a/pom.xml +++ b/pom.xml @@ -3,11 +3,33 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - com.mmorrell solanaj-programs pom - 1.2-SNAPSHOT + 1.2 + ${project.groupId}:${project.artifactId} + Program libraries for SolanaJ, a library for Solana RPC + https://github.com/skynetcap/solanaj-programs + + + MIT License + https://www.opensource.org/licenses/mit-license.php + + + + scm:git:git://github.com/skynetcap/solanaj-programs.git + scm:git:ssh://github.com/skynetcap/solanaj-programs.git + https://github.com/skynetcap/solanaj-programs/tree/main + + + + Michael Morrell + michael@mmorrell.com + Openserum + https://openserum.io/ + + + mango serum @@ -17,8 +39,8 @@ - 11 - 11 + 17 + 17 @@ -37,7 +59,7 @@ com.mmorrell solanaj - 1.9-SNAPSHOT + 1.10 org.projectlombok @@ -58,11 +80,85 @@ + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + - github - GitHub Packages - https://maven.pkg.github.com/skynetcap/solanaj-programs + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://s01.oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + 17 + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + 0x67A54591 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + + + + + Sonatype Releases + https://oss.sonatype.org/content/repositories/releases/ + + \ No newline at end of file diff --git a/pyth/README.md b/pyth/README.md index 379a8bd..50ff88d 100644 --- a/pyth/README.md +++ b/pyth/README.md @@ -6,7 +6,7 @@ A SolanaJ module for interfacing with Pyth. com.mmorrell solanaj-programs - 1.2-SNAPSHOT + 1.2 ``` diff --git a/pyth/pom.xml b/pyth/pom.xml index 2bf4d1a..5402589 100644 --- a/pyth/pom.xml +++ b/pyth/pom.xml @@ -5,7 +5,7 @@ solanaj-programs com.mmorrell - 1.2-SNAPSHOT + 1.2 4.0.0 diff --git a/serum/pom.xml b/serum/pom.xml index efc255d..9fd2f50 100644 --- a/serum/pom.xml +++ b/serum/pom.xml @@ -5,7 +5,7 @@ solanaj-programs com.mmorrell - 1.2-SNAPSHOT + 1.2 4.0.0 diff --git a/serum/src/main/java/com/mmorrell/serum/model/Market.java b/serum/src/main/java/com/mmorrell/serum/model/Market.java index 1701ea4..aadcf7e 100644 --- a/serum/src/main/java/com/mmorrell/serum/model/Market.java +++ b/serum/src/main/java/com/mmorrell/serum/model/Market.java @@ -4,7 +4,7 @@ import org.p2p.solanaj.core.PublicKey; /** - * Class to represent a Serum market. Should be instantiated using a {@link .MarketBuilder}. + * Class to represent a Serum market. Should be instantiated using a {@link MarketBuilder}. */ @EqualsAndHashCode(of = {"ownAddress"}) public class Market {