From 3f7eb2e7447ad112e86a870dc2615b5fd0df64af Mon Sep 17 00:00:00 2001 From: Eric T Date: Sun, 17 Aug 2025 17:24:19 +0100 Subject: [PATCH 1/2] docs: document Maven repository --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 0badce3ed..afc1de39f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,41 @@ $ cd nostr-java $ ./mvnw clean install ``` +You can also consume published artifacts from our Maven repository instead of building from source. + +### Maven + +```xml + + + nostr-java + https://maven.398ja.xyz/releases + + + + + xyz.tcheeric + nostr-java-api + [VERSION] + +``` + +Snapshot builds are available at `https://maven.398ja.xyz/snapshots`. + +### Gradle + +```gradle +repositories { + maven { url 'https://maven.398ja.xyz/releases' } +} + +dependencies { + implementation 'xyz.tcheeric:nostr-java-api:[VERSION]' +} +``` + +Replace `[VERSION]` with the latest release number from the [releases page](https://github.com/tcheeric/nostr-java/releases). + See [`docs/CODEBASE_OVERVIEW.md`](docs/CODEBASE_OVERVIEW.md) for details about running tests and contributing. ## Examples From 5e3227da2b989751de592e38ce606997323c2b3d Mon Sep 17 00:00:00 2001 From: erict875 Date: Sun, 17 Aug 2025 17:49:07 +0100 Subject: [PATCH 2/2] bump version to 0.2.2 in all module `pom.xml` files --- nostr-java-api/pom.xml | 2 +- nostr-java-base/pom.xml | 2 +- nostr-java-client/pom.xml | 2 +- nostr-java-crypto/pom.xml | 2 +- nostr-java-encryption/pom.xml | 2 +- nostr-java-event/pom.xml | 2 +- nostr-java-examples/pom.xml | 2 +- nostr-java-id/pom.xml | 2 +- nostr-java-util/pom.xml | 2 +- pom.xml | 4 ++-- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/nostr-java-api/pom.xml b/nostr-java-api/pom.xml index 8925ce5c1..0248134a7 100644 --- a/nostr-java-api/pom.xml +++ b/nostr-java-api/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-base/pom.xml b/nostr-java-base/pom.xml index 52de1ce7a..835fc67b7 100644 --- a/nostr-java-base/pom.xml +++ b/nostr-java-base/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-client/pom.xml b/nostr-java-client/pom.xml index e2de0f421..c8c41793c 100644 --- a/nostr-java-client/pom.xml +++ b/nostr-java-client/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-crypto/pom.xml b/nostr-java-crypto/pom.xml index 00be044a9..fc332a740 100644 --- a/nostr-java-crypto/pom.xml +++ b/nostr-java-crypto/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-encryption/pom.xml b/nostr-java-encryption/pom.xml index 9e2f86386..22e6e19e1 100644 --- a/nostr-java-encryption/pom.xml +++ b/nostr-java-encryption/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-event/pom.xml b/nostr-java-event/pom.xml index 07e57f4c1..87461c835 100644 --- a/nostr-java-event/pom.xml +++ b/nostr-java-event/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-examples/pom.xml b/nostr-java-examples/pom.xml index 93ccb6299..27256d127 100644 --- a/nostr-java-examples/pom.xml +++ b/nostr-java-examples/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-id/pom.xml b/nostr-java-id/pom.xml index 95d4d2212..603cd1eaf 100644 --- a/nostr-java-id/pom.xml +++ b/nostr-java-id/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/nostr-java-util/pom.xml b/nostr-java-util/pom.xml index 9a27a9aba..15eaf1b84 100644 --- a/nostr-java-util/pom.xml +++ b/nostr-java-util/pom.xml @@ -4,7 +4,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 ../pom.xml diff --git a/pom.xml b/pom.xml index e7859991c..86d90fe7c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ xyz.tcheeric nostr-java - 0.2.2-SNAPSHOT + 0.2.2 pom @@ -74,7 +74,7 @@ - 0.2.2-SNAPSHOT + 0.2.2 21 3.5.4