This is an automated email from the ASF dual-hosted git repository.

vgalaxies pushed a commit to branch release-1.5.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git

commit 8b90977f8d62efa34786928aad6721580dea9d51
Author: V_Galaxy <[email protected]>
AuthorDate: Mon Nov 25 17:20:43 2024 +0800

    chore(dist): fix the JSON license issue (#2697)
    
    * setup
    
    * chore: change json scope to 'test' in pd.pom
    
    * update license
    
    ---------
    
    Co-authored-by: imbajin <[email protected]>
---
 hugegraph-store/hg-store-core/pom.xml                        | 4 +++-
 install-dist/release-docs/LICENSE                            | 8 --------
 install-dist/release-docs/licenses/LICENSE-json-20210307.txt | 1 -
 install-dist/scripts/dependency/known-dependencies.txt       | 1 -
 4 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/hugegraph-store/hg-store-core/pom.xml 
b/hugegraph-store/hg-store-core/pom.xml
index e59298efa..17a53380f 100644
--- a/hugegraph-store/hg-store-core/pom.xml
+++ b/hugegraph-store/hg-store-core/pom.xml
@@ -39,10 +39,12 @@
             <groupId>org.apache.logging.log4j</groupId>
             <artifactId>log4j-slf4j-impl</artifactId>
         </dependency>
+        <!-- TODO: replace it by  
jackson(com.fasterxml.jackson.core:jackson-databind) -->
         <dependency>
             <groupId>org.json</groupId>
             <artifactId>json</artifactId>
-            <version>20210307</version>
+            <version>20240303</version>
+            <scope>test</scope>
         </dependency>
 
         <dependency>
diff --git a/install-dist/release-docs/LICENSE 
b/install-dist/release-docs/LICENSE
index bebcf355a..c9af87fde 100644
--- a/install-dist/release-docs/LICENSE
+++ b/install-dist/release-docs/LICENSE
@@ -807,14 +807,6 @@ The text of each license is also included in 
licenses/LICENSE-[project].txt.
 
     https://central.sonatype.com/artifact/org.mindrot/jbcrypt/0.4 -> ISC
 
-========================================================================
-Third party The JSON License licenses
-========================================================================
-The following components are provided under the The JSON License License. See 
project link for details.
-The text of each license is also included in licenses/LICENSE-[project].txt.
-
-    https://central.sonatype.com/artifact/org.json/json/20210307 -> The JSON 
License
-
 ========================================================================
 Third party EPL 1.0 licenses
 ========================================================================
diff --git a/install-dist/release-docs/licenses/LICENSE-json-20210307.txt 
b/install-dist/release-docs/licenses/LICENSE-json-20210307.txt
deleted file mode 100644
index 3cb0f7e7c..000000000
--- a/install-dist/release-docs/licenses/LICENSE-json-20210307.txt
+++ /dev/null
@@ -1 +0,0 @@
-http://json.org/license.html
diff --git a/install-dist/scripts/dependency/known-dependencies.txt 
b/install-dist/scripts/dependency/known-dependencies.txt
index f93239e74..1a7a56533 100644
--- a/install-dist/scripts/dependency/known-dependencies.txt
+++ b/install-dist/scripts/dependency/known-dependencies.txt
@@ -267,7 +267,6 @@ joda-time-2.10.8.jar
 jraft-core-1.3.11.jar
 jraft-core-1.3.13.jar
 jraft-core-1.3.9.jar
-json-20210307.jar
 jsonassert-1.5.0.jar
 json-path-2.5.0.jar
 json-simple-1.1.jar

Reply via email to