diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index dd4bec9..b87736d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,7 +28,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
- java-version: 11
+ java-version: 21
distribution: 'temurin'
cache: 'maven'
diff --git a/README.md b/README.md
index 7725052..e6cd44e 100644
--- a/README.md
+++ b/README.md
@@ -50,12 +50,15 @@ Various documentation is available:
### Releases
-[Release 1.0.4](https://www.joda.org/joda-money/download.html) is the current release.
-This release is considered stable and worthy of the 1.x tag.
-It depends on Java SE 8 or later.
+The 2.x branch is compatible with Java SE 21 or later.
-Joda-Money does have a *compile-time* dependency on Joda-Convert, but this is not required at runtime
-thanks to the magic of annotations.
+The 1.x branch is compatible with Java SE 8 or later.
+
+v2.x releases are compatible with v1.x releases - except for the Java SE version and `module-info.class` file.
+
+Joda-Money has no mandatory dependencies.
+There is a *compile-time* dependency on [Joda-Convert](https://www.joda.org/joda-convert/),
+but this is not required at runtime thanks to the magic of annotations.
Available in the [Maven Central repository](https://search.maven.org/search?q=g:org.joda%20AND%20a:joda-money&core=gav)
@@ -85,7 +88,7 @@ Tidelift will coordinate the fix and disclosure.
### Release process
-* Update version (README.md, index.md, changes.xml)
+* Update version (index.md, changes.xml)
* Commit and push
* In an admin window `gpg-connect-agent -v`
* Switch to Java 11
diff --git a/pom.xml b/pom.xml
index 99864ea..921c406 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,8 +9,8 @@
joda-moneyjarJoda-Money
- 1.0.5-SNAPSHOT
- Money representation and formatting
+ 2.0.0-RC1-SNAPSHOT
+ Money representation and formatting, compatible with Java 21+https://www.joda.org/joda-money/
@@ -100,7 +100,7 @@
-
+
org.apache.maven.pluginsmaven-enforcer-plugin
@@ -116,43 +116,13 @@
3.8.0
- [11,)
+ [21,)
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
-
-
- default-compile
-
- 9
-
-
-
-
- base-compile
-
- compile
-
-
-
- module-info.java
-
-
-
-
-
-
- 8
-
- org.apache.maven.plugins
@@ -229,9 +199,9 @@
-
+
-
+
@@ -581,7 +551,7 @@
-
+
@@ -835,9 +805,8 @@
4.8.6.2
- 1.8
- 1.8
- 1.8
+ 21
+ 21true
@@ -846,7 +815,7 @@
none
- 8.45.1
+ 10.17.0src/main/checkstyle/checkstyle.xmlfalse
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0a64c36..047e277 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -8,6 +8,12 @@
+
+
+ Major version based on Java SE 21.
+ Intended to be effectively compatible with v1.x.
+
+
Add isGreaterThanOrEqual() and isLessThanOrEqual() to money classes.
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 81205fb..6cf4915 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -70,10 +70,13 @@ As a flavour of Joda-Money, here is some example code:
## Releases
-[Release 1.0.4](download.html) is the current release.
-This release is considered stable and worthy of the 1.x tag.
+The 2.x branch is compatible with Java SE 21 or later.
-Joda-Money requires Java SE 8 or later and has [no dependencies](dependencies.html).
+The 1.x branch is compatible with Java SE 8 or later.
+
+v2.x releases are compatible with v1.x releases - except for the Java SE version and `module-info.class` file.
+
+Joda-Money has no mandatory dependencies.
There is a *compile-time* dependency on [Joda-Convert](https://www.joda.org/joda-convert/),
but this is not required at runtime thanks to the magic of annotations.