Skip to content

Migrate source-release ITs from maven-verifier to maven-executor - #131

Merged
slachiewicz merged 2 commits into
masterfrom
agent/maven-executor-migration
Sep 21, 2026
Merged

slachiewicz merged 2 commits into
masterfrom
agent/maven-executor-migration

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Replaces the deprecated org.apache.maven.shared:maven-verifier dependency in the source-release module with org.apache.maven.executor:maven-executor:1.0.0, adding a small shared Verifier test helper (org.apache.its.util.Verifier) that wraps ExecutorHelper/ExecutorRequest and reproduces the subset of the old API the 11 ITs use (run a build with a fixed goal list, assert an error-free log).

Verified: mvn -B verify -Prun-its -pl source-release -am (JDK 17) → 11 tests, 0 failures (same count as master).

Maven runs forked, as the previous Verifier effectively did on Maven 4: embedding Maven 4.0.0-rc-6 inside the test JVM hangs (apache/maven-executor#47).

Embedding Maven 4.0.0-rc-6 in the test JVM hangs (apache/maven-executor#47); the previous Verifier forked on Maven 4 as well.
@slachiewicz
slachiewicz merged commit 1b52805 into master Sep 21, 2026
21 checks passed
@slachiewicz
slachiewicz deleted the agent/maven-executor-migration branch September 21, 2026 17:10
@github-actions github-actions Bot added this to the 1.9 milestone Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant