Skip to content

[backport camel-4.22.x] Bump com.gradle:develocity-maven-extension from 2.5.0 to 2.6.0 - #27957

Merged
Croway merged 1 commit into
apache:camel-4.22.xfrom
Croway:ci-develocity-2.6.0-4.22.x
Oct 16, 2026
Merged

Croway merged 1 commit into
apache:camel-4.22.xfrom
Croway:ci-develocity-2.6.0-4.22.x

Conversation

@Croway

@Croway Croway commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Backport of #27093 (91585cdb1917, straight cherry-pick, no conflicts) to camel-4.22.x: Develocity Maven extension 2.5.0 → 2.6.0.

Why

The GitHub ubuntu-24.04 runner image (20261012.334.1) now ships Maven 3.10.0. Develocity 2.5.0 does not start on it:

[ERROR] Internal error in Develocity Maven extension: DevelocityLifecycleManager afterProjectsRead
ProvisionException: [Guice/NullInjectedIntoNonNullable] ... 2nd parameter pluginDescriptorCache ... is not @Nullable

On camel-4.22.x, any workflow step that calls the image's mvn instead of ./mvnw fails. For example, the camel-launcher-native job of "Camel launcher native exe build" fails at "Verify launcher snapshot dependencies are published" (#27827, failed on all 3 attempts). That step runs VERSION=$(mvn help:evaluate ... -q -DforceStdout), so the error is captured into the variable and the step exits without printing anything.

Verification

mvn help:evaluate -Dexpression=project.version -q -DforceStdout -N, run with an empty local repository:

Tree Maven Result
camel-4.22.x (Develocity 2.5.0) 3.10.0 ❌ error above
this branch (Develocity 2.6.0) 3.10.0 ✅ 4.22.2-SNAPSHOT
this branch ./mvnw (3.9.16) ✅ 4.22.2-SNAPSHOT

Claude Code on behalf of Croway

🤖 Generated with Claude Code

Bumps com.gradle:develocity-maven-extension from 2.5.0 to 2.6.0.

---
updated-dependencies:
- dependency-name: com.gradle:develocity-maven-extension
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 91585cd)
@Croway
Croway requested review from davsclaus and gnodet October 16, 2026 15:48

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Clean backport — single-line version bump, well-documented rationale with verification matrix showing the Develocity 2.5.0 failure on Maven 3.10.0 (ubuntu-24.04 runner) and the fix with 2.6.0. No code logic changes.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

@github-actions

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions

Copy link
Copy Markdown
Contributor

ℹ️ CI did not run targeted module tests.


⚙️ View full build and test results

@Croway
Croway merged commit f2581e4 into apache:camel-4.22.x Oct 16, 2026
4 checks 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