5050
5151 e2e-tests :
5252 runs-on : ubuntu-latest
53- timeout-minutes : 30
53+ # full-reactor install added; 30 was tight for it
54+ timeout-minutes : 45
5455 needs : build
5556 strategy :
5657 matrix :
@@ -64,11 +65,15 @@ jobs:
6465 distribution : ' temurin'
6566 java-version : ${{ matrix.java }}
6667 cache : ' maven'
68+ # Full reactor, not -pl ... -am: the e2e modules need tika-pipes-plugins zips, and a
69+ # zip-type dependency never matches a jar-packaging reactor module, so -am treats every
70+ # plugin zip as external and skips building those modules entirely. install (not verify)
71+ # because the assembly sets attach=false (TIKA-4723) and an install-phase install-file is
72+ # what puts each zip in the local repo. Tests are skipped here; the build job owns them.
73+ - name : Install all modules (produces the plugin zips)
74+ run : mvn clean install -DskipTests -B "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
75+ # -pl must name the leaf modules: tika-e2e-tests is an aggregator pom, and Maven does
76+ # not pull in a selected aggregator's children, so this job built two pom-only modules
77+ # and ran zero tests while reporting green.
6778 - name : Run E2E Tests
68- # -pl must name the leaf modules: tika-e2e-tests is an aggregator pom, and Maven
69- # does not pull in a selected aggregator's children, so this job built two pom-only
70- # modules and ran zero tests while reporting green.
71- # install, not verify: tika-async-cli test-depends on the tika-pipes-file-system
72- # plugin zip, which the assembly builds with attach=false (TIKA-4723) and only
73- # puts in the local repo via an install-phase install-file. verify stops short.
74- run : mvn -pl :tika-e2e-tests-server,:tika-grpc-e2e-test -am clean install -Pe2e -B "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
79+ run : mvn -pl :tika-e2e-tests-server,:tika-grpc-e2e-test clean verify -Pe2e -B "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
0 commit comments