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

tballison pushed a commit to branch TIKA-4730-post-beta-1-fixes
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/TIKA-4730-post-beta-1-fixes by 
this push:
     new 05c11cbfd5 TIKA-4730 - post beta-1 fixes
05c11cbfd5 is described below

commit 05c11cbfd52ce15ae5b70502674d58946519041f
Author: tallison <[email protected]>
AuthorDate: Mon Jun 29 15:21:44 2026 -0400

    TIKA-4730 - post beta-1 fixes
---
 docs/publish-docs.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh
index 217fd793a1..8657204840 100755
--- a/docs/publish-docs.sh
+++ b/docs/publish-docs.sh
@@ -22,7 +22,9 @@
 # Usage:
 #   ./publish-docs.sh /path/to/tika-site/publish
 #
-# Prerequisite: run 'mvn package -pl docs' first to populate target/site/.
+# Prerequisite: build target/site/ first, from the repo root:
+#   ./mvnw package -Papache-release -pl :tika-docs -DskipTests
+# (The 'docs' module is only in the reactor under the apache-release profile.)
 
 set -euo pipefail
 cd "$(dirname "$0")"
@@ -57,7 +59,7 @@ DOCS_DIR="${PUBLISH_DIR}/docs"
 
 if [[ ! -d target/site ]]; then
     echo "target/site/ not found." >&2
-    echo "Build the docs first: cd .. && ./mvnw package -pl docs" >&2
+    echo "Build the docs first: cd .. && ./mvnw package -Papache-release -pl 
:tika-docs -DskipTests" >&2
     exit 1
 fi
 
@@ -70,7 +72,7 @@ sed_atomic() {
     local script="$1" input="$2" output="$3"
     if [[ ! -f "${input}" ]]; then
         echo "${input} not found." >&2
-        echo "Re-run the docs build: cd .. && ./mvnw package -pl docs" >&2
+        echo "Re-run the docs build: cd .. && ./mvnw package -Papache-release 
-pl :tika-docs -DskipTests" >&2
         exit 1
     fi
     sed "${script}" "${input}" > "${output}.tmp"

Reply via email to