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

Cole-Greer pushed a commit to branch docs-3.7
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit a6984dc1b38c9bd1b47eaa9b75aebf207271f992
Author: Cole Greer <[email protected]>
AuthorDate: Wed May 27 16:31:23 2026 -0700

    Fix Hadoop/Spark plugin activation: add plugin/ dir and copy to main lib
    
    Standalone plugins (hadoop-gremlin, spark-gremlin) need:
    1. A plugin/ directory with main JAR for SPI-based plugin discovery
    2. All dependency JARs on the main classpath (lib/) for proper
       classloading of HadoopGraph, SparkGraphComputer, etc.
    
    This mirrors the fix already applied for non-standalone plugins
    (sparql-gremlin, neo4j-gremlin).
---
 bin/process-docs.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/process-docs.sh b/bin/process-docs.sh
index a5248864cf..7ae7857340 100755
--- a/bin/process-docs.sh
+++ b/bin/process-docs.sh
@@ -111,6 +111,10 @@ for plugin in ${PLUGINS}; do
   if [ -d "${PLUGIN_DIR}" ]; then
     echo " * installing ${plugin} (standalone)"
     cp -r "${PLUGIN_DIR}" "${CONSOLE_HOME}/ext/${plugin}"
+    mkdir -p "${CONSOLE_HOME}/ext/${plugin}/plugin"
+    cp "${plugin}/target/${plugin}-${TP_VERSION}.jar" 
"${CONSOLE_HOME}/ext/${plugin}/plugin/" 2>/dev/null
+    # Copy deps to main lib for classloading
+    cp "${CONSOLE_HOME}/ext/${plugin}/lib/"*.jar "${CONSOLE_HOME}/lib/" 
2>/dev/null
   elif [ -f "${plugin}/target/${plugin}-${TP_VERSION}.jar" ]; then
     echo " * installing ${plugin} (jar + dependencies)"
     mkdir -p "${CONSOLE_HOME}/ext/${plugin}/lib"

Reply via email to