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 7909b2c547a0a7d608d06e37fbacff995593f145
Author: Cole Greer <[email protected]>
AuthorDate: Mon May 25 09:58:09 2026 -0700

    Restrict docs Maven build to root module only (-pl .)
    
    Without -pl ., Maven runs process-resources across the entire reactor
    (30+ modules), adding hours of unnecessary processing. The asciidoc
    profile is only defined on the root pom.
---
 bin/process-docs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/process-docs.sh b/bin/process-docs.sh
index 106f6de4a8..015c79fffc 100755
--- a/bin/process-docs.sh
+++ b/bin/process-docs.sh
@@ -73,7 +73,7 @@ if [ "${MODE}" == "dry" ]; then
   mkdir -p target/postprocess-asciidoc
   cp -r docs/{static,stylesheets} target/postprocess-asciidoc/
   cp -r docs/src/* target/postprocess-asciidoc/
-  mvn process-resources -Dasciidoc -Dgremlin.docs.dryrun=true
+  mvn process-resources -pl . -Dasciidoc -Dgremlin.docs.dryrun=true
   exit $?
 fi
 
@@ -173,7 +173,7 @@ if [ -z "${NOCLEAN}" ]; then
   rm -r target/doc-source target/docs 2>/dev/null || true
 fi
 set +e
-mvn process-resources -Dasciidoc \
+mvn process-resources -pl . -Dasciidoc \
   -Dgremlin.docs.console.home="${CONSOLE_HOME}" \
   -Dgremlin.docs.hadoop.libs="${HADOOP_GREMLIN_LIBS}"
 ec=$?

Reply via email to