From 06c89f40a95b9c483806a2cd56b50f0ce96de326 Mon Sep 17 00:00:00 2001 From: Raphael <4246780+reitzig@users.noreply.github.com> Date: Mon, 9 Nov 2020 12:13:28 +0100 Subject: [PATCH] Update README.md Add a note on dependencies with Java 11+ --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b91c6c..0fd508e 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,10 @@ Result validationResult = validator.checkInput(document); The [API documentation](./docs/api.md) shows further configuration options. +**Note:** With Java 11+, you need to include a dependency to `org.glassfish.jaxb:jaxb-runtime` in your project explicitly, +as that dependency is marked `optional` in this project and +will thus not be resolved transitively. + ### Daemon-Mode You can also start the validator as a HTTP-Server. Just start it in _Daemon-Mode_ with the `-D` option. @@ -101,4 +105,4 @@ The validator distribution contains the following artifacts: 1. **validationtool-``.jar**: Java library for embedded use within an application 1. **validationtool-`-standalone.jar**: Uber-JAR for standalone usage containing all dependencies in one jar file. This file comes with JAXB *embedded* and can be used with Java 8 and Java >= 11) 1. **validationtool-`-java8-standalone.jar**: Uber-JAR for standalone usage with Java JDK 8 containing all dependencies in one jar file. This file file *does not* contain JAXB and depends on the bundled version of the JDK. -1. **libs/***: directory containing all (incl. optional) dependencies of the validator \ No newline at end of file +1. **libs/***: directory containing all (incl. optional) dependencies of the validator