Skip to content

Commit 05fc14a

Browse files
authored
Clarify usage of Apache commons lang in README.md (#666)
1 parent bb63267 commit 05fc14a

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ Here are the dependencies.
5656
<artifactId>slf4j-api</artifactId>
5757
<version>${version.slf4j}</version>
5858
</dependency>
59-
60-
<dependency>
61-
<groupId>org.apache.commons</groupId>
62-
<artifactId>commons-lang3</artifactId>
63-
<version>${version.common-lang3}</version>
64-
</dependency>
6559
```
6660

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.
65+
6766
#### Community
6867

6968
This library is very active with a lot of contributors. New features and bug fixes are handled quickly by the team members. Because it is an essential dependency of the [light-4j](https://github.com/networknt/light-4j) framework in the same GitHub organization, it will be evolved and maintained along with the framework.
@@ -83,6 +82,12 @@ Maven:
8382
<groupId>com.networknt</groupId>
8483
<artifactId>json-schema-validator</artifactId>
8584
<version>1.0.77</version>
85+
<exclusions>
86+
<exclusion>
87+
<groupId>org.apache.commons</groupId>
88+
<artifactId>commons-lang3</artifactId>
89+
</exclusion>
90+
</exclusions>
8691
</dependency>
8792
```
8893

0 commit comments

Comments
 (0)