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

   ## Summary
   
   - Replace deprecated `quarkus-junit5` artifact with `quarkus-junit` (renamed 
in [Quarkus 
3.31](https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.31))
   - Add version-conditional logic in FreeMarker templates: use `quarkus-junit` 
for Quarkus >= 3.31, keep `quarkus-junit5` for older versions
   - Update `camel-jbang-mcp/pom.xml` directly (fixed Quarkus 3.36.3, no 
conditional needed)
   
   ## Changes
   
   - `ExportQuarkus.java`: add `UseQuarkusJunit` boolean flag to template model 
using `VersionHelper.isGE(version, "3.31.0")`
   - `quarkus-pom.ftl` / `quarkus-kubernetes-pom.ftl`: conditional artifactId 
based on Quarkus version
   - `camel-jbang-mcp/pom.xml`: rename `quarkus-junit5` → `quarkus-junit`
   - `TemplateHelperTest.java`: add tests for both pre-3.31 and current Quarkus 
versions
   
   ## Test plan
   
   - [x] Existing `testQuarkusPomTemplate` renamed and updated to verify 
`quarkus-junit5` for Quarkus < 3.31
   - [x] New `testQuarkusPomTemplateCurrentVersion` verifies `quarkus-junit` 
for Quarkus >= 3.31
   - [x] Both modules build cleanly
   
   _Claude Code on behalf of Claus Ibsen_
   
   Co-Authored-By: Claude <[email protected]>


-- 
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