From 6e5ea3a8c0c488fd4a3e28d44f9013e4c2266b03 Mon Sep 17 00:00:00 2001 From: Vaibhav Joshi Date: Thu, 4 Jun 2026 20:58:00 +0200 Subject: [PATCH] fix [Bug]: gremlin-console.sh fails on Mac M4 (Apple Silicon)#3031 Added org.fusesource.jansi:jansi:2.4.0 as a runtime dependency in `hugegraph-server/hugegraph-dist/pom.xml` to prevent NoClassDefFoundError: org/fusesource/jansi/AnsiConsole when launching gremlin-console. Also update release docs: - install-dist/release-docs/LICENSE - install-dist/release-docs/NOTICE - add install-dist/release-docs/licenses/LICENSE-jansi-2.4.0.txt --- hugegraph-server/hugegraph-dist/pom.xml | 10 ++++++++++ install-dist/release-docs/LICENSE | 6 ++++++ install-dist/release-docs/NOTICE | 9 +++++++++ .../licenses/LICENSE-jansi-2.4.0.txt | 16 ++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 install-dist/release-docs/licenses/LICENSE-jansi-2.4.0.txt diff --git a/hugegraph-server/hugegraph-dist/pom.xml b/hugegraph-server/hugegraph-dist/pom.xml index 1fe20b6d9b..5914b038be 100644 --- a/hugegraph-server/hugegraph-dist/pom.xml +++ b/hugegraph-server/hugegraph-dist/pom.xml @@ -33,6 +33,7 @@ ${project.basedir}/src/assembly ${assembly.dir}/descriptor ${assembly.dir}/static + 2.4.0 @@ -123,6 +124,15 @@ grpc-stub ${grpc.version} + + + + org.fusesource.jansi + jansi + ${jansi.version} + runtime + diff --git a/install-dist/release-docs/LICENSE b/install-dist/release-docs/LICENSE index fc15a77408..0014317824 100644 --- a/install-dist/release-docs/LICENSE +++ b/install-dist/release-docs/LICENSE @@ -929,3 +929,9 @@ The text of each license is also included in licenses/LICENSE-[project].txt. https://central.sonatype.com/artifact/xmlpull/xmlpull/1.1.3.1 -> Public Domain https://central.sonatype.com/artifact/xpp3/xpp3_min/1.1.4c -> Public Domain + +# +# jansi 2.4.0 (https://github.com/fusesource/jansi) +# +# This product includes software developed by the Jansi project (http://fusesource.github.io/jansi/). +# See licenses/LICENSE-jansi-2.4.0.txt for license details (Apache License 2.0 or LGPL 3.0+). diff --git a/install-dist/release-docs/NOTICE b/install-dist/release-docs/NOTICE index fdded4e6dd..775f03241c 100644 --- a/install-dist/release-docs/NOTICE +++ b/install-dist/release-docs/NOTICE @@ -1887,3 +1887,12 @@ swagger-ui NOTICE swagger-ui Copyright 2020-2021 SmartBear Software Inc. + +======================================================================== + +# +# jansi 2.4.0 (https://github.com/fusesource/jansi) +# +# This product includes software developed by the Jansi project (http://fusesource.github.io/jansi/). +# See licenses/LICENSE-jansi-2.4.0.txt for license details (Apache License 2.0 or LGPL 3.0+). + diff --git a/install-dist/release-docs/licenses/LICENSE-jansi-2.4.0.txt b/install-dist/release-docs/licenses/LICENSE-jansi-2.4.0.txt new file mode 100644 index 0000000000..09b4ae371e --- /dev/null +++ b/install-dist/release-docs/licenses/LICENSE-jansi-2.4.0.txt @@ -0,0 +1,16 @@ +Copyright (c) 2007-2021, the original author(s) +All rights reserved. + +This software is dual-licensed under the Apache License, Version 2.0 and the GNU Lesser General Public License, version 3 or later (LGPL-3.0-or-later). + +You may obtain a copy of the Apache License at + + http://www.apache.org/licenses/LICENSE-2.0 + +You may obtain a copy of the GNU Lesser General Public License at + + http://www.gnu.org/licenses/lgpl-3.0.html + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + +This product includes software developed by the Jansi project (http://fusesource.github.io/jansi/).