Croway opened a new pull request, #27957:
URL: https://github.com/apache/camel/pull/27957

   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](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to