You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* TIKA-4703: Fix tika-grpc Docker image missing runtime dependencies
Use 'mvn dependency:copy-dependencies' to populate the lib/ directory of
runtime jars that the MANIFEST.MF Class-Path entries reference. Without
this the image only contained the thin jar and Java threw:
NoClassDefFoundError: io/grpc/BindableService
The jar's MANIFEST.MF (set by maven-jar-plugin classpathPrefix=lib/) expects
dependencies at lib/ relative to the jar, i.e. /tika/libs/lib/ in the image.
Running dependency:copy-dependencies into that path after the main build
ensures all runtime deps are present.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* TIKA-4703: Rename lib dir to tika-grpc, consolidate dep step, add grpc smoke test
- Rename classpathPrefix from lib/ to tika-grpc/ in maven-jar-plugin so
MANIFEST.MF Class-Path matches the actual directory layout in the image
- Update docker-snapshot.yml and docker-release.yml: rename libs/lib -> libs/tika-grpc,
consolidate separate 'Collect' + 'Prepare' steps into a single Prepare step
- Add smoke test to docker-snapshot.yml: builds single-arch image with --load,
starts container, polls for 'Server started' log line, fails CI if not seen within 30s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* TIKA-4703: Add smoke tests for tika-server minimal and full Docker images
- Build single-arch (amd64) image with --load before each multi-arch push
- Poll for 'Started Apache Tika server' log line for up to 40 seconds
- Fail CI job if server does not start; dump logs on failure
- tika-server has no missing-deps issue (bin.tgz already bundles lib/)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* TIKA-4703: Fix assembly.xml dep dir and use trap-based cleanup in smoke tests
- Update assembly.xml outputDirectory from lib/ to tika-grpc/ to match
classpathPrefix in pom.xml; without this the binary zip would have deps
under lib/ while MANIFEST.MF Class-Path references tika-grpc/*.jar
- Replace bare docker stop/exit in all three smoke test steps with a trap
cleanup function using docker rm -f; this prevents bash -e from failing
on a stop of an already-exited container and ensures logs are always
collected on failure
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments