Skip to content

ci: pass maven-extra-args to incremental build for JDK 17 enforcer skip#22711

Merged
Croway merged 1 commit intoapache:camel-4.18.xfrom
Croway:ci-fix/enforcer-skip-incremental-build
Apr 21, 2026
Merged

ci: pass maven-extra-args to incremental build for JDK 17 enforcer skip#22711
Croway merged 1 commit intoapache:camel-4.18.xfrom
Croway:ci-fix/enforcer-skip-incremental-build

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 21, 2026

Summary

  • Backport of b105908 from main: the incremental build action (used for mvn test) was missing MAVEN_EXTRA_ARGS support, so the enforcer plugin failed on JDK 17 builds with JDK 21+ is required.
  • Added maven-extra-args input to the incremental build action and propagated it to all Maven invocations in the shell script.
  • Passes -Denforcer.phase=none from the JDK 17 matrix entry through to the test step.

Test plan

  • Verify JDK 17 CI build no longer fails with enforcer error
  • Verify JDK 21 CI build is unaffected (no extra args passed)

@Croway Croway merged commit 3d16c2a into apache:camel-4.18.x Apr 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants