Skip to content

Commit f03a306

Browse files
authored
docs: clarify commons-lang3 exclusion only required for 1.0.81 and older (#883)
1 parent b041fcc commit f03a306

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The OpenAPI 3.0 specification is using JSON schema to validate the request/respo
4242

4343
Following the design principle of the Light Platform, this library has minimum dependencies to ensure there are no dependency conflicts when using it.
4444

45-
Here are the dependencies.
45+
Here are the dependencies:
4646

4747
```xml
4848
<dependency>
@@ -58,10 +58,7 @@ Here are the dependencies.
5858
</dependency>
5959
```
6060

61-
Note: Apache commons lang is included as a compile time dependency but is not
62-
required anymore. It is still included for the sake of older projects that
63-
depend on it as an accidental transitive runtime dependency. It is encouraged to
64-
exclude it as shown below and will be removed in a future release.
61+
**Note**: Up to version [1.0.81](https://github.com/networknt/json-schema-validator/blob/1.0.81/pom.xml#L99), the dependency `org.apache.commons:commons-lang3` was included as a runtime dependency. Starting with [1.0.82](https://github.com/networknt/json-schema-validator/releases/tag/1.0.82) it is not required anymore.
6562

6663
#### Community
6764

@@ -82,6 +79,8 @@ Maven:
8279
<groupId>com.networknt</groupId>
8380
<artifactId>json-schema-validator</artifactId>
8481
<version>1.0.87</version>
82+
83+
<!-- Only required for versions < 1.0.82. See README.md -->
8584
<exclusions>
8685
<exclusion>
8786
<groupId>org.apache.commons</groupId>

0 commit comments

Comments
 (0)