mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Update README.md
Add a note on dependencies with Java 11+
This commit is contained in:
parent
113f1c7926
commit
06c89f40a9
1 changed files with 5 additions and 1 deletions
|
|
@ -83,6 +83,10 @@ Result validationResult = validator.checkInput(document);
|
||||||
|
|
||||||
The [API documentation](./docs/api.md) shows further configuration options.
|
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
|
### Daemon-Mode
|
||||||
|
|
||||||
You can also start the validator as a HTTP-Server. Just start it in _Daemon-Mode_ with the `-D` option.
|
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-`<version>`.jar**: Java library for embedded use within an application
|
1. **validationtool-`<version>`.jar**: Java library for embedded use within an application
|
||||||
1. **validationtool-`<version`>-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-`<version`>-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-`<version`>-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. **validationtool-`<version`>-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
|
1. **libs/***: directory containing all (incl. optional) dependencies of the validator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue