diff --git a/README.md b/README.md index e2c2377..312e216 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ If you like to use this one, include it as a dependency: ```kotlin dependencies { - implementation("io.github.threeten-jaxb:threeten-jaxb-core:2.1.0") // This version is for Jakarta + implementation("io.github.threeten-jaxb:threeten-jaxb-core:2.2.0") // This version is for Jakarta } ``` @@ -223,23 +223,23 @@ Then create a binding file with content with the types you like to map: - - - - - - - - + version="3.0" + extensionBindingPrefixes="xjc"> + + + + + + + + ``` The above configuration is for `jakarta`. For `javax`, use version 1.2.0 and the binding attributes to `xmlns="http://java.sun.com/xml/ns/jaxb" version="2.1"`. -Lastly, for both `jakarta` and `javax`, configure the plugin to use the binding file (in this case it is called `src/main/bindings/bindings.xml`): +Lastly, for both `jakarta` and `javax`, configure the plugin to use the binding file (in this case it is called `src/main/xjb/bindings.xml`): ```kotlin xjc {