diff --git a/README.md b/README.md
index 9afa780c2..b6bbefb85 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ The classes in the`.jar`file are version 52 (`JDK 1.8`).
To include in your project:
##### Gradle
```
-implementation 'com.cedarsoftware:java-util:2.4.9'
+implementation 'com.cedarsoftware:java-util:2.5.0'
```
##### Maven
@@ -23,7 +23,7 @@ implementation 'com.cedarsoftware:java-util:2.4.9'
com.cedarsoftware
java-util
- 2.4.9
+ 2.5.0
```
---
diff --git a/changelog.md b/changelog.md
index 97509c143..388c78540 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,7 @@
### Revision History
-* 2.5.0-SNAPSHOT
- * Wanted: DateTimeFormatter added as a supported conversion (to/from String, to/from Map)
+* 2.5.0
+ * pom.xml file updated to support both OSGi Bundle and JPMS Modules.
+ * module-info.class resides in the root of the .jar but it is not referenced.
* 2.4.9
* Updated to allow the project to be compiled by versions of JDK > 1.8 yet still generate class file format 52 .class files so that they can be executed on JDK 1.8+ and up.
* Incorporated @AxataDarji GraphComparator changes that reduce cyclomatic code complexity (refactored to smaller methods)
diff --git a/pom.xml b/pom.xml
index ce5d0d421..004324d67 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,8 +4,8 @@
java-util
com.cedarsoftware
java-util
- jar
- 2.5.0-SNAPSHOT
+ bundle
+ 2.5.0
Java Utilities
https://github.com/jdereg/java-util
@@ -24,6 +24,9 @@
yyyy-MM-dd'T'HH:mm:ss.SSSZ
+
+ UTF-8
+
1.8
1.8
@@ -32,9 +35,9 @@
5.10.2
5.10.2
+ 4.11.0
3.25.3
4.19.13
- 4.11.0
1.21.1
@@ -43,18 +46,18 @@
3.13.0
3.6.3
3.2.5
- 3.3.0
+ 3.3.1
1.26.4
5.1.9
1.2.1.Final
-
+
1.6.13
- UTF-8
-
+
+
release-sign-artifacts
@@ -65,6 +68,7 @@
+
org.apache.maven.plugins
maven-gpg-plugin
@@ -83,6 +87,7 @@
+
@@ -91,7 +96,7 @@
The Apache Software License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
+ https://www.apache.org/licenses/LICENSE-2.0.txt
repo
@@ -112,9 +117,10 @@
https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
+
+
org.apache.maven.plugins
maven-jar-plugin
@@ -137,6 +143,7 @@
+
org.apache.felix
maven-scr-plugin
@@ -150,7 +157,13 @@
true
- com.cedarsoftware.util
+
+ java.sql,
+ java.xml
+
+ com.cedarsoftware.util
+ com.cedarsoftware.util.convert
+
*
@@ -239,25 +252,23 @@
package
- 9
+ base
-
- com.cedarsoftware.util
-
- java.sql;
- java.xml;
-
-
- com.cedarsoftware.util;
- com.cedarsoftware.util.convert;
-
-
+
+ module com.cedarsoftware.util {
+ requires java.sql;
+ requires java.xml;
+ exports com.cedarsoftware.util;
+ exports com.cedarsoftware.util.convert;
+ }
+
true
+